Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.

stop a module without starting another one

0 votes

Hi,

I am building a battery powered system with JeVois. The idea is to start two different scripts via the UART connection. One for starting TensorFlow, setting the CPU rate and categorize the detected object and another one to stop TensorFlow and reduce the CPU clock rate to 120 MHz to safe energy.

CameraOn.cfg
cpumax 1344                                            #set CPU maximum frequency
setmapping2 YUYV 1280 1024 7.0 JeVois TensorFlowEasy   #start TensorFlowEasy
setpar serout USB
#setpar serlog USB                                     #debug output
setpar serstyle Normal                                 #Normal: topcateg:topscore
streamon

CameraOn works pretty well. I got a problem with CameraOff.cfg.

streamoff
setmapping 0                    #no videostreaming over USB
setpar cpumax 120               #set CPU maximum frequency (default setting 1344)

setmapping 0 starts an module. Is there any way to stop TensorFlow without starting another module or an "low-power-consumption" module?

Thanks!

asked Jan 21, 2019 in User questions by dag (150 points)

1 Answer

0 votes
how about just streamoff and no further set mapping? Please also see

http://jevois.org/qa/index.php?qa=2556&qa_1=is-there-an-existing-module-for-low-power-consumption
answered Jan 23, 2019 by JeVois (46,580 points)
...