Could not find OpenCV Library - 2.4.8.apk!
Anyone know the error :Could not find OpenCV Library - 2.4.8.apk! Please help me!
The console:
[2014-05-19 21:53:36 - OpenCV Library - 2.4.8] Could not find OpenCV Library - 2.4.8.apk!
In My project I write a piece of code like this :Mat imageroiB(block,block,CV_8UC1),it will appear a red break line under the word "Mat". I could not find the "CV_8UC1" in the options when I use the "Alt+/".
CvType.CV_8UC1 (but unrelated to the apk not found)
You are missing an underscore between CV and 8UC1!
I'm sorry,it is my mistake.I have modified it.It show error like that above.
You are doing weird things. This is C++ interface so empty constructors are a no go here. Try switching to the following code:
Also do show us your definitions of stuff like Row and Cols! More info needed!
Ok! Thank you. I learn the Java by myself,so I don't know many standard.
If I write
it will error the local variable minR may not have been initialized. Another how to highlight the code in this forum.
So this code doesn't work? @berak, your experience with java is better, see a problem?
Yes! What do you mean with @berak?
@berak is another user of this forum who has more knowledge in this topic then me!, it was not a command for your ;)
And please do not re-edit editted remarks, I only want to make your code layout more clear! :)
Thank you very much! Could you teach me how to make the code highlight in this forum.
Well normally in a post or answer you use the format button. As for comments, you need to apply these rules
That will give you the result you want. As for numeration, start each line with a number and a dot after the 5 spaces.
Thank you,I see.
maizi, you are still trying to compile it, right ? not a runtime error. ?
i only got 2.4.5 here, but the opencv library is a *.jar not an .apk
you had to add the opencv library to your project before, check if you did the right thing there
If I use
It can't compile. But I can use
it can compile ,but the dark_channel is null! I think I have add the library(OpenCV library 2.4.8) into my project,because the other code is right for example I can put out the rows of Mat ,making a color picture gray.