Skip to content

bluems/raspbian_opencv4

Repository files navigation

raspbian_opencv4

What is this?

Opencv 4 automated installation script for Raspberry Pi.

Usage

  • rasp_opencv_remove_legacy.sh
    Delete old opencv.
    The auto option allows for automatic transition to the next step.

./rasp_opencv_remove_legacy.sh

Only remove Legacy OpenCV.

./rasp_opencv-remove_legacy.sh <you_want_opencv_version> -auto <dep_args>

After deletion, the transition will be made to the following script: rasp_opencv_dependency.sh
<dep_args> is passed to next script. See the next section for details.

  • rasp_opencv_dependency.sh
    Install the dependency packages required for opencv4.
    You can use the following options:
    1. -gtk3
    2. -qt4
    3. -qt5
    4. -gl
    5. -py2
    6. -py3
    7. -install -install option is same -auto

When you input -install or -auto, You must specify the version as the first argument.
Example, ./rasp_opencv_dependency.sh 4.1.2 -auto -py2 -py3 -qt5 -gl
All args is passed to last script.

  • rasp_opencv.sh
    Download, Install packages, Complie.
    If input clean, this script will clean up the files used for compilation.
    Example, This command ./rasp_opencv.sh 4.1.2 -py2 -py3 -qt5 -gl is only installation.
    Command ./rasp_opencv.sh clean is only clean up files.
    The clean cannot be used -py2...-gtk3 together.

Releases

No releases published

Packages

No packages published

Languages