ArduCAM / ArduCAM_USB_Camera_Shield

This is the repository for ArduCAM USB Camera Shield
126 stars 69 forks source link

Chnage the size of image MT9J001 #99

Open SagarSagar3636 opened 5 years ago

SagarSagar3636 commented 5 years ago

I have bought a MT9J001 camera module. I am able to capture images on Linux of resolution 3664*2748 with fps is 2. Now I want to reduce the size of the image to increase the fps. I tried to change MT9J001_10MP.json file, Size = [640, 480], but I am getting the following error, USB_CAMERA_DATA_LEN_ERROR RECEIVE_LENGTH:1680064 Error capture image, rtn_val = 65316 How I can solve this problem, Thanks in advance.

ArduCAM commented 5 years ago

Please try the windows config files first from: http://www.arducam.com/docs/camera-breakout-board/10mp-mt9j001-mt9j003/software-guide/ Then you can modify the config file for python on Linux yourself. Note that the config register settings should match the resolution, you can not simple modify the resolution in the camera parameter section.