tomasz-lewicki / ai-thermometer

Fever screening with IR & RGB cameras and Deep CNNs
148 stars 39 forks source link

[enhancement] Improve consistency of face detection when wearing a mask and on moving target #28

Open nickjrz opened 3 years ago

nickjrz commented 3 years ago

Hi,

Just wanted to propose and to see if there is anyway to improve consistency and accuracy of the face detection when people are wearing masks or when the target is moving. Maybe training the model with people wearing masks and not wearing masks.

Let me know what you think and if it is doable.

Nick

tomasz-lewicki commented 3 years ago

Hi @nickjrz ,

Check out the most up-to-date version. The facial detection performance with mask on has vastly improved :slightly_smiling_face:

nickjrz commented 3 years ago

Thanks for getting back to me on this. The most up-to-date version works great with masks and moving targets as well.

My hot fix for this was re-training the resnet 10 model with a dataset that included people with and without masks. Zooming in on the RGB cam live stream also improves drastically the face detection on moving targets using the resnet model. Only thing I was not able to figure out was how to zoom in on the IR cam feed to make the shifting work properly.