Comments (5)
I tried connecting to the camera with an ONVIF app on my phone through tcp and now i think my camera does support rtsp over tcp but the container does not start without the above environment variable. Instead it throws this error :
docker run --rm --privileged -v /dev/bus/usb:/dev/bus/usb -v path/config:/config:ro -e RTSP_PASSWORD='pass' -p 5000:5000 blakeblackshear/frigate:edgetpu
On connect called
Traceback (most recent call last):
File "detect_objects.py", line 90, in
main()
File "detect_objects.py", line 44, in main
cameras[name] = Camera(name, config, prepped_frame_queue, client, MQTT_TOPIC_PREFIX)
File "/opt/frigate/frigate/video.py", line 119, in init
self.frame_shape = get_frame_shape(self.rtsp_url)
File "/opt/frigate/frigate/video.py", line 100, in get_frame_shape
frame_shape = frame.shape
AttributeError: 'NoneType' object has no attribute 'shape'
So i am even more confused now...
from frigate.
When the process first starts, it fetches a single frame to determine the resolution of the video stream. The NoneType
error you are seeing means that it failed to fetch that first frame. For the high confidence false positives, I would try setting -e DEBUG="1"
. That will write an image file for each detected person to /lab/debug/
which may give you an idea of what the process is actually seeing.
from frigate.
Just did that it it gives me the below output:
On connect called
Invalid UE golomb code
Invalid UE golomb code
Invalid UE golomb code
W third_party/darwinn/driver/package_registry.cc:65] Minimum runtime version required by package (5) is lower than expected (10).
Capture process for back: 31
- Serving Flask app "detect_objects" (lazy loading)
- Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead. - Debug mode: off
- Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
Invalid UE golomb code
Invalid UE golomb code
Invalid UE golomb code
192.168.0.156 - - [14/Apr/2019 16:28:22] "GET /back HTTP/1.1" 200 -
Invalid UE golomb code
Invalid UE golomb code
Invalid UE golomb code
Invalid UE golomb code
Invalid UE golomb code
Invalid UE golomb code
Invalid UE golomb code
...
I don't have a /lab/debug/ dir inside the container though.
from frigate.
Sorry. I forgot that I removed that feature when I implemented Coral support. I am not sure what would be different about your video feed. What camera are you using?
from frigate.
I tried with many different cameras and the issue remains.
Even with the demo object detection from the official site i have the same issue!
So, at the moment, i don't think there are any problems with your code.
I will close the issue now. Feel free to keep it open if you think it may help someone in the future.
Thanks again.
from frigate.
Related Issues (20)
- flip the image HOT 1
- BirdsEye with a tall aspect ratio (Portrate) causes strange scrolling messed up view. HOT 1
- [Support]: Birdseye switching cameras very often - single cam view
- MQTT-Based PTZ Control for Non-ONVIF Cameras in Frigate HOT 6
- Support 24-Hour Time Format in Export Feature HOT 1
- SQLite WAL files periodic truncate HOT 6
- Rockchip releases are missing HOT 1
- Add user management / need rights to delete HOT 1
- Update Python to 3.11 and Coral-related libraries HOT 1
- Use 1 nginx worker process HOT 6
- Add inked out area in live view and recordings HOT 1
- Send to Frigate+ Modal handling HOT 1
- Create an event/recording based on zones common between cameras HOT 1
- Clips are not generated properly HOT 3
- Sort event by % (percentage) HOT 1
- [Feature Request] S6 should read number of available CPUs and update the `worker_processes` directive in nginx config before starting nginx
- [Idea] Zero-shot object detection models? HOT 3
- [FEATURE] integration with CodeProject.AI HOT 1
- Camera grouping for Birdseye HOT 1
- [BUG] Delete old recordings on retain config change HOT 1
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 frigate.