-
Notifications
You must be signed in to change notification settings - Fork 552
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
Add Complete Support for Live Inferencing #139
base: master
Are you sure you want to change the base?
Conversation
Hi @Pranjal2041, This looks awesome. I plan to test it over the weekend, if everything works fine I will merge it. Thanks for your time and effort! |
|
||
|
||
# ========= Save recent images from webcam for person tracking========= # | ||
def saveToDir(images): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def saveToDir(images): | |
def save_to_dir(images): |
orig_dim = (orig_height,orig_width) | ||
|
||
|
||
saveToDir(images) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saveToDir(images) | |
save_to_dir(images) |
Hi @mkocabas |
Enable live Inferencing from webcam. For fast performance program stores result of mpt and hmr of last few frames and combines them with that of latest frame and feeds them to encoder and regressor. Achieves speed of approximately 12fps(for sequence_length=16) on my gtx1060. Only caveat is rendering results can't be displayed in real time and only single person can be tracked at a time.
Arguments:-
[FEATURE] How can i modified the demo.py to inferece the camera? #115 Online Inference #40