updated opencv documentation (camera module)
added enabling of legacy support for the camera module to the postinstall script
This commit is contained in:
parent
ee4f6a516d
commit
f03df1b3b3
4 changed files with 17 additions and 3 deletions
|
@ -1,7 +1,5 @@
|
||||||
import sys
|
import sys
|
||||||
from typing import Tuple, Any
|
from typing import Any
|
||||||
|
|
||||||
import numpy as np
|
|
||||||
|
|
||||||
# build image is somehow different from raspberry image? opencv-python is installed to a directory which is not in the pythonpath by default....
|
# build image is somehow different from raspberry image? opencv-python is installed to a directory which is not in the pythonpath by default....
|
||||||
sys.path.append("/usr/lib/python3.9/site-packages")
|
sys.path.append("/usr/lib/python3.9/site-packages")
|
||||||
|
|
13
client/docs/source/lib/classes/Opencv.rst
Normal file
13
client/docs/source/lib/classes/Opencv.rst
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
.. _lib_camera:
|
||||||
|
|
||||||
|
Camera und OpenCV
|
||||||
|
*******************
|
||||||
|
|
||||||
|
Dokumentation des Camera Moduls
|
||||||
|
================================
|
||||||
|
|
||||||
|
.. autoclass:: compLib.Camera.Marker
|
||||||
|
:members:
|
||||||
|
|
||||||
|
.. autoclass:: compLib.Camera.Camera
|
||||||
|
:members:
|
|
@ -9,3 +9,4 @@ compLib
|
||||||
classes/IRSensor
|
classes/IRSensor
|
||||||
classes/Seeding
|
classes/Seeding
|
||||||
classes/DoubleElimination
|
classes/DoubleElimination
|
||||||
|
classes/Opencv
|
||||||
|
|
|
@ -9,6 +9,8 @@ pip3 install requests flask
|
||||||
echo "Setting up nginx rtmp server"
|
echo "Setting up nginx rtmp server"
|
||||||
sudo /etc/init.d/nginx start
|
sudo /etc/init.d/nginx start
|
||||||
|
|
||||||
|
sudo raspi-config nonint do_legacy 0
|
||||||
|
|
||||||
{
|
{
|
||||||
echo 'load_module "modules/ngx_rtmp_module.so";'
|
echo 'load_module "modules/ngx_rtmp_module.so";'
|
||||||
echo 'worker_processes auto;'
|
echo 'worker_processes auto;'
|
||||||
|
|
Reference in a new issue