Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the dimension and position of bounding box? #12

Closed
Andyjoedev opened this issue Mar 12, 2019 · 3 comments
Closed

How to set the dimension and position of bounding box? #12

Andyjoedev opened this issue Mar 12, 2019 · 3 comments

Comments

@Andyjoedev
Copy link

Hello Jeeliz Team,
Thanks again for creating this wonderful library!

I am building a project where the user is generally sitting in between with very little side rotation. I want to set the bounding box to a limited area and not to the full canvas. This will increase the searching speed for face if the tracking fails.
How can I accomplish this?

Regards,
Andy

@xavierjs
Copy link
Member

Hi Andy
This is currently not possible.
You should suggest to your users to get closer to their webcam.
Indeed if the user is too far from the webcam the cropped portion of the image matching the face and given as input for the neural network has à lower quality.

If you still want to add this feature we provide tailored development services, Please contact us on contact__at__jeeliz.com

Best
Xavier

@Andyjoedev
Copy link
Author

Andyjoedev commented Mar 15, 2019

Thanks for your quick reply,

My project is not for commercial use. I am a student and want to learn things by experimenting.

The only issue I got from your algorithm is that face detection after tracking failure is very slow. The only way to fix this without improving the face tracking accuracy is by limiting the bounding box to a smaller size. Also, in my solution user sits in the middle of the camera. So this theory was certainly applicable.

If this also goes into tailored development category feel free to skip this question.

Thanks for your support.

Regards
Andy

@xavierjs
Copy link
Member

Hi,

It also depends a lot on the GPU computing power of the device and the quality of the WebGL implementation. Then there are a lot of face placements depending on the device: user will be closer on mobile phone than laptops, and it also depends on the camera FoV. So to be sure the detection window has to slide accross many possible positions and yes, it can be a bit slow.

This issue explains how to get the coordinates of the face detection:
#8

Best,
Xavier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants