Okay, so I moved over to synology in the hopes that my issues were just related to VMware, but it looks like there’s something more than that going on here. I got it up and running with 1 camera at 1920x1080, 1fps and a second camera at 1080x1920, 1fps (landscape orientation). I’ve always run this way in the past because the detection works a lot better when the people are oriented properly in the video, and these cameras look down the side of the house so they are turned sideways to catch the whole frame.
What happens is that it only appears to draw bounding boxes on the portrait orientation feed… Then I went outside and walked around and when I went to the camera with landscape orientation, it stopped drawing bounding boxes around both… Now I have 2 feeds running with no bounding boxes… See the log below (from synology so it’s a little strange looking, I deleted some of the repetetive messages)
Is there some way to tell if it’s successfully communicating with the coral or not?
date stream content
2019-07-07 23:02:19 stdout queue full. moving on
2019-07-07 23:02:19 stderr Invalid UE golomb code
2019-07-07 23:02:19 stderr Invalid UE golomb code
2019-07-07 23:02:19 stderr KeyError: 'favicon.ico'
2019-07-07 23:02:19 stderr frame = cameras[camera_name].get_current_frame_with_objects()
2019-07-07 23:02:19 stderr File "/opt/frigate/detect_objects.py", line 79, in imagestream
2019-07-07 23:02:19 stderr for item in iterable:
2019-07-07 23:02:19 stderr File "/usr/local/lib/python3.5/dist-packages/werkzeug/wrappers/base_response.py", line 45, in _iter_encoded
2019-07-07 23:02:19 stderr return self._next()
2019-07-07 23:02:19 stderr File "/usr/local/lib/python3.5/dist-packages/werkzeug/wsgi.py", line 507, in __next__
2019-07-07 23:02:19 stderr for data in application_iter:
2019-07-07 23:02:19 stderr File "/usr/local/lib/python3.5/dist-packages/werkzeug/serving.py", line 292, in execute
2019-07-07 23:02:19 stderr execute(self.server.app)
2019-07-07 23:02:19 stderr File "/usr/local/lib/python3.5/dist-packages/werkzeug/serving.py", line 302, in run_wsgi
2019-07-07 23:02:19 stderr Traceback (most recent call last):
2019-07-07 23:02:19 stderr Error on request:
2019-07-07 23:02:18 stderr 172.17.0.1 - - [07/Jul/2019 23:02:18] "GET /favicon.ico HTTP/1.1" 500 -
2019-07-07 23:02:18 stdout queue full. moving on
2019-07-07 23:02:18 stdout queue full. moving on
2019-07-07 23:02:18 stderr Invalid UE golomb code
2019-07-07 23:02:18 stderr Invalid UE golomb code
2019-07-07 23:02:18 stderr 172.17.0.1 - - [07/Jul/2019 23:02:18] "GET /left/best_person.jpg HTTP/1.1" 200 -
2019-07-07 23:02:17 stdout queue full. moving on
2019-07-07 23:02:17 stdout queue full. moving on
2019-07-07 23:02:17 stdout queue full. moving on
2019-07-07 23:02:17 stdout queue full. moving on
...
2019-07-07 23:01:56 stdout queue full. moving on
2019-07-07 23:01:55 stdout queue full. moving on
2019-07-07 23:01:55 stderr [h264 @ 0x3e67040] error while decoding MB 37 117, bytestream -14
2019-07-07 23:01:55 stdout queue full. moving on
...
2019-07-07 23:01:54 stderr Invalid UE golomb code
2019-07-07 23:01:54 stderr Invalid UE golomb code
2019-07-07 23:01:54 stderr 172.17.0.1 - - [07/Jul/2019 23:01:54] "GET /back HTTP/1.1" 200 -
2019-07-07 23:01:53 stdout queue full. moving on
2019-07-07 23:01:53 stdout queue full. moving on
...
2019-07-07 23:01:48 stdout queue full. moving on
2019-07-07 23:01:48 stdout queue full. moving on
2019-07-07 23:01:48 stderr KeyError: 'favicon.ico'
2019-07-07 23:01:48 stderr frame = cameras[camera_name].get_current_frame_with_objects()
2019-07-07 23:01:48 stderr File "/opt/frigate/detect_objects.py", line 79, in imagestream
2019-07-07 23:01:48 stderr for item in iterable:
2019-07-07 23:01:48 stderr File "/usr/local/lib/python3.5/dist-packages/werkzeug/wrappers/base_response.py", line 45, in _iter_encoded
2019-07-07 23:01:48 stderr return self._next()
2019-07-07 23:01:48 stderr File "/usr/local/lib/python3.5/dist-packages/werkzeug/wsgi.py", line 507, in __next__
2019-07-07 23:01:48 stderr for data in application_iter:
2019-07-07 23:01:48 stderr File "/usr/local/lib/python3.5/dist-packages/werkzeug/serving.py", line 292, in execute
2019-07-07 23:01:48 stderr execute(self.server.app)
2019-07-07 23:01:48 stderr File "/usr/local/lib/python3.5/dist-packages/werkzeug/serving.py", line 302, in run_wsgi
2019-07-07 23:01:48 stderr Traceback (most recent call last):
2019-07-07 23:01:48 stderr Error on request:
2019-07-07 23:01:48 stderr 172.17.0.1 - - [07/Jul/2019 23:01:48] "GET /favicon.ico HTTP/1.1" 500 -
2019-07-07 23:01:48 stderr BrokenFilesystemWarning,
2019-07-07 23:01:48 stderr /usr/local/lib/python3.5/dist-packages/werkzeug/filesystem.py:60: BrokenFilesystemWarning: Detected a misconfigured UNIX filesystem: Will use UTF-8 as filesystem encoding instead of 'ascii'
2019-07-07 23:01:47 stdout queue full. moving on
2019-07-07 23:01:47 stdout queue full. moving on
2019-07-07 23:01:47 stdout queue full. moving on
...
2019-07-07 22:59:43 stdout queue full. moving on
2019-07-07 22:59:43 stdout queue full. moving on
2019-07-07 22:59:43 stdout queue full. moving on
2019-07-07 22:59:43 stderr Invalid UE golomb code
2019-07-07 22:59:43 stderr Invalid UE golomb code
2019-07-07 22:59:42 stdout queue full. moving on
2019-07-07 22:59:42 stdout queue full. moving on
2019-07-07 22:59:42 stderr Invalid UE golomb code
2019-07-07 22:59:42 stderr Invalid UE golomb code
2019-07-07 22:59:41 stdout queue full. moving on
2019-07-07 22:59:41 stdout queue full. moving on
2019-07-07 22:59:41 stdout queue full. moving on
2019-07-07 22:59:41 stdout queue full. moving on
2019-07-07 22:59:41 stderr [h264 @ 0x3e5f8e0] error while decoding MB 0 18, bytestream 67619
2019-07-07 22:59:41 stderr [h264 @ 0x3e5f8e0] left block unavailable for requested intra mode at 0 18
2019-07-07 22:59:40 stdout queue full. moving on
2019-07-07 22:59:40 stdout queue full. moving on
2019-07-07 22:59:40 stderr 172.17.0.1 - - [07/Jul/2019 22:59:40] "GET /left HTTP/1.1" 200 -
2019-07-07 22:59:39 stdout queue full. moving on
2019-07-07 22:59:39 stdout queue full. moving on
2019-07-07 22:59:39 stdout queue full. moving on
2019-07-07 22:59:39 stdout queue full. moving on
2019-07-07 22:59:39 stderr Invalid UE golomb code
2019-07-07 22:59:39 stderr Invalid UE golomb code
2019-07-07 22:59:38 stdout queue full. moving on
2019-07-07 22:59:38 stderr Invalid UE golomb code
2019-07-07 22:59:38 stderr Invalid UE golomb code
2019-07-07 22:59:35 stderr
2019-07-07 22:59:35 stderr TypeError: object of type 'NoneType' has no len()
2019-07-07 22:59:35 stderr y_location = min(int(obj['ymax']), len(self.mask)-1)
2019-07-07 22:59:35 stderr File "/opt/frigate/frigate/video.py", line 260, in add_objects
2019-07-07 22:59:35 stderr self.cameras[frame['camera_name']].add_objects(parsed_objects)
2019-07-07 22:59:35 stderr File "/opt/frigate/frigate/object_detection.py", line 55, in run
2019-07-07 22:59:35 stderr self.run()
2019-07-07 22:59:35 stderr File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
2019-07-07 22:59:35 stderr Traceback (most recent call last):
2019-07-07 22:59:35 stderr Exception in thread Thread-16:
2019-07-07 22:59:35 stderr Invalid UE golomb code
2019-07-07 22:59:35 stderr Invalid UE golomb code
2019-07-07 22:59:34 stderr Invalid UE golomb code
Here’s my config
web_port: 4000
mqtt:
host: 10.10.10.20
topic_prefix: frigate
user: MyUser
password: MyPassword
cameras:
left:
rtsp:
user: username
host: 192.168.1.20
port: 554
password: $RTSP_PASSWORD_LEFT
path: /Sms=3.unicast
mask: 1080Left.bmp
regions:
- size: 1080
x_offset: 0
y_offset: 0
min_person_area: 9000
threshold: 0.2
- size: 1080
x_offset: 0
y_offset: 839
min_person_area: 9000
threshold: 0.2
back:
rtsp:
user: username
host: 192.168.1.20
port: 554
password: $RTSP_PASSWORD_BACK
path: /Sms=4.unicast
mask: 1080Back.bmp
regions:
- size: 1080
x_offset: 0
y_offset: 0
min_person_area: 9000
threshold: 0.2
- size: 1080
x_offset: 839
y_offset: 0
min_person_area: 9000
threshold: 0.2