Topic: OpenCV on Chumby - cannot open image files
Hi,
With great difficulty I managed to cross-compile OpenCV 2.2.0 for my Chumby. I couldn't get Python support to work and couldn't completely disable it for the newest release, so I had to go with 2.2.0.
Anyway, after tweaking the source code at a couple of places and applying other tricks, I managed to compile and install OpenCV 2.2.0. My joy was preliminary, because I cannot seem to get it to open jpg or png image files.
I have a simple test program for which I pass the file to open as a command line parameter and try to open it with cvLoadImage():
img=cvLoadImage(argv[1]);
if(!img){
printf("Could not load image file: %s\n",argv[1]);
return -1;
}
No matter what I do, img is always null. I know that I'm using the correct path etc. Same thing with jpg and png image files. I've tried with multiple files.
Anyone have experience with OpenCV on a Chumby? Ever encountered something similar? Or would someone happen to have pre-built binaries that work?