2018-12-12 21:51:16 -0600 | received badge | ● Famous Question (source) |
2016-04-24 02:47:22 -0600 | received badge | ● Notable Question (source) |
2015-08-13 11:00:20 -0600 | received badge | ● Popular Question (source) |
2014-02-25 02:21:55 -0600 | commented question | Mat from byte-array (or stream) - which type/format? Nice, works fine ;) If you post your code as an answer, I will check it so that you get the reputation. |
2014-02-25 02:09:29 -0600 | commented question | Mat from byte-array (or stream) - which type/format? You are right. But can you provide a sample code for that? |
2014-02-25 01:57:56 -0600 | asked a question | Mat from byte-array (or stream) - which type/format? In my Android app I'm streaming images (all of same size) over the network to the Android device. Usually the stream is then decoded into a Bitmap like this: But this allocated and de-allocates memory all the time. Therefore I would prefer creating an OpenCV Mat and put the received buffer (byte[]) into that. But I just get a white-noise image because my image format seems wrong. Maybe you can help me? On the senders side (.NET C#) it's a PNG with 24bppRgb. On the receivers side (Android) I'm currently initializing the Mat like this: |
2013-09-24 03:50:37 -0600 | answered a question | Odroid-U2 + OpenCV = destroyed image It's a problem of Android and the resolution of the camera which is supported by the HAL. See this article for more details. |
2013-09-20 10:39:23 -0600 | commented question | Odroid-U2 + OpenCV = destroyed image First of all. It's not my source code, but the one from OpenCV. Second, the OpenCV library that I downloaded and which I use in Eclipse is 2.4.5 but you are right, the Tutorial1Activity.java had OPENCV_VERSION_2_4_3 which I then changed to 2_4_5. But no success :( Following this article I tried to play around with the preview image format but also no success: http://forum.odroid.com/viewtopic.php?f=14&t=1471 |
2013-09-20 08:16:12 -0600 | commented question | Odroid-U2 + OpenCV = destroyed image I'm using OpenCV for Android 2.4.5. The camera is a default USB camera which is supported by Ondroid via the UVC feature. In the Android Camera app the cam works fine. The API level is 17 and the Tutorial 1 is not using NDK and has therefore no Application.mk. But I checked three other examples which are using NDK and they are all on APP_PLATFORM := android-9 |
2013-09-20 02:50:17 -0600 | commented answer | Camera Not working in the OpenCV Android examples there is no SampleCvViewBase nor any other class you mentioned. |
2013-09-20 02:42:38 -0600 | commented question | Odroid-U2 + OpenCV = destroyed image Somehow the editor does not support source code formatting. But the code is from OpenCV Tutorial 1 - Camera Preview. As far as I know it seems to be a bug of Android JellyBean :( see this post: http://forum.odroid.com/viewtopic.php?f=14&t=1471 |
2013-09-19 07:47:05 -0600 | received badge | ● Supporter (source) |
2013-09-19 06:24:03 -0600 | received badge | ● Editor (source) |
2013-09-19 06:23:43 -0600 | asked a question | Odroid-U2 + OpenCV = destroyed image I'm using an ODROID-U2 that I upgraded to Android version 4.2.1.8. Then I installed Google Play store. Afterwards I used Eclipse on my Windows PC and the Odroid ADB driver to install the OpenCV Android examples. But somehow it shows a completely detroyed image (green lines). But if I used the camera app from Android, the camera image is fine. See the attached image ... Has anyone experience the same issue? Matthias The code from the Tutorial1Activity.java from OpenCV Tutorial 1 - Camera Preview. |