Ask Your Question

rabie's profile - activity

2016-11-16 10:55:06 -0600 commented question Error while building OpenCV with Contrib-Modules

error reduced but still occur after update the contrib-module with another one

2016-11-16 10:01:46 -0600 commented question Error while building OpenCV with Contrib-Modules

[ 96%] Generating opencv-310.jar [javac] /home/rabie/Downloads/opencv-master/buildb/src/org/opencv/bgsegm/BackgroundSubtractorGMG.java:11: error: cannot find symbol [javac] public class BackgroundSubtractorGMG extends BackgroundSubtractor { [javac] ^ [javac] symbol: class BackgroundSubtractor the same result again

2016-11-16 09:12:51 -0600 commented question Error while building OpenCV with Contrib-Modules

i will give it another try and hope it work thanks @berak for your help

2016-11-16 08:15:24 -0600 commented question Error while building OpenCV with Contrib-Modules

i need to use face , dataset and text module in my GP

2016-11-16 08:07:46 -0600 commented question Error while building OpenCV with Contrib-Modules

no i didn't and i try other tutorial and all of them make an error while generating the .jar file and i don't know the reason i will try it one more time

2016-11-16 07:27:25 -0600 received badge  Editor (source)
2016-11-16 07:22:34 -0600 commented question Error while building OpenCV with Contrib-Modules

ops sorry for that. first time to share a problem to this community i will try to modify and yes i try every known tutorial and every time with the same problem

2016-11-15 19:43:41 -0600 asked a question Error while building OpenCV with Contrib-Modules

'm trying to build OpenCV with Cotrib-modules in elementry os after success installation of OpenCV i try to build it with the contrib module but always i get an error while the generation of the .jar file I'm getting the following error:

update after delete the contrib and clone it again the error reduced to

[ 95%] Built target opencv_interactive-calibration

[javac] /home/rabie/Downloads/opencv-master/buildb/src/org/opencv/text/Text.java:116: error: nativeObj has protected access in Algorithm

[javac] detectRegions_0(image.nativeObj, er_filter1.nativeObj, er_filter2.nativeObj, regions_mat.nativeObj);
[javac] ^

[javac] /home/rabie/Downloads/opencv-master/buildb/src/org/opencv/text/Text.java:116: error: nativeObj has protected access in Algorithm

[javac] detectRegions_0(image.nativeObj, er_filter1.nativeObj, er_filter2.nativeObj, regions_mat.nativeObj);
[javac] ^

[javac] 2 errors

Target 'jar' failed with message 'Compile failed; see the compiler error output for details.'.

BUILD FAILED

/home/rabie/Downloads/opencv-master/buildb/build.xml:9: Compile failed; see the compiler error output for details.

Total time: 2 seconds

make[2]: *** [bin/opencv-310.jar] Error 1

make[1]: *** [modules/java/CMakeFiles/opencv_java.dir/all] Error 2

make: *** [all] Error 2

Can anyone please guide me as to how to fix this error?

Thanks in advance!!