Message Boards Message Boards

GROUPS:

Face mask detection: classifying image data

Posted 11 months ago
2997 Views
|
2 Replies
|
12 Total Likes
|

MODERATOR NOTE: coronavirus resources & updates: https://wolfr.am/coronavirus


2 Replies

enter image description here -- you have earned Featured Contributor Badge enter image description here Your exceptional post has been selected for our editorial column Staff Picks http://wolfr.am/StaffPicks and Your Profile is now distinguished by a Featured Contributor Badge and is displayed on the Featured Contributor Board. Thank you!

Very nice fine tuning!

One small bit of code simplification could be

FindFaces[image, "Image", PaddingSize -> Scaled[0.1]]

instead of trimming in a separate steps. This way you can also add an arbitrary padding taken from the original image.

You can even take advantage of the built-in listability of the NN framework to write

trainedNet[FindFaces[image, "Image"]]

that will evaluate the net in batch mode and will be faster when image contains multiple faces.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract