• TI Thinks Resolved

TIDA-00254:

Prodigy 85 points

Replies: 6

Views: 90

Part Number: TIDA-00254

Hello, everyone,

I have successfully compiled the SDK by commenting out the PG Flycam drivers in the CMakeLists.txt file. In the next step I set the parameters of my camera to fixed values. In my case on 2056 x 1542 pixels of the IDS camera. These parameters are now correctly set in the program camera_view_opencv.exe, but the resolution of the image does not match yet. The 640 x 480 pixels in the image are still displayed in the live image. Which parameters still have to be overwritten? I can't find the root source of the 640 x 480 display parameters. 

  • David,

    Welcome to the E2E forums, and thanks for your interest in our DLP technology.

    What is the model number/information of the camera you are using?

    Regards,

    Philippe Dollo

  • In reply to Philippe Dollo:

    Hello Philippe,

    currently i'm using IDS UI-3270cP-M-GL Rev.2.

    Regards,

    David

  • In reply to David Jaskolka:

    Hi David,

    Kindly wait for a few more days, we are looking into your query and will get back soon! Thank you for your patience.

    Regards

    Hirak.

  • In reply to Hirak Biswas:

    Hi,

    The problem lies in the OpenCV side that certain cameras it defaults 640x480 resolution when it fails to apply the user requested resolution. You can try with the camera model maker if they have openCV example implementation for capturing native resolution. Often it will be done by modifying the OpenCV source code and rebuilding the libraries. I came across this stack over flow discussion https://stackoverflow.com/questions/16390810/opencv-cant-set-resolution-of-video-capture 

    I suggest first checking with camera manufacturer if they have OpenCV support for the model and example code, you can take it from there.

    Hope this helps.

    Regards,
    Sanjeev

    If a post answers your question, please click on "Verify Answer" button

  • In reply to Sanjeev:

    Hello, Sajeev,

    today I rebuilt the OpenCV version and changed the default to my resolution as described. Unfortunately it still shows the low resolution. And when using the latest OpenCV version the compiler doesn't work properly. Do you have another option or solution for me?

    Greetings
    David

  • In reply to David Jaskolka:

    Hi David,

    Okay. Have you spoken to camera manufacturer about the OpenCV issue? In the past i have came across situations the camera manufacturer made changes to the OpenCV source code to get it working. I recommend you try this option.

    Regards,

    Sanjeev

    If a post answers your question, please click on "Verify Answer" button