-
Semper Vaporo
-
- Posts: 331
- Joined: Sat Oct 09, 2010 11:51 am
by Semper Vaporo » Mon Mar 30, 2015 8:52 am
I recognize your feelings that saving this useless data is really a waste of something, no matter how short the time is that it exists. I do commiserate with you! But my consternation is even deeper... just think of how many electrons have been tossed around in the computer, just comparing one frame of data with the next frame of data to see if anything changed! That absolutely boggles my mind. Over and over, at a minimum of 10 times per second each frame of the image is compared to the next. I don't know the inner workings of Sighthound, but I have written motion detection software and have some feeling for what goes on "inside". It is not trivial; each frame must be normalized for brightness/contrast, then the numeric value for each pixel in one frame must be subtracted from the same pixel in the next "normalized" frame and the result tested for some threshold so that noise is ignored. The row and column number of that pixel must be tested against the highest and lowest row and/or column number of all the other "above threshold" pixels to see if it is the top, bottom, left or right edge of an object or part of one already being processed. This "difference frame" is then also compared to the next one to see of any of those "edge" row and/or column numbers have changed and again a threshold applied to ignore minor variations, etc. That "difference in differences" frame is then compared to another one, again applying a threshold of some sort so that only something that is truly moving can be monitored for how far it has moved. What a waste of good electrons if all the differences are nil! But if it didn't do this constantly, when something does move, how would it know? And how would it then be able to apply the rules for detecting if that motion met the criteria of the rule to know whether to save it or not?
The time to store the video on the harddrive is miniscule compared to the amount of work the CPU is doing. The time to remove the video clips that are not marked as "saved by rule" is also miniscule compared to all that processing time just deciding that it should not be kept. And if it didn't save all the data, how would it be able to show 5 seconds of video prior to the detected motion?
It is a "Waste" to store all that video of the davenport just sitting there, I agree. But considering what went into deciding that it is just sitting there, the time spent to store and later delete the video is trivial, and not something to worry about. Set the retention time to one hour and Sighthound will be fat, dumb and happy to delete this useless video of an idle couch when it gets around to it and you need never think about it. And if the couch is not prancing around the room when you ain't looking, Sighthound won't list anything in the "Search" mode and the data on disk will disappear soon enough.
Granted, there is some wear and tear on the disk writing and then deleting the data, but I am running 6 cameras on my dedicated surveillance system and see the drive light blink a few times every second or two. But watching the drive light on the PC on which I am writing this, the light is blinking just as often while Winders and Internet Explorer are off doing whatever they do when I am scratching my noggin trying to write something useful (and not boring).
Semper Vaporo,