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.

Face Detection Implementation Issues

Hi 

i am trying to implement FD on DM368 based camera.

currently i don't have DM368 HW ready, thats why i am testing on DM365 based HW as DM365 VPFE also implements FD and so it supports.

while i make the call to  " DRV_faceDetectRun " at 

"status = CSL_faceDetectHwSetup(&gCSL_faceDetectHndl, &setup) ";   // i made similar calls and used same driver routines from ipnc 2.0 framework.

i am getting segmentation fault. 

i want to know wether i need to do something for the driver's purpose in the kernel side also ?

as i have not done any FD specific changes in the Kernel sdie.

i believe the CSL ioctl() calls from user side takes care of everything. M i correct ?

 

 

  • Sujit,

    The only thing i can think of is either the handle is null or some of the setup parameters are null. You really dont need to do anything differently for FD run function call. Can you go a little deeper and tell us at what level are you getting the segmentation fault?

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.