Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 124018

Forum Post: RE: how to run Facedetect demo using USB web cam on OMAPL138LCDK

$
0
0

Hi Vivek,

As Mr.Sivaraj suggested,

Have you gone through facedetect code & understood the concepts which TI developers implemented?

I am suggesting to do that modify your code in CCS and debug in CCS itself (through loading gel files and Load options) instead of flashing images without testing those binaries.

  1. Ensure that the Hardware is setup as explained in Hardware Setup for Demos in User Guide.
  2. Open CCSv5.1 and launch the target configuration file for TMS320C6748 or OMAPL138
  3. Go to Tools -> GEL Files 
  4. Right click inside the GEL Files window and select Load GEL.
  5. Browse to the pdk_C6748 folder -> gel and select C6748.gel
  6. The loaded gel file will be in GEL Files window. 
  7. In the Debug window, Right click on "Spectrum Digital XDS510USB Emulator_0/C674X_0 [Non-Project Debug Session]" -> Connect Target (Make sure the EVMC6748/LCDK is ON before saying Connect Target)
  8. Make sure DIP switches 5 and 8 of S7 are ON to boot in the emulation mode.
  9. In the console window, you will find the PLL and DDR frequencies getting set by the GEL file.
  10. It is a good practice to reset the CPU by going to Run -> Reset -> CPU Reset
  11. Now go to Run -> Load -> Load Program
  12. Browse to c6sdk_02_00_00_00\demos\facedetect\bin\{COMPILATION_METHOD}\evmC6748\Release amd open facedetect_evmC6748.out
  13. Wait until the program is loaded. 
  14. Now run the program by going to Run -> Resume. If your hardware is set up correctly, you should be able to see a box around faces captured by the camera. For best results, stand a few feet away from the camera and make sure the camera is placed in such a way that your face and the camera are exactly at the same level. This is needed as it is a frontal face detection demo. Also, for the same reason, make sure your head is not tilted with respect to the camera.

Modify your factdetect code for streaming from USB webcam and build your project ,

If you can build successfully build and then load facedetect_evmC6748.out  into your board through emulator


Viewing all articles
Browse latest Browse all 124018

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>