-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Making tracking a multi-threaded process #9
Comments
I may create a global vector to store info on users tracked that all threads can access. I will have to do some memory management to ensure it doesn't get too large but that can be addressed later |
Integrated threading and made threads to format program into a prettier output for the demo. Working on using threading to temporarily monitor users when the target user can't be located |
Up next: Need to make threads register when target user leaves FOV |
knows when user leaves FOV, was trying to set pointer to NULL but it was never happening. Was getting trapped in an if statement that never occurred. Works better, but now it thinks the user leaves FOV too much |
threading works better, focusing on initialization rather than threading for now |
May not need to use threading, focusing on a method that doesn't require all user's past locations, just compares their current locations to the target user's location buffer |
Threading will need to be used to send commands to the motors. Not using it for display purposes anymore, but the threading experience and code will be repurposed. |
May not need threading, but I will keep this open until I am sure I won't need it |
Now when a new user enters the FOV, the program gives them one frame for classification. If it can't get a torso or shoulder measurement, than the comparison doesn't work. I need to create a thread for each person to let the program gather info about a new person and still keep the main loop going
The text was updated successfully, but these errors were encountered: