This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello
I am using LCDK6748 and I want to execute the facedetect example. This example is in the C6SDK. I have just received a Leopard Imaging camera. The camera is connected to Leopard Imaging connector 36 pin.
The camera is LI-CAM-OV5653-P33.
Do I have to do many changes in code?? I think I have to change the pixel number but I do not know If I have ti change more options.
Can somebody tell me any tips??
Thank you veru much
Kind Regrads
Hi,
Thanks for your post
C6748 LCDK directly interfaces Leopard Imaging Camera Sensor Input (36-pin ZIP connector) and it connects to the processor's VPIF input port and I2C0 or SPI1 ports.
You can run directly the face detect example from the BIOS C6SDK which supports leopard imaging camers sensor. You do not require the code to be changed. Please check the wiki below for more details:
http://processors.wiki.ti.com/index.php/L138/C6748_Development_Kit_(LCDK)#LCDK_Features
You can run the facedetect demo from the below .CCS build project:
~\Texas Instruments\c6sdk_02_00_00_00\demos\facedetect\build\cgt_ccs\lcdk
Thanks & regards,
Sivaraj K
-------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question
-------------------------------------------------------------------------------------------------------
I follow the steps but the Tera Term screen is blank and my vga monitor too.
I am using CCS v6 and I have the XDS100v2 USB JTAG Emulator.
If I try with basic examples (like hello world or little more complex), they work. But when I try to use facedetect example, nothing happens.
Any idea?
Thank you
Kind Regards
Hi Javi,
Thanks for your update.
It is very straight forward to run the facedetect demo. May be, you could see very clear instruction from the below wiki to run the facedetect demo. I think, you have to make sure the DIP switches to boot in emulation mode, please see DIP switches 5 & 8 of S7 are ON. For more details, please ensure the check points bulleted in the wiki:
Facedetect Hardware setup:
C6748 EVM:
C6748 LCDK:
Also, check the BIOSC6SDK user guide wiki as below for more details:
http://processors.wiki.ti.com/index.php/BIOS_C6SDK_2.0_User_Guide#Face_Detect_Hardware_setup
Thanks & regards,
Sivaraj K
------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question
-------------------------------------------------------------------------------------------------------
The instructions are very clear but the system does not work.
I do not use the J9 port, I am using the Leopard Imaging connector. I think it is the same, isn't it?
My camera has 5Mpixels, I do not have to change any parameter configuration, right?
Can you tell how I have to put every DIP Switches (SW1).
Thank you
Kind Regards
Hi Javi,
Your camera seems to be 1080p@30fps HD resolution camera, I'm not sure that "facedetect" sample code could support for HD CMOS cameras. But C6748 would support 1080p mode through BT.1120 mode with operating clock at 74.25MHz.
Please refer to the chapter 34.2.15.2.2 of C6748 TRM.
I think that you have to change the lot of VPIF configurations in facedetect code to operate in HD.
Also, I think that C6748/OMAPL138 LCDK's will not support CMOS camera for facedetect example but only for composite cameras.
Ok, thank your for your reply.
And the example " vpif lcd_loopback " (it is in C6748_StarterWare).
In this example, I would only have to change the vpif configuration, right?
I want to see the image in the screen.
Kind Regrads
Hi Javi,
I hope you can display the image through VPIF LCD loop back example since it has LCDC support.
Change appropriate camera and display resolution settings in code and update us the status.
Connect VGA display in J8 connector and connect your CMOS camera in J16 connector.
Camera
#define CAPTURE_IMAGE_WIDTH (XXXX)
#define CAPTURE_IMAGE_HEIGHT (XXXX)
VGA
#define DISPLAY_IMAGE_WIDTH (640)
#define DISPLAY_IMAGE_HEIGHT (480)
Hello
I have changed the struct vbufParam with the BT.1120 mode parameters. Also I changed the pixels resolution in the #define as you told me in the last post.
Now, the led screen is on when I debug the software but the screen is blank and sometime the screen shows some color. I can not see the camera images.
Maybe I need to change more parameters.
Do you know If I have to change the clk or something.
Thank you
Kind Regards