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

replacing jetcam with opencv works but only shows image without any drawing on it. #73

Closed
Hasankanso opened this issue Sep 27, 2020 · 5 comments

Comments

@Hasankanso
Copy link

Hello everyone,

this issue is redundant, I re-post it due the misleading title in the original one #68

this is the live_demo with opencv, just change the the file format to ipynb (github doesn't allow ipynb files attached):
live_demo.txt

I'm feeding the image to the execute method, but the count of people is always 0(which is wrong).

@Hasankanso
Copy link
Author

the opencv image was not resized to 224x224, did it and it works now.
live_demo.txt

@yuerunyu
Copy link

@Hasankanso hello,I used your live_demo.txt,change format to ipynb,but there is no result,no windows,no image.when execute "display(image_w)",output is "Image(value=b'', format='jpeg')",and last code "while true:",there is no respond.can you help me ?my device is jetson nano.

@Hasankanso
Copy link
Author

Hasankanso commented Sep 30, 2020

Hello @yuerunyu,
I'm using linux on laptop as an environment for the trt_pose, I don't have any nvidia device beside the graphic card ofcourse. I'm not sure what is the environment of jetson nano, thus I can't help you further. Maybe I can help you, if your provide more information about the platform. However the while true loop is blocking the instance, maybe you should put what is inside of the loop in a function and pass it as a callback function of cap.read(), I'm not sure if this is possible either. Sorry for not being able to help more.

@Edohvin
Copy link

Edohvin commented Oct 19, 2020

@yuerunyu Have you been able to fix it for jetson nano?

@yuerunyu
Copy link

@Edohvin no,I have not fix it for nano,sorry.

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

No branches or pull requests

3 participants