Page 1 of 1

Event server running - but confused about the object detection

Posted: Fri Dec 10, 2021 8:16 pm
by cjd24
Hi all,

Finally got zoneminder up and running on the latest version with the ES server and all the bits running.


Did a test run on a motion ID and all seemed to work. see the extract at the bottom, person detected.

But I am at a loss now , when motion is detected where do I see the objects that are detected? I have the app zmNinja and ZM on the browser but only see the usual motion activities and frames.

What am I missing? I was expecting to see the frames with highlighted objects like deepstack/AI/Blue iris.
I have the monitors set in objectconfig.ini etc. hooks on.


Code: Select all

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 detect_sequence.py:711 [This model iteration inside object found: labels: ['car', 'person'],conf:[0.9636976718902588, 0.666072428226471]]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 detect_sequence.py:424 [Max object size found to be: 90%]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 detect_sequence.py:432 [Converted 90% to 470880.0]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 detect_sequence.py:502 [intersection: object:car,POLYGON ((44 76, 600 76, 600 652, 44 652, 44 76)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 654, 0 654, 0 0))]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 detect_sequence.py:518 [Using global match pattern: (person)]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 detect_sequence.py:535 [full_image intersects object:car[[(44, 76), (600, 76), (600, 652), (44, 652)]] but does NOT match your detect pattern filter]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 detect_sequence.py:502 [intersection: object:person,POLYGON ((612 117, 658 117, 658 313, 612 313, 612 117)) intersects polygon:full_image,POLYGON ((0 0, 800 0, 800 654, 0 654, 0 0))]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 detect_sequence.py:518 [Using global match pattern: (person)]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 detect_sequence.py:526 [full_image intersects object:person[[(612, 117), (658, 117), (658, 313), (612, 313)]]]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 detect_sequence.py:753 [breaking out of same model loop, as matches found and strategy is "first"]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG2 yolo.py:64 [pyzm_uid33_gpu_lock portalock already released]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG1 detect_sequence.py:827 [perf: TOTAL detection sequence (with image loads) took: 5236.39 ms  to process 7]

12/10/21 16:32:18 zmesdetect_m3[4117] INF zm_detect.py:479 [Prediction string:[s] detected:person:76% ]

12/10/21 16:32:18 zmesdetect_m3[4117] DBG1 zm_detect.py:481 [Prediction string JSON:{"labels": ["person"], "boxes": [[558, 138, 598, 194]], "frame_id": "snapshot", "confidences": [0.7566661834716797], "image_dimensions": {"original": [576, 704], "resized": [654, 800]}}]

[s] detected:person:76% --SPLIT--{"labels": ["person"], "boxes": [[558, 138, 598, 194]], "frame_id": "snapshot", "confidences": [0.7566661834716797], "image_dimensions": {"original": [576, 704], "resized": [654, 800]}}
12/10/21 16:32:18 zmesdetect_m3[4117] DBG1 zm_detect.py:557 [Closing logs]

Thanks!

Re: Event server running - but confused about the object detection

Posted: Sat Dec 11, 2021 11:17 am
by Magic919
You'll usually get better responses in the mobile apps and event server section.

Make sure you have configured it to write the images to ZM.

Re: Event server running - but confused about the object detection

Posted: Sun Dec 12, 2021 6:15 pm
by cjd24
Thanks.

In the zmeventnotification.ini everything seems to be set to yes, port 9002 (as my portainer runs on 9000).

objectconfig.ini set up for the different cameras etc.

Not sure what I am missing yet.

Although may have something to do with 'Pending Auth' under the event server on the app

I'll try in the other category thanks