Coder Social home page Coder Social logo

Comments (4)

flyrouter avatar flyrouter commented on June 20, 2024

Please use md_detect param in /metrics setting

More params:

# HELP md_rects_recv_total Number of rectangles returned by HW MD algorithm.
# TYPE md_rects_recv_total counter
md_rects_recv_total 0
# HELP md_rects_acc_total Number of rectangles fit into ROI.
# TYPE md_rects_acc_total counter
md_rects_acc_total 0
# HELP md_status Motion detect activation status.
# TYPE md_status gauge
md_status 0

from majestic.

flyrouter avatar flyrouter commented on June 20, 2024

The request is opened again because it becomes relevant and overlaps with others.

from majestic.

flyrouter avatar flyrouter commented on June 20, 2024

In the new Majestic dated 2023.10.24

If motion detect is enabled (for Hisilion/Goke, Ingenic and Sigmastar), the first check is for an executable file:
/etc/majestic_motion.sh

Then the following will be called:
/etc/majestic_motion.sh 1163 0 400 275 &

The usage is:
/etc/majestic_motion.sh [x coordinate] [y coordinate] [region width] [region height]

Example script:

#!/bin/sh

echo 0:[$0] 1:[$1] 2:[$2] 3:[$3] 4:[$4]

Final diagnosis

20:37:02  <SED_IVE_DETCTOR> [  motion] motion_update@155             Motion detected: [1163x0] -> [690x475]
20:37:02  <SED_IVE_DETCTOR> [   tools] motion_event@615              Execute motion script: /etc/majestic_motion.sh
0:[/etc/majestic_motion.sh] 1:[1163] 2:[0] 3:[690] 4:[475]

from majestic.

flyrouter avatar flyrouter commented on June 20, 2024

Updated the following 2023.11.02

  • script name: /etc/motion_detect.sh
  • script usage: [object count] [x coordinate] [y coordinate] [region width] [region height]

from majestic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.