Search found 32 matches

by VicThor
Fri Jul 02, 2021 3:51 am
Forum: Mobile Apps and Event Server
Topic: zmevennotification object detection on edge tpu
Replies: 68
Views: 24076

Re: zmevennotification object detection on edge tpu

Think you need it on mlapi container where you launch mlapi.py
by VicThor
Thu Jul 01, 2021 11:36 pm
Forum: Mobile Apps and Event Server
Topic: zmevennotification object detection on edge tpu
Replies: 68
Views: 24076

Re: zmevennotification object detection on edge tpu

Thank you asked/juan11perez I've added the following and the bounding boxes are right (maybe because of the width resize they were wrong?): stream_sequence = { 'frame_strategy': 'most_models', 'frame_set': 'snapshot,alarm', 'contig_frames_before_error': 5, 'max_attempts': 3, 'sleep_between_attempts'...
by VicThor
Thu Jul 01, 2021 2:44 am
Forum: Mobile Apps and Event Server
Topic: zmevennotification object detection on edge tpu
Replies: 68
Views: 24076

Re: zmevennotification object detection on edge tpu

Cheers, finally have it spewing: Jul 01 2021 12:41:56.718392 [DBG 1] Hashes are correct: password matched Jul 01 2021 12:41:56.723684 [DBG 1] Monitor ID not specified, or not found in mlapi config, using zm_detect overrides Jul 01 2021 12:41:56.723747 [DBG 2] using ml_sequence Jul 01 2021 12:41:56.7...
by VicThor
Wed Jun 30, 2021 8:50 pm
Forum: Mobile Apps and Event Server
Topic: zmevennotification object detection on edge tpu
Replies: 68
Views: 24076

Re: zmevennotification object detection on edge tpu

I am such a n00b. Where can I find these logs? Can't find any logs in the container.
by VicThor
Tue Jun 29, 2021 10:11 pm
Forum: ZoneMinder 1.36.x
Topic: Cannot get ZM integrated with Home Assistant - will pay actual money to fix this
Replies: 13
Views: 1818

Re: Cannot get ZM integrated with Home Assistant - will pay actual money to fix this

try this:

Code: Select all

zoneminder:
  - host: 192.168.0.20:8443
    path: /zm
    path_zms: /zm/cgi-bin/nph-zms
    ssl: true
    verify_ssl: false
    username: xxxxx
    password: xxxxx

camera:
  - platform: zoneminder

switch:
  - platform: zoneminder
    command_on: Record
    command_off: Monitor
by VicThor
Tue Jun 29, 2021 10:00 pm
Forum: Mobile Apps and Event Server
Topic: zmevennotification object detection on edge tpu
Replies: 68
Views: 24076

Re: zmevennotification object detection on edge tpu

root@pn50:/home/vic# sudo -u www-data /var/lib/zmeventnotification/bin/zm_detect.py --config /etc/zm/objectconfig.ini --debug --eventid 35384 --monitorid 1 06/30/21 07:56:32 zmesdetect_m1[1387220] INF ZMLog.py:225 [Setting up signal handler for logs] 06/30/21 07:56:32 zmesdetect_m1[1387220] INF ZML...
by VicThor
Tue Jun 29, 2021 5:58 am
Forum: Mobile Apps and Event Server
Topic: zmevennotification object detection on edge tpu
Replies: 68
Views: 24076

Re: zmevennotification object detection on edge tpu

Let’s have a look at mlapi debug logs. Configs look ok. Are these the logs u after? or they should be on mlapi server? 06/29/21 15:12:18 zmesdetect_m1[1188880] INF zm_detect.py:284 [---------| app:6.1.25, pyzm:0.3.49, ES:6.1.25 , OpenCV:4.5.2|------------] 06/29/21 15:12:18 zmesdetect_m1[1188880] I...
by VicThor
Mon Jun 28, 2021 9:32 pm
Forum: Mobile Apps and Event Server
Topic: zmevennotification object detection on edge tpu
Replies: 68
Views: 24076

Re: zmevennotification object detection on edge tpu

Thanks asker, That car is absolutely still throughout the recording, does that still apply? I believe I configure everything correctly, have remote section in objectconfig.ini and the rest in mlapiconfig.ini in the docker container: mlapiconfig.ini: [ml] # if enabled, will not grab exclusive locks b...
by VicThor
Mon Jun 28, 2021 1:00 am
Forum: Mobile Apps and Event Server
Topic: zmevennotification object detection on edge tpu
Replies: 68
Views: 24076

Re: zmevennotification object detection on edge tpu

Thank you, seems to be way faster as models are loaded in the memory.
I am seeing a few issues though:
- the match_past_detection does not seem to work as static objects are always detected
- bounding boxes are way off compared to non mlapi detection

Image
by VicThor
Tue Jun 22, 2021 10:45 pm
Forum: Mobile Apps and Event Server
Topic: zmevennotification object detection on edge tpu
Replies: 68
Views: 24076

Re: zmevennotification object detection on edge tpu

Hey, how did you pull the image?

I am getting :

docker: Error response from daemon: pull access denied for ghcr.io/juan11perez/mlapi, repository does not exist or may require 'docker login': denied: permission_denied: read_package.

I am logged in ghcr.io
by VicThor
Mon Jun 21, 2021 9:44 pm
Forum: Mobile Apps and Event Server
Topic: zmevennotification object detection on edge tpu
Replies: 68
Views: 24076

Re: zmevennotification object detection on edge tpu

Hey asker, can you keep models always loaded?
by VicThor
Fri Jun 11, 2021 11:19 pm
Forum: ZoneMinder 1.34.x
Topic: Restoring VM after crash, User Authentication is not turned on
Replies: 2
Views: 950

Re: Restoring VM after crash, User Authentication is not turned on

I went through the same ordeal last week and got the same message. This is what saved me: mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql mysql -e "ALTER USER 'zmuser'@localhost IDENTIFIED BY 'zmpass';" mysql -e "GRANT ALL PRIVILEGES ON zm.* TO 'zmuser'@'localhost' WITH GRANT OPTION;" mysql...
by VicThor
Fri Feb 19, 2021 7:52 pm
Forum: ZoneMinder 1.34.x
Topic: add GeForce GT 730 source
Replies: 7
Views: 1062

Re: add GeForce GT 730 source

I have the same issue, what I have done is use upper case:
Source/DecoderHWAccelName "VDPAU" or "VAAPI"

There are no errors but also not sure if it's working :)
by VicThor
Fri Jan 29, 2021 7:44 pm
Forum: ZoneMinder 1.34.x
Topic: /dev/shm
Replies: 4
Views: 685

Re: /dev/shm

add this to fstab to be persistent across reboots (this is for 8G)

none /dev/shm tmpfs defaults,size=8G 0 0

and so you do not reboot this time do:
mount -o remount,size=8G /dev/shm
by VicThor
Sun Jan 24, 2021 7:48 pm
Forum: ZoneMinder 1.34.x
Topic: H.264 hwaccel with AMD Ryzen hw/sw or Intel Xeon?
Replies: 1
Views: 365

Re: H.264 hwaccel with AMD Ryzen hw/sw or Intel Xeon?

My experience is something like this:
- Intel J5005 would not be able to hw decode with quick sync more than 2 monitors
- Ryzen 5 4700U hw decodes 6 monitors without an issue