Click here to Skip to main content
15,867,568 members
Articles / Artificial Intelligence / Tensorflow

Face Touch Detection with TensorFlow.js Part 2: Using BodyPix

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
14 Jul 2020CPOL3 min read 7.4K   90   2  
In this article, we are going to use BodyPix, a body part detection and segmentation library, to try and remove the training step of the face touch detection.
Here we look at: Setting up BodyPix, detecting face touches, how I wrote my predictImage() function from the starting point template, using the distance formula to check for face region overlap, and how we can use BodyPix to estimate a person’s body poses.

Views

Daily Counts

Downloads

Weekly Counts

This article is part of the series 'Face Touch Detection with Tensorflow.js View All

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
Raphael Mun is a tech entrepreneur and educator who has been developing software professionally for over 20 years. He currently runs Lemmino, Inc and teaches and entertains through his Instafluff livestreams on Twitch building open source projects with his community.

Comments and Discussions