-
-
Notifications
You must be signed in to change notification settings - Fork 96
Timestamp / picture time issue #236
Comments
Hi all. Well, I can also confirm I have the same issue here. And this makes the whole integration useless, as the saved image does not correspond at all with what has been actually analyzed by Deepstack. I'm using Node Red for all my automations. When a movement is detected, I use the
As you can see, the timestamp of the image filename and the The timestamp IN the image is 07-20-2021, 11:47:23 : in the future?!
So at best I can trigger a message telling me that a person has been detected, but I can not use the image saved by the integration to display the situation. So strange ... For reference, my configuration:
Deepstack is running on a jetson nano 4GB. |
Hello- I am seeing the same thing here. My processed filename does not match with the timestamp in the image being processed. My caught event:
I also have save_timestamped_file: True and always_save_latest_file: True |
I'm not saying this is a bug, but I would like to understand what is happening and thought this may be the best place to post this. There could be a race condition somewhere.
This is what is happening: whenever my camera is detecting motion, I am feeding images to Deepstack via an automation that runs every 1 second. The automation is set in blocking mode currently so that it will not run a second time before the first process has returned (which I think is whenever Deepstack responds to the API post). Based on my logs, it seems that the actual rate at which images are being fed is more like once every 8 seconds. On a recent motion event, this is what happened:
This is the content of the image filename referenced above:
This is the content of the image filename referenced above:
This is what I would like to understand:
The first event that is returned has an image containing a camera timestamp of 4:47:28 with a filename of 16:47:29. Presumably this is the picture submitted by HA to Deepstack just before at 4:47:28 and it took about 7 seconds for it to be analyzed and come back. This makes sense to me.
But on the second event: an image is sent to Deepstack at 4:47:36, event comes back at 4:47:43 with an image name of 16:47:37. This makes sense too, but if you then look at the image contained in the file, it has a camera timestamp of 4:48:32 with is roughly the timestamp of the last image sent to Deepstack during the event and after the car has already left, so there is nothing to see in the image. Yet We know that Deepstack fired an event for this submission and saw the car, so it looks like the image that was analyzed by Deepstack is the correct one, but a different image was saved in the file.
This happens consistently on all of my events, where the last one or several images saved in my directory have no object on them and a much later camera timestamp, yet I know that Deepstack saw an object at the time of the filename, which is why the image was saved in the first place.
Any idea of what might be wrong?
Thanks.
Jean
The text was updated successfully, but these errors were encountered: