Main Site Documentation

USB Camera Module - Horizontal Flip (Mirroring)


#1

Dear All,
I am experimenting with USB camera module with FEZ Raptor for video streaming. I have a situation where the camera has to be used as front facing one.
I am wondering how to do Horizontal flip (mirroring) of the images from video stream.

Thanks
Venkat


#2

@ vthumu -

USB camera does not support flip/rotate. But the idea is you always draw the data into a bitmap then flush to the screen.

And bitmap has a function RotateImage(), or you can use RLP and flip the data before draw to the bitmap then flush to the screen.

if USB Camera QVGA 320x240, the speed is not problem if you are using FEZ Raptor.