FaceRec icon indicating copy to clipboard operation
FaceRec copied to clipboard

How to increase distance between webcam and face?

Open rosebella18 opened this issue 5 years ago • 7 comments

i have to keep my webcam very near to me to detect or recognize. Can u help with any solution to this where webcam distance from face can be increased?

rosebella18 avatar Nov 12 '18 19:11 rosebella18

Try to change code rects, landmarks = face_detect.detect_face(frame,80) to rects, landmarks = face_detect.detect_face(frame,30) .

It will detect face not in very near distance.

Firdauzfan avatar Nov 21 '18 04:11 Firdauzfan

Thank you firdauzfan

rosebella18 avatar Nov 21 '18 08:11 rosebella18

Can it detect from 5 meters distance with full HD camera? Can you please share settings for long distance detection

On Wed 21 Nov, 2018, 14:05 rosebella18 <[email protected] wrote:

Thank you firdauzfan

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vudung45/FaceRec/issues/33#issuecomment-440579926, or mute the thread https://github.com/notifications/unsubscribe-auth/ApcyxfwFRr2PJHQsV9Ye3xy75QSyNvvKks5uxRBFgaJpZM4YaRmW .

Lachi123 avatar Nov 21 '18 17:11 Lachi123

It's depend on your specification of your camera. If you use IP Camera with specification like 2 mp, 4mm lens , it can detect 3 until 5 meters distance.

Firdauzfan avatar Nov 23 '18 08:11 Firdauzfan

Thank you . It's NF-9010R : 12MP 360˚ Fisheye Camera

I would like to set for above camera. Expecting min 5 meters long and how many person it can detect in a frame

On Fri 23 Nov, 2018, 14:12 Firdauz Fanani <[email protected] wrote:

It's depend on your specification of your camera. If you use IP Camera with specification like 2 mp, 4mm lens , it can detect 3 until 5 meters distance.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vudung45/FaceRec/issues/33#issuecomment-441181219, or mute the thread https://github.com/notifications/unsubscribe-auth/ApcyxbVo7NzvibtWQsD58xMN8Idjkd6Oks5ux7T8gaJpZM4YaRmW .

Lachi123 avatar Nov 24 '18 14:11 Lachi123

@rosebella18 This will degrade performance, but you can adjust the scale_factor for face_detector object to increase the range of detection. The best practice is to get a better camera.

vudung45 avatar Dec 12 '18 01:12 vudung45

Thank you @vudung45

rosebella18 avatar Dec 16 '18 08:12 rosebella18