Ask Your Question

spacegoing's profile - activity

2016-09-25 03:56:14 -0600 received badge  Editor (source)
2016-09-25 03:51:05 -0600 commented question Need suggestion for running modified source code

@berak lol. Would you please see the updated question? I really need your help:D Thanks!

2016-09-24 12:32:57 -0600 asked a question Need suggestion for running modified source code

I am new to opencv and cmake. I really need some instructions on building modified source code. I cloned master branch from github.

I modified opencv/modules/imgproc/src/grabcut.cpp and wants to write another class lets say class run_grabcut in opencv/test.cpp using the modified version. Would you please give me 2 examples:

  1. what files should I include in the source code opencv/test.cpp?

  2. Which CMakeList should I modify to build a test.cpp target so that I can only run this file? Would you please give me an example of this CMakeList?

Thanks so much for your help!