GithubHelp home page GithubHelp logo

ssae's Introduction

For details please see https://github.com/OpenIPC/majestic-plugins

Compile

Build OpenIPC from source, assuming here /home/home/src/ssc30kq/openipc-firmware.

Copy contents over /home/home/src/ssc30kq/openipc-firmware/output/build/majestic-plugins-HEAD/ cp .c /home/home/src/ssc30kq/openipc-firmware/output/build/majestic-plugins-HEAD/sigmastar/ cp -r ./include/ /home/home/src/ssc30kq/openipc-firmware/output/build/majestic-plugins-HEAD/sigmastar/include/

/usr/bin/make -j9 -C /home/home/src/ssc30kq/openipc-firmware/output/ majestic-plugins-rebuild BOARD=ssc30kq_fpv

Upload plugin file to camera:

scp -O /home/home/src/ssc30kq/openipc-firmware/output/build/majestic-plugins-HEAD/*.so [email protected]:/usr/lib

Custom functions

customAE

expects two numbers separated by comma, first rate in second to read the stats from the sensor, second is max percent change. customAE 20,5 means 20fps, max 10 percent exposure change per frame.

echo customAE 20,5 | nc localhost 4000

First param is "Max ISP Frame Rate" This is the frame rate that the AutoExposure function will read the exposure info from the ISP. In the default 3A implemntation, it is fixed to sensor refresh rate (not the encoder rate!). Set this value to lower than 30. Very low value will limit the rate the AE is calculated and applied.

Second param is "MaxAERatioChange", default is 10. This is the Exposure change ratio per cicle. Set it to values between 10 and 30. Large values will make the AE react quickly, but with noticeable "blink" or "step". Lower values will have smooth but slow transition.

"MaxSensorGain" can be specified as third param.
example (set max sensor gain at 23 000)

echo customAE 20,5,23000 | nc localhost 4000

stop3a

echo stopAE 100 | nc localhost 4000

setAWB

Can get or set manual AWB values to get current values echo setAWB | nc localhost 4000 to set new values: echo setAWB 1000,1051,4100 | nc localhost 4000

To install on cam and run

First enable plugin support

cli -s .system.plugins true Copy .so file to /usr/lib

To start, when majestic is running

echo stopAE 1 | nc localhost 4000 echo customAE 25,7 | nc localhost 4000

To reload majestic and apply CustomAE

echo stopAE 1 | nc localhost 4000 sleep 0.1 killall -1 majestic sleep 2 echo customAE 25,7 | nc localhost 4000

ssae's People

Contributors

tipoman9 avatar

Watchers

Lucian avatar  avatar

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.