2017-01-26 05:51:56 -0600 | asked a question | OpenCV Matrix get wrong values JNI Java I'm trying to pass OpenCV Matrix to a cpp file but the data I read from the Matix in the cpp is not right. I don't know what I'm missing here, Maybe something with the pointer. This is part of my cpp file: This is the Java call: |
2016-09-14 02:28:06 -0600 | asked a question | gl_FragColor get different color depends on andorid device In my app I'm doing some image pixels manipulations. My code based on THIS example. The only change that I've made is to change the The problem: I've recorded a video from Galaxy s7 device, after recording I've taken the recorded video and I was reading the first frame from 2 different devices(Galaxy S7 and Galaxy s3), I found that the pixel values are absolutely different between those devices. Does someone know why does it happen? and what can I do in order to solve this issue, since my algorithm fails because of this differences? Update: This is example of the diferences I've got. Gaaxy S3: Part of the matrix 213, 214, 212, 214, 216, 214, 213, 212, 212, 212, 213, 214, 214, 214, 213, 213, 214, 214, 214, 214, 212, 213, 212, 213, 212, 214, 214, 212, 212, 210, 211, 210, 211, 210, 211, 211, 214, 211, 214, 213, 213, 214, 214, 216, 216, 216, 215, 215, 216, 212, 213, 213, 214, 213, 213, 212, 211, 209, 209, 207, 208, 208, 210, 211, 209, 207, 209, 210, 217, 219, 216, 209, 209, 210, 210, 210, 211, 209, 207, 205, 205, 206, 210, 210, 220, 211, 202, 210, 211, 206, 206, 209, 210, 211, 213, 219, 222, 216, 217, 217 count of non zeroes pixels: 1632816 Sum of all the pixels: 3.1834445E8 Galaxy S7: same part of the Matrix as Galaxy 3 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164, 164 count of non-zeros pixels: 1063680 Sum of all the pixels: 1.6593408E8 Update2: I found that the image received is absolutely ruined, but the video recorded well. This is the good image from Galaxy S3: And this is the image I've got from Galaxy S7 (Same frame#) I have no Idea at all what is going here, but I know that the last image is the same for ... (more) |
2016-04-18 01:55:14 -0600 | asked a question | Use OpenCV without any external installation Android Hi, I'm using OpenCV on Android devices. I have 2 kinds of problem using OpenCV libraries:
I'm using really few OpenCV functions. I would like to know if there is a way to use OpenCV Manager/OpenCV specific libraries without any interrupt to external installation? |
2016-01-17 05:22:27 -0600 | commented question | From where OpenCV samples load libopencv_java.so ? Did you try to use it? |
2016-01-03 05:20:44 -0600 | asked a question | Imgproc.BORDER_REPLICATE not exist in OpenCV Manager 3.0.1 Hi, I have tried to upgrade the OpenCV manager to version 3.0.1 but I've got this error:
Can someone tell me how can I fix this issue? |
2016-01-03 04:59:53 -0600 | commented question | From where OpenCV samples load libopencv_java.so ? Sorry, but I can't do what they did, cause I can't work with OpenCV 3.0, the reason is that there is no implementation to the constant 'Imgproc.BORDER_REPLICATE' and as I see I don't need to work with this version because the sample projects works fine with version 2.4. am I right? |
2015-12-21 03:17:43 -0600 | commented question | From where OpenCV samples load libopencv_java.so ? How can I do that? |
2015-12-20 01:55:05 -0600 | commented question | From where OpenCV samples load libopencv_java.so ? why OpenCV application that came with sdk 2.4.9 worked and mine not? it trying to load the same library |
2015-12-19 03:38:47 -0600 | commented question | From where OpenCV samples load libopencv_java.so ? So, what should I do? |
2015-12-15 05:01:03 -0600 | asked a question | From where OpenCV samples load libopencv_java.so ? Hi, I would like to know from where or how did OpenCV load libopencv_java.so file to the device? The sample project(Face Detection) of OpenCV work fine, but If I try to load OPENCV_VERSION_2_4_3, it's falied to load the libopencv_java file, and the following error was shown: Why is my libopencv_java is different if I use the same sdk? |
2015-12-15 03:16:48 -0600 | commented question | libopencv_java.so - 64bit Android Is something work here? |
2015-12-10 07:26:34 -0600 | commented question | libopencv_java.so is 32-bit instead of 64-bit in android eclipse issue I changed it, but as I said it doesn't work and now also the Opencv samples doesn't work. |
2015-12-10 06:24:25 -0600 | commented question | libopencv_java.so is 32-bit instead of 64-bit in android eclipse issue Ok, I tried to use SDK 3.0.0 but it's not the problem, It still the same problem |
2015-12-10 04:02:18 -0600 | commented question | libopencv_java.so is 32-bit instead of 64-bit in android eclipse issue I'm using SDK version 2.4.9, I also tried to work with 3.0 but in that SDK There is a missing variable called "BORDER_REPLICATE", So I didn't trying to run it. One more thing that is wired, Is that the sample application of the OpenCV works fine with the 2.4.9 SDK |
2015-12-10 01:24:02 -0600 | commented question | libopencv_java.so is 32-bit instead of 64-bit in android eclipse issue Can someone help here please. |
2015-12-10 01:21:11 -0600 | received badge | ● Enthusiast |
2015-12-09 01:19:01 -0600 | asked a question | libopencv_java.so is 32-bit instead of 64-bit in android eclipse issue Hi, This is the error that I've got after I trying to load the library in *My application work in android devices that run version bellow lollipop. *The OCV Face Detection run fine so I know that this is something in my app. I already look over websites but nothing found to work. Do anyone face with this error? |
2015-12-06 02:29:43 -0600 | asked a question | initDebug can't load library in android 5.0 I think that my problem is a basic one. Till now I work on devices that runs android version less than Lollipop and everything works fine. Now after I tried to work with Lollipop, the same code doesn't work. After a search on web I found some solutions but nothing works for me:
I just have to say that I tried also to run the samples from Opencv folder and they're work. Another thing that can maybe cause the problem is that I called to the static method not from Activity extended class. This is a part of my code: |
2015-12-03 06:15:32 -0600 | received badge | ● Editor (source) |
2015-12-03 04:00:45 -0600 | asked a question | Cannot load library /libopencv_java.so on android 5.0 Hi, I have android application that read a video frame by frame and do some manipulation on the input frames. My app work fine on any android version less Lollipop. At Lollipop version my app was crashed and after debug I found that the OpenCV is the issue and I get this in logcat: this is a part of mt code: I tried to find solution in the web but nothing helped me. It is something known? |