Computer Vision | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Computer Vision

I wanted to know that how to detect specific activity(like eating , drinking etc) in a video stream using python or c++.Are there any libraries for such things?

4th Apr 2019, 1:26 AM
Rstar
Rstar - avatar
2 Answers
+ 8
You'll mostly likely require deep learning. Get a lot of pictures of people (not) eating or drinking, train a neural network to understand when a picture describes a particular activity and when it doesn't. When the model is sufficiently trained, test it on your video by splitting the video to frames and feed the frames to the model to obtain a confidence level / output. If you want to go deep, I can explain the steps you need to take to preprocess the images, represent the image data as a matrix to be used as training data, etc... Or, you can just try out readily available samples: https://cloud.google.com/vision/ https://cloud.google.com/automl/
4th Apr 2019, 2:03 AM
Fermi
Fermi - avatar
+ 1
melip
4th Apr 2019, 9:08 PM
Mella Novas Mella Novas
Mella Novas Mella Novas - avatar