weixin_39590635
weixin_39590635
2020-12-29 09:54

Arducam Mini 5MP frame buffer size limits images to 0.8MP without increasing compression

Hello! I have an Arducam-Mini-5MP Rev.B with Arduino UNO R3. I have uploaded the example ArduCAM_Mini_OV5642_Video_Streaming to the arduino and am running ArduCAM_host_v1.0.exe on my PC with huge successes.

I can reliably take photos at low resolution (1280x720) in all tested settings. However, when I go to max resolution (2592x1944), I receive situational errors "over size" and photos are corrupt with exactly 524288 in size.

The error consistently occurs when I point the camera outside my window, and consistently does not occur when taking photos inside my house. At 1280x720, a typical photo inside my house is 80kb and a typical photo out the window is 190kb (more than double in size). - so I suppose some aspect of this photo is impacting the resulting image size (jpg compression?).

Unforuneately, this error reproduces 100% of the time for the actual photos I want to take; but works perfectly when I'm testing it indoors...

Am I just running up against frame buffer constraints of the hardware? Is 5MP resolution truly supported by ArduCam? Any recommendations to fix or avoid this?

该提问来源于开源项目:ArduCAM/Arduino

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

10条回答

  • weixin_39590635 weixin_39590635 4月前

    Testing this further, this "over size" limit is being hit fairly consistently for image sizes 2592x1944, 2048x1563, and 1920x1080. The best image quality I seem to be able to get reliably outdoors is 1280x720. Any assistance is much appreciated since I seem to be limited to <1MP current. Is there another shield with a larger frame buffer?

    点赞 评论 复制链接分享
  • weixin_39986543 weixin_39986543 4月前

    , There is limited frame buffer total 512KB on ArduCAM-Mini-5MP(OV5642) camera, you have to ajust the compress register to reduce the total image size to fit for the frame buffer when you use higher resolution. We will release another ArduCAM-Mini-5MP-Plus which has 8MByte frame buffer and can accept higher quanlity full size image and other advance features to cover this issue.

    点赞 评论 复制链接分享
  • weixin_39590635 weixin_39590635 4月前

    Do you know when that product is scheduled to release? What will its price point be roughly? In the mean time are there any hardware options with larger frame buffers? Do you have recommended compression settings to reliably take 5MP pictures on Arducam Mini 5MP? I can't readily find how to adjust the compression - is this done in an example or do you have some guidance on this?

    点赞 评论 复制链接分享
  • weixin_39986543 weixin_39986543 4月前

    It is ready but not release for public at the time being, you can order directly from us. See the document below: www.arducam.com/downloads/shields/ArduCAM_Mini_5MP_Plus_OV5640_Camera_Module_DS.pdf www.arducam.com/downloads/shields/ArduCAM_Mini_5MP_Plus_Camera_Shield_Hardware_Application_Note.pdf

    点赞 评论 复制链接分享
  • weixin_39590635 weixin_39590635 4月前

    What is the price? Can you ship to Canada? I am interested to order. What are my next steps?

    Do you have documentation on adjusting compression settings with the OV5642 that I have already? I'd like to continue prototyping while I wait for a camera. I think I can find the appropriate registers at http://www.dragonwake.com/download/camera/ov5642/OV5642-DS.pdf but if you had some sample code for this then I'd be interested.

    点赞 评论 复制链接分享
  • weixin_39986543 weixin_39986543 4月前

    , Please contact sales.com for new camera purchase. If you want to adjust the compression quantization scale, please check the register 0x4407, the larger value the more compression is.

    点赞 评论 复制链接分享
  • weixin_39986543 weixin_39986543 4月前

    , It is not a bug, you have to write the compression register each time you change the resolution. If you have problem with the JPEG size, you can write 0x0C or larger values to this register.

    点赞 评论 复制链接分享
  • weixin_39590635 weixin_39590635 4月前

    Ya sorry, I realized what was going on and deleted that comment. I do appreciate your guidance though thanks!

    点赞 评论 复制链接分享
  • weixin_39545329 weixin_39545329 4月前

    Hello, i hope that everybody are fine. I have some doubts with OV5642 module camera. I'm using a module camera of OV5642 to obtain some images and then send it through ESP32 to smartphone. I'm using a ARM microcontroller to do this. Now, i don't know how to configure the register to change the image's resolutions. For begin i want to take a picture of QVGA(320x240) to store in the SRAM of microcontroller that is 512KB and later send to ESP32. Could you help me about what registers i need change to modify the resolutions? Thank you so much.

    点赞 评论 复制链接分享
  • weixin_39905500 weixin_39905500 4月前

    You can refer to https://github.com/ArduCAM/Arduino/blob/master/ArduCAM/ov5642_regs.h There are multiple resolutions configure in the file.

    点赞 评论 复制链接分享

相关推荐