kerberos-io / machinery

(DEPRECATED) An open source image processing framework, which uses your USB-, IP- or RPi-camera to recognize events (e.g. motion).
https://www.kerberos.io
490 stars 104 forks source link

incorrect image saving #147

Open Freakapotamus opened 6 years ago

Freakapotamus commented 6 years ago

Among my saved images and video files I get images saved with a name like this "1526698333_6-235987_frontdoor_regionCoordinates_numberOfChanges_703.jpg" Where it has no assigned region Coordinates or Number of changes. Theses images also don't seem to be from valid motion triggers either.

Here is my current configuration:

`19/05/2018 12:48:29.869 INFO [trivial] Final configuration:

cedricve commented 6 years ago

@Freakapotamus, I suspect that the machinery is restarting due to problems (please check your logs) with your IP camera. Are you using a WIFI IP cam?

Freakapotamus commented 6 years ago

Your right it seems when these types of files get created I get the following error in my log

19/05/2018 12:48:33.032 ERROR [trivial] OpenCV : can't open url of ip camera
19/05/2018 12:48:36.032 INFO  [trivial] Parameters passed from commandline:
19/05/2018 12:48:36.033 INFO  [trivial] Reading configuration file: /etc/opt/kerberosio/config/config.xml
19/05/2018 12:48:36.038 INFO  [trivial] Final configuration:

No the IP camera is wired.

cedricve commented 6 years ago

Which IP camera are you using?

Freakapotamus commented 6 years ago

I am using a D-LINK DCS-4703E

cedricve commented 6 years ago

Do you have any other endpoints than this url: rtsp://Login:Password@192.168.1.14/live1.sdp.

Freakapotamus commented 6 years ago

I have 2 end points url: rtsp://Login:Password@192.168.1.14/live1.sdp url: rtsp://Login:Password@192.168.1.14/live2sdp.

cedricve commented 6 years ago

Hey @Freakapotamus any update on this?

Freakapotamus commented 6 years ago

I think its still happening. I just wrote a script that deletes them if they are there that runs every 15 mins