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.

Where to change the face detection code to capture PAL video input insted of NTSC i/p?

Dear TI Community,

 There are many suggestions provided in community about how to change the code to capture PAL input instead of NTSC but they are by community members which are not working.

Please provide me a working way to change my capture to PAL input.

 

With regards,

AS

  • Hi,

    Thanks for your post.

    If your camera capture and display supports PAL standard, you shall modify the mode to PAL passed as arguments thru. the API calls VPIFCaptureModeConfig() & VPIFDisplayModeConfig() while you intialize capture thru. SetUpVPIFRx() and initialize display thru. SetUpVPIFTx(). You shall check the #define macros in the include file vpif.h and the file shall be located in PDK package installation path as below:

    ~\pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\include\vpif.h

    In the above file, you shall add new supporting mode for PAL as #define macro and the value shall be passed to VPIFCaptureModeConfig/VPIFDisplayModeConfig. API's to select mode of capture/display.

    By this way, we shall change the Face detect demo code to interface for PAL camera type.

    The above changes in the face detect demo will be reflected in the source file facedetect_evmC6748.c and the file shall be found in the below installation path:

    ~\c6sdk_02_00_00_00\demos\facedetect\src\facedetect_evmC6748.c

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    -------------------------------------------------------------------------------------------------------