Search found 34 matches

by hahobson
Sun Nov 28, 2021 10:12 am
Forum: ZoneMinder 1.34.x
Topic: Accessing Even Server via websockets
Replies: 8
Views: 9441

Accessing Even Server via websockets

Reading this page: https://zmeventnotification.readthedocs.io/en/latest/guides/developers.html I am trying to log on to the Event Server using websockets: import json from websocket import create_connection ws = create_connection("ws://localhost:9000") #ws.send(json.dumps({"event"...
by hahobson
Wed Nov 24, 2021 12:03 pm
Forum: ZoneMinder 1.34.x
Topic: Object recognition
Replies: 1
Views: 5693

Object recognition

Hello, I have installed ZM and the Event Server. How would I add a simple HAAR Cascade application? This is what I have working: import numpy as np import cv2 dog_cascade = cv2.CascadeClassifier("cascade.xml") cap = cv2.VideoCapture("rtsp://192.168.0.51:8080/h264_ulaw.sdp") while...
by hahobson
Thu Jul 22, 2021 3:54 am
Forum: ZoneMinder 1.36.x
Topic: /var/cache/zoneminder/events latency of writing to log
Replies: 2
Views: 1216

Re: /var/cache/zoneminder/events latency of writing to log

Thanks for the reply. I did find this: https://pyzm.readthedocs.io/en/latest/e ... on-example I will look at the link you sent me. Not worried about controlling the PTZ camera. I have to do some of the work :D
by hahobson
Wed Jul 21, 2021 4:27 am
Forum: ZoneMinder 1.36.x
Topic: /var/cache/zoneminder/events latency of writing to log
Replies: 2
Views: 1216

/var/cache/zoneminder/events latency of writing to log

I have an application where I need to set up many small zones. Once an event is triggered, a PTZ camera is pointed at that zone. I have been reading that there is some latency between an event happening to writing to the events log file. Does anyone know the time it takes to write to the log file on...