Comments (9)
It looks like you don't have opencv installed?
Yes, you can run it on video, its fast enough. You should also check out the more mature mobilenet-ssd implementation that was posted on the forum. If you can't find it, I'll look it up for you
from tensortrt-yolo-python-api.
thanks for your response. i do have opencv 3.4.6 installed :/
what about the mobilenet-ssd? is it a faster implementation? i will go have a look
from tensortrt-yolo-python-api.
hi mosh i am still having the same issue. could you tell me what version of opencv do you use? what version of g++ also?
from tensortrt-yolo-python-api.
I think i have 4 installed now but ut shouldn't matrer....
Try deleting the repository and reinstalling from scratch. Cmake is notorious for caching things
from tensortrt-yolo-python-api.
its weird i have, i have reinstalled twice before and gave the same error, anyway this time it worked, thanks for your response.
now i am having this error though:
Traceback (most recent call last):
File "t.py", line 33, in
for tt in ret_buf.value.split("|"):
TypeError: a bytes-like object is required, not 'str'
do you have any idea?
from tensortrt-yolo-python-api.
from tensortrt-yolo-python-api.
hi mosh,
i have tried running it in python 2 and it worked. do you know what i need to change to make it work in python3 ?
i have two more question:
do you mind explaining what is ret_buf for? and what is the for loop at line 30 in t.py? it feels like it is inferring the same image 10 times? or am i wrong ?
thanks in advance :)
from tensortrt-yolo-python-api.
from tensortrt-yolo-python-api.
okay thanks a bunch. i am closing this issue :)
from tensortrt-yolo-python-api.
Related Issues (10)
- wrong link HOT 2
- Use example
- no lib folder HOT 2
- Readme , advice. HOT 1
- error installation HOT 2
- No Yolo App in Deepstream Reference Apps HOT 3
- Wrapper crashes when two different yolo model used in the same memory space HOT 2
- Found unsuitable version "10.2", but required is exact version "10.0" HOT 1
- fatal error: opencv/cv.h: No such file or directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensortrt-yolo-python-api.