Giter VIP home page Giter VIP logo

Comments (2)

pliablepixels avatar pliablepixels commented on July 21, 2024

(This is holiday time, so responses may be delayed - sorry about that)

Lets break this into two parts:
a) Getting the environment working
b) Starting to use the examples

Once you resolve a) we can focus on b)

As far as a) goes, there are two ways. The docker way (easiest) or the build your own way. I don't use docker, so lets wait for @web2wire to respond.

As far as build your own is concerned, I just built ozone from scratch on two different ubuntu machines. I committed some changes that were causing issues (but not the ones you emailed about FFMPEG). If you follow the install instructions exactly it should work without problems (ozone uses a specific version of ffmpeg, so for now its best you don't try and integrate with your OS bundled ffmpeg)

from ozonebase.

web2wire avatar web2wire commented on July 21, 2024

My first suggestion would be to run the commands in the run-demo script manually to start with.

So start with setting the environment

export DBG_PRINT=0
export DBG_LEVEL=0
export DBG_LOG=
#
# Motion detection config
#
export OZ_OPT_MOTION_debug_streams=true
export OZ_OPT_MOTION_debug_images=false
export OZ_OPT_MOTION_debug_location="/tmp"
export OZ_OPT_MOTION_options_refBlend=7
export OZ_OPT_MOTION_options_varBlend=9
export OZ_OPT_MOTION_options_blendAlarmedImages=true
export OZ_OPT_MOTION_options_deltaCorrection=false
export OZ_OPT_MOTION_options_analysisScale=1
#export OZ_OPT_MOTION_zone_default_color=(Rgb)RGB_RED
export OZ_OPT_MOTION_zone_default_checkBlobs=true
export OZ_OPT_MOTION_zone_default_diffThres=1.0
# Unused - xport OZ_OPT_MOTION_zone_default_scoreThres=1.41
# Unused - export OZ_OPT_MOTION_zone_default_scoreBlend=64
export OZ_OPT_MOTION_zone_default_alarmPercent_min=0.5
export OZ_OPT_MOTION_zone_default_alarmPercent_max=0.0
export OZ_OPT_MOTION_zone_default_score_min=50
export OZ_OPT_MOTION_zone_default_score_max=0

And then run the two commands that supervisord runs, but do them manually. The commands are

/usr/bin/nodejs demo.js

to start the web side and

/home/ozone/install/bin/starter_example

to start the server side. So lets see what issues either of them returns with.

from ozonebase.

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.