Skip to content
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

added ability to show YOLOX demo in live window #1138

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

joakimeriksson
Copy link
Contributor

This PR adds the possibility to run YOLOX live on web camera - showing the detections in a "live" window. I had to do some minor fixes as it always changed the save-path even it was not intended to save the results. Therefore the PR is somewhat bigger than needed - so it also fix a minor other issue.

python tools/demo.py webcam -n yolox-l -c yolox_l.pth --camid 0 --conf 0.25 --nms 0.45 --tsize 640 --device cpu

Will now give a result like this (running on a GPU less MacBook):

image

@CLAassistant
Copy link

CLAassistant commented Feb 20, 2022

CLA assistant check
All committers have signed the CLA.

@FateScript
Copy link
Member

FateScript commented Feb 21, 2022

LGTM. Thanks for your contribution.

@FateScript FateScript merged commit d99bee0 into Megvii-BaseDetection:main Feb 21, 2022
Githubinme pushed a commit to Githubinme/YOLOX that referenced this pull request Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants