• TI Thinks Resolved

DLP3000: problem with projector calibration

Part Number: DLP3000

Hi,

Need help with projector calibration part/ When I run DLP_LightCrafter_3D_Scan_Application.exe , executed options 1,3 and 4 successfully. When I run option 5 i.e calibrate system, I don't see any checkerboard been projected by projector. And images which get created i.e. from lcr3000_sequence_images_10.bmp to lcr3000_sequence_images_21.bmp are complete black images. PFA screenshots.

Note: I am not using point grey camera. I am using OpenCV compatible webcam. I can calibrate camera and also I do get camera calibration parameters. thanks in advance

  • In reply to Sanjeev:

    Hi Sanjeev,

    That isn't a problem. I have tried whatever you suggested. But doesn't make a difference in hit rate. 

    I have another doubt - shall I ask in same thread here or make another thread?

    Doubt: The OpenCV camera I am using is compatible with the application and captures required images and gives point cloud as output. But my problem here is, the pics captured are of resolution 640x480, whereas my camera's resolution is 2592x1944 . I have checked all config files available, I couldn't find anywhere the option to modify camera's resolution. Can you guide me on this i.e changing camera's resolution from 640x480 to 2592x1944 or anything else I desire. I even tried to look at the files in source code available. but I got lost. Can you help me on this?

    Thank You

  • In reply to Shravani Erukala:

    Shravani,

    The application through OpenCV setup for default resolution setting which is 640x480. Could you try with another webcamera with smaller HD720p/VGA resolution?

    If you can rebuild the application with debug enabled it can give more information about how the camera is configured and what are its settings as done by OpenCV

    I would still think in a captured frame if there unwanted content that looks like chess board as i marked above could also cause the issue - basically OpenCV findchessboardcorner function is not passing.

    One more thing - write your standalone opencv application and then directly call opencv capture and save image functions see how they are looking. If they are looking dark then we have to fix it.

    Regards,

    Sanjeev

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

  • In reply to Sanjeev:

    Hi Sanjeev,

    Thanks for your help regarding resolution, I could set my camera resolution. But I am still facing problems with projector calibration. 

    Here is the link to video of projector calibration setup in my case. Please suggest accordingly. Thank You

    drive.google.com/.../view

  • In reply to Shravani Erukala:

    Hi Shravani,
    Thanks for the video. That explains the things better.
    I am suspecting the projector exposure time is not correct for the camera to capture the displayed image, suspecting this could be causing the issue, in your downloaded application, i would suggest to start changing the projector exposure time configuration to do this -
    goto "config" directory edit config_projector.txt file.

    Looks like below -

    DLP_PLATFORM_PARAMETERS_SEQUENCE_EXPOSURE_US = 25000
    DLP_PLATFORM_PARAMETERS_SEQUENCE_PERIOD_US = 25000
    LCR3000_PARAMETERS_LED_CURRENT_RED = 200
    LCR3000_PARAMETERS_LED_CURRENT_GREEN = 200
    LCR3000_PARAMETERS_LED_CURRENT_BLUE = 200
    LCR3000_PARAMETERS_INPUT_TRIGGER_TYPE = 2
    LCR3000_PARAMETERS_INPUT_TRIGGER_DELAY = 0
    LCR3000_PARAMETERS_OUTPUT_TRIGGER_ENABLE = 1
    LCR3000_PARAMETERS_OUTPUT_TRIGGER_POLARITY = POSITIVE
    LCR3000_PARAMETERS_OUTPUT_TRIGGER_PULSE_WIDTH_US = 250
    LCR3000_PARAMETERS_OUTPUT_TRIGGER_DELAY_US = 0
    LCR3000_PARAMETERS_PATTERN_LED_SELECT = GREEN


    Adjust these parameters -
    DLP_PLATFORM_PARAMETERS_SEQUENCE_EXPOSURE_US = 25000
    DLP_PLATFORM_PARAMETERS_SEQUENCE_PERIOD_US = 25000

    These values are in us, so set to something like 100ms i.e., set value to 100000 or 50000 (50ms)

    See if it make difference.

    Similarly, if the captured image is too saturated then you can increase or reduce the current. Scale 0-255

    LCR3000_PARAMETERS_LED_CURRENT_RED = 200
    LCR3000_PARAMETERS_LED_CURRENT_GREEN = 200
    LCR3000_PARAMETERS_LED_CURRENT_BLUE = 200

    Note whenever you edit the config parameters, recommend to restart the calibration from beginning.

    Regards,
    Sanjeev

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