Comments (2)
i tried to put fps code above cv2.destroy() so i can see in real time code in my CMD prompt
& fps is decreasing by 0.01 seconds, i don't know if its normal or not
throughput: 3.47 fps
throughput: 3.47 fps
throughput: 3.47 fps
throughput: 3.47 fps
throughput: 3.47 fps
throughput: 3.46 fps
throughput: 3.46 fps
throughput: 3.46 fps
throughput: 3.46 fps
throughput: 3.46 fps
Traceback (most recent call last):
File "python/webcam.py", line 25, in <module>
yolov7_detector.infer_cam(args.input)
File "D:\openVINO\YOLOv7_OpenVINO_grid\python\yolov7.py", line 295, in infer_cam
img = self.letterbox(frame, self.img_size)
File "D:\openVINO\YOLOv7_OpenVINO_grid\python\yolov7.py", line 60, in letterbox
shape = img.shape[:2] # current shape [height, width]
AttributeError: 'NoneType' object has no attribute 'shape'
from yolov7_openvino_cpp-python.
once it finishes running, I'm getting this error
im loading video in it
File "python/webcam.py", line 25, in <module> yolov7_detector.infer_cam(args.input) File "D:\openVINO\YOLOv7_OpenVINO_grid\python\yolov7.py", line 295, in infer_cam img = self.letterbox(frame, self.img_size) File "D:\openVINO\YOLOv7_OpenVINO_grid\python\yolov7.py", line 60, in letterbox shape = img.shape[:2] # current shape [height, width] AttributeError: 'NoneType' object has no attribute 'shape'
I think you should put some codes in it to find out whether it is the end of a video ?
from yolov7_openvino_cpp-python.
Related Issues (20)
- Yolov7 Tiny setting confidence Thres HOT 4
- Link not working HOT 1
- any support for --grid parameter while exporting .onnx model? HOT 24
- [Bug] The line `img.transpose(2, 0, 1)` should be `img = img.transpose(2, 0, 1)`. NumPy's transpose operation does not support in-place assignment. HOT 1
- output processing is slow HOT 24
- adding tracker deepsort/sort (int 8 or openvo ir ) to object detection .onnx file or .int8 format file HOT 31
- float data1[img_h*img_w*3] compile error HOT 1
- Inference with 1280 images HOT 4
- fps im getting is varing too much
- Yolov7-seg support HOT 2
- Downloading Yolo7 modex HOT 4
- hardware to run HOT 4
- Process multiple video feeds ansyc HOT 5
- Python Run Issue
- c++ has encountered an error HOT 1
- getting setup HOT 11
- webcam.py HOT 13
- 4 anchor boxes instead of 3 HOT 1
- YOLOv7 with Multiple Object Tracker - SORT Algorithm HOT 10
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 yolov7_openvino_cpp-python.