Announcement

Collapse
No announcement yet.

Output preview RAW and full-size JPEG at the same time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Output preview RAW and full-size JPEG at the same time

    Hello,

    we are using an uCAM III and for our application, we need to have a RAW preview image (80x60 grayscale) and also a full resolution color JPEG. The preview image would be used for basic analysis whether we should save the full resolution image or not, as we don't have the memory for all the images.

    Therefore, we need the camera to take an image and output it in both RAW and JPEG, or to take two pictures in series fast enough. Are there any recommendations on how to do that? If we would take two images in series, is it faster to start with the RAW? (we need the time between these two images to be the lowest possible)
    Resseting the whole camera before taking the full resolution image is sadly too slow.

    We don't need the camera to respond to this analysis, we can just receive all the data and discard it afterwards if the image is detected as unusable.

    Thank you and have a nice day,

    John

  • #2
    Hi John,

    Welcome to the forum!

    we need the camera to take an image and output it in both RAW and JPEG, or to take two pictures in series fast enough. Are there any recommendations on how to do that?
    You need to send the 'Initial' command for both Image Format - RAW and JPEG.
    You may do it this way.

    1.) Sync
    2.) Initial - RAW mode, and 80x60 Resolution
    3.) GetPicture
    4.) Initial - JPEG mode, and 640x480 Resolution
    5.) Set Package Size
    6.) GetPicture

    For more information about the commands you can use on the uCAM, you may refer to the uCAM-III datasheet.

    Resseting the whole camera before taking the full resolution image is sadly too slow.
    Can I ask what do you mean by resetting the whole camera? The picture you captured is sent to the host and the speed of the transfer is dependent on the baud rate.

    I hope this helps.

    Best Regards,
    Kevin

    Comment

    Working...
    X