Note that there are some explanatory texts on larger screens.

plurals
  1. USMarco Bonifazi
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COThis fixes the issue, you were totally right. Summarizing: it seems that there's an issue on XCode 5-DP3 and the compilation of OpenCV with the related tools. To fix it you must launch Aurelius's commands and then rebuild OpenCV, the static library and the iPhone project from scratch with the tools of XCode 4. I'd like to know why I was getting that issue, but I'm quite happy with the fix, of course.
      singulars
    2. COI'm using XCode 4.6.3 but I've tried the XCode 5-DP3, no success in both cases, although with the latter I have the crash at runtime. I'm building the OpenCV library using the python script provided in the source code as it's written in the readme.txt under the platforms/ios directory.
      singulars
    3. COOpenCV handles an image as a cv::Mat and it can have different depths as you can see here: http://docs.opencv.org/modules/core/doc/basic_structures.html (search for "::depth") It's true that BGR 888 format is commonly used, therefore I'd suggest you to convert the MIL image to that format. I don't know now if MIL provides a stream of pixel bytes, but you may want to have a look at this question http://stackoverflow.com/questions/12114605/convert-a-byte-arry-to-opencv-image-in-c In case you need to swap some channels, have a look at cv::mixChannels function as well.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload