Tagging/annotating every frame in the video with the activity performed using OpenCV python
I have human pose coordinates in a CSV file, for a particular activity. I have written a function which detects the activity(sitting, standing, bending) according to these coordinates. I have the activity in the form of a list. I would like to use this activity list as an input to draw() and show that on the frame. I would appreciate any help.
how do you want to "draw" an activity ?
I think the title was wrong. I have edited it. I want to write labels on the frames. I have a CSV file of pose estimation (coordinates) and I have a predict function which takes these coordinates in the list format and gives the output in the form a list. Following are the steps I am working on*:
import CSV files of joint coordinates & corresponding movie: OpenCV (done)
convert imported joint coordinates to list type(done)
call action detection algorithm (predict function)
*output result of detection on movie ( labeling the movie according to the activity in the movie)*
are you looking for putText ?
I have tried this : df = pd.read_csv(path) f_no = 0
and, does it solve the problem ?