Message Boards Message Boards

Face mask detection: classifying image data

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


POSTED BY: Siria Sadeddin
2 Replies

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.

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!

POSTED BY: Moderation Team
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