I'm working in a Project where I use 2 JPEG cameras with a resolution of 640x480. I need to implement a motion detection algorithm, so I'm looking for the fastest way to convert a JPEG image in a YUV or RGB format.
Last week I heard about OpenMax. I built the examples in the folder /opt/vc/src/hello_pi, and I tested the example "hello_jpeg". I have no problems with lower resolution (320x240, JPEG-RGB conversion time: 10ms), but when I tested it with a 640x480 image, the time conversion is around 2 seconds.
Has somebody tried before this algorithm with high resolution images? I need to use OpenMax because software conversion needs a lot of time.
Thanks for your help.