MrEvoMan wrote:I really like most of the changes you made, but here's my short list of "oddities":
- detection is way off. Sometimes, it's super sensitive, othertimes I can wave to the camera with nothing.
- alarms sometimes go on for hours.
Hi, few days ago i discovered some bugs with the blobs detection, that are probably a result of my patch. I already have a fix for this which i'm testing right now, but in the meanwhile, if you are using blobs motion detection, it doesn't work right and you should use AlarmedPixels or FilteredPixels instead, until i have the fix ready.
Also make sure to pay attention to the blend percent you are using. Getting the motion detection right is something that often takes a while to find the perfect spot. Enabling the diagnostic images might help in that process by showing you whats going on and what is triggering an alarm.
MrEvoMan wrote:
- 32bit is flat out flakey. Causes cams to reset (the zm processes) and has locked up a number of my cams.
- motion detection using 32 bit is even worse.
If you have any backtraces or snippets from the system log, that can greatly help!
The generated difference image (delta image) which is used for motion detection is 8bit grayscale image, so motion detection works on 8bit grayscale images, so i'm not sure how motion detection can be worse when using 32bit.
Also keep in mind that the only advantage 32bit has over 24bit is less CPU load on processors with SSSE3 with the camera(s) in motion detection mode (modect or mocord). If your processor doesn't have SSSE3, 24bit is probably a better option because it uses less memory.
MrEvoMan wrote:
- load spikes for no reason. otherwise, its extremely low loads
This can be anything on your system, and can be an I/O bottleneck.
MrEvoMan wrote:
- zmu crashes often. often this backtrace: Backtrace: /lib/libpthread.so.0
A complete backtrace (including running the addr2line command) will greatly help.
MrEvoMan wrote:
- image stat highlighting - when you have an alarm frame, it draws around the items that triggered it no longer appear.
This only works with the Blobs type of motion detection and if the option for creating analysis images is enabled. However you are correct, it doesn't work right with my patch and i'm working on this.
MrEvoMan wrote:
Is it possible to more break apart the patch so I can just apply the fixes/changes rather than the SSE2/32bit enhancements?
If your ZM is installed from source then yes, you can just copy any parts that you are interested in and re-compile and re-install your ZM. Keep in mind that some things may not compile or work right, e.g. if you copy the SSE2 code of blend and delta into your ZM, you will most likely experience crashes because the memory has to be aligned on a 16 byte boundary.
It will be great help if i could tackle the issues one by one, with your assistance. For example the SSSE3 detection issue that you discovered is now fixed, thanks to your report and backtrace!
MrEvoMan wrote:
Thanks for all your hard work though!
Your welcome, thank you too for reporting issues!
mastertheknife