Software Archive
Read-only legacy content
공지
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

How to reset facetracking as soon as another face is closer

Jessica_N_
초급자
941 조회수

Hi!

So, I have set faceConfig.strategy = PXCMFaceConfiguration.TrackingStrategyType.STRATEGY_CLOSEST_TO_FARTHEST;

Which works great it always finds the closest face first, upon initialization.

 

Problem is, it keeps tracking that face, even if it suddenly goes behind/farther than another face in view (even by quite some distance).

I want the camera to be able to dynamically switch between faces based on which face becomes closer.

Without me using depth to calculate average depth of a face or anything.

Just, is there some way for me to basically "reset" the face data the way it does on initialization so that it again looks for the closest face whenever I call this function? and even if it was stuck tracking a difference face, itll now be set so that the face[0] is the actual closest face in this point in time?

0 포인트
1 솔루션
Pedro_B_
초급자
941 조회수

Hello

I has a similar problem, to resolve that i create the ladmarks of all faces founded and capare the coordinate z of point 29(noise point). The face with the small value was the face i want to "studie"

원본 게시물의 솔루션 보기

0 포인트
2 응답
Pedro_B_
초급자
942 조회수

Hello

I has a similar problem, to resolve that i create the ladmarks of all faces founded and capare the coordinate z of point 29(noise point). The face with the small value was the face i want to "studie"

0 포인트
Jessica_N_
초급자
941 조회수

Ahh! That's a great idea. I will try and implement something similar. Thank you :)

0 포인트
응답