PR infos integrated
Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
This commit is contained in:
parent
d08d63e6e6
commit
9309f9e644
|
@ -1,6 +1,6 @@
|
|||
# Install the required tools and dependencies
|
||||
sudo apt-get update
|
||||
sudo apt-get install git cmake build-essential libqt4-dev libusb-1.0-0-dev python-dev libxrender-dev python
|
||||
sudo apt-get install git cmake build-essential libqt4-dev libusb-1.0-0-dev python-dev libxrender-dev python
|
||||
|
||||
# OSMC dependencies
|
||||
sudo apt-get install rbp-userland-dev-osmc
|
||||
|
@ -15,6 +15,9 @@ export FIRMWARE_DIR="raspberrypi-firmware"
|
|||
git clone --depth 1 https://github.com/raspberrypi/firmware.git "$FIRMWARE_DIR"
|
||||
sudo cp -R "$FIRMWARE_DIR/hardfp/opt/" /opt
|
||||
|
||||
# OpenCV HDMI grabber dependencies (must be version 2.x) (check with: pkg-config --modversion opencv)
|
||||
sudo apt-get install libopencv*
|
||||
|
||||
# create hyperion directory and checkout the code from github
|
||||
# You might want to add "--depth 1" if you only want to recompile the current source or don't want to use git any further
|
||||
export HYPERION_DIR="hyperion"
|
||||
|
@ -35,6 +38,8 @@ cmake -DCMAKE_BUILD_TYPE=Release -DPLATFORM="rpi" -Wno-dev ..
|
|||
cmake -DCMAKE_BUILD_TYPE=Release -DPLATFORM="rpi-pwm" -Wno-dev ..
|
||||
# or if you are not compiling on the raspberry pi (e.g. OrangePi) and need to disable the Dispmanx grabber and support for spi devices
|
||||
cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_X11=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev ..
|
||||
# to enable the HDMI OpenCV grabber append cmake parameter
|
||||
ENABLE_OPENCV=ON
|
||||
# on amlogic platforms
|
||||
cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_AMLOGIC=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev ..
|
||||
# as an alternative for the dispmanx grabber on non-rpi devices (e.g. cubox-i) you could try the framebuffer grabber
|
||||
|
|
|
@ -300,6 +300,21 @@
|
|||
"blueSignalThreshold" : 0.0
|
||||
},
|
||||
|
||||
/// Configuration for the embedded OpenCV grabber
|
||||
/// * input : integer id of input device [default= 0]
|
||||
/// * width : optional resolution (note: will force OpenCV to capture in that resolution) [default=0]
|
||||
/// * height : optional resolution (note: will force OpenCV to capture in that resolution) [default=0]
|
||||
/// * frequency_Hz : optional capture frequency [defaults=10]
|
||||
/// * priority : optional hyperion priority channel [default=900]
|
||||
"opencvgrabber" :
|
||||
{
|
||||
"input" : 0,
|
||||
"width" : 0,
|
||||
"height" : 0,
|
||||
"frequency_Hz" : 10,
|
||||
"priority" : 900
|
||||
},
|
||||
|
||||
/// The configuration for each individual led. This contains the specification of the area
|
||||
/// averaged of an input image for each led to determine its color. Each item in the list
|
||||
/// contains the following fields:
|
||||
|
|
Loading…
Reference in New Issue