A HTML-based Jevois interface that helps the users/developers better streaming Jevois and controling it. Currently, it alsow the user to
- Stream Jevois on a webpage.
- Get the information of Jevois.
- Select the videomapping easily with a dropdown selector.
- Execute commands and check the return message easily.
- Jevois.
- Python.
- Flask. Install it with
pip install flask
.
- Connect Jevois.
- Run
run.py
with administrative permission (sudo python run.py
orsudo FLASK_APP=run.py flask run
). - Open your browser and access the url shown in the console (
127.0.0.1:5000
by default).
- Broadcast your Jevois to the world:
- Deploy the server on
0.0.0.0
. (sudo FLASK_APP=run.py flask run --host 0.0.0.0 --port 12345
).
- Deploy the server on
- More controls via HTML components:
- Other commands in
jevois-cmd
can also be built with HTML components (e.g.setpar
,getpar
,setcam
,getcam
). - We can parse all options from
jevois-cmd help
and visualize them as HTML components. I already built a selector forvideomapping
.
- Other commands in
- Build Jevois application with HTML5:
- Jevois outputs information with
jevois.sendSerial
. - Python receives information with
serial.Serial
with pySerial - (Check this video to see how I connect Jevois with a neural network to compose.)
- HTML fetches information from Python server with AJAX.
- Jevois outputs information with