Skip to content

I am using Tinker Board with PiCamera v2.1. How do I set the Color format for the captured image and also how to set exposure params? #25

Open

Description

@aman-captech

I am able to capture NV12 format pictures using Tinker Board with PiCam. I am using gstreamer pipeline with v4l2src plugin to capture images as follows:
"gst-launch-1.0 v4l2src ! video/x-raw,format=NV12,width=1640,height=1232, framerate=20/1 ! jpegenc ! multifilesink location=./images/image_%02d.jpg"
I have tried using all the formats that are specified using "gst-inspect-1.0 v4l2src" but none of those formats give me an RGB image as output. Please help me out on how to capture an RGB image! Also I am unable to manually specify the exposure time for my Picam while capturing images.Any suggestions on how to do this will also be very helpful??

Activity

  1. jamess-huang commented on Oct 4, 2018

    @jamess-huang
    Contributor

    Hi, aman-captech
    The RGB image you mean is a image just like the camera preview content ? If so, may I know what branch you are using ? develop or release ?

    For manual exposure setting, we can not support this function, we can only support auto exposure on develop branch.
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions