You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the start button is been pressed it starts to stream frames
We take frame numbers of file and the webcam in consideration (window size of 5-6) and then compute the similarity.
If there is a sudden lag or issue related to internet then the frame numbers become less proximal and our algorithm do not have a way in which it can resume matching from that frame onwards.
An example:
Suppose both file streaming and webcam stream starts with frame number of 0 and a single matching window can be like:
0 - 0
1 - 2 (may not be frame 1, frame 1 might got skipped)
2 - 3
4 - 4 (frame 3 might get skipped for some issues, like no mediapipe results found)
5 - 5
Now suppose if we have some issues from the webcam side, then the matching might get something like this
Right now, our algorithm takes some assumptions:
An example:
Suppose both file streaming and webcam stream starts with frame number of 0 and a single matching window can be like:
Now suppose if we have some issues from the webcam side, then the matching might get something like this
And matching between those does not make any sense. But we expect the file streamer to go back to frames (starting from 840) and then start matching.
Some possible solutions:
Such that we can just access the frame from file by just accessing the key something like this:
There might be some better ways to implement the same problem. Feel free to come with the solution.
The text was updated successfully, but these errors were encountered: