Giter Club home page Giter Club logo

rpi3-opencv's Introduction

sudo nano /etc/dphys-swapfile CONF_SWAPSIZE=2048 sudo /etc/init.d/dphys-swapfile stop && sudo /etc/init.d/dphys-swapfile start

OpenCV for Raspberry Pi 3

A prebuilt binary debian package of OpenCV 4.0.1 for Raspberry Pi 3. It depends on Tesseract 4 and VC4CL by doe300.

How to Install

First, install rpi3-vc4cl binary packages which describes in https://github.com/thortex/rpi3-vc4cl/ .

Then, Install Leptonica, Tesseract OCR, and OpenCV debian packages by typing the following steps:

git clone https://github.com/thortex/rpi3-opencv.git
cd rpi3-opencv/release
./install_requires_related2leptonica.sh
./install_requires_related2tesseract.sh
./install_requires_related2opencv.sh
./install_tesseract.sh
./install_opencv.sh

BUild Options

Option Support
Build Type Release
Install Prefix /usr/local
Eigen ON
gstreamer ON
GTK ON
Jasper ON
JPEG ON
OpenEXR ON
PNG ON
TIFF ON
V4L ON
LIBV4L ON
VTK ON
LAPACK ON
LAPACKE ON
protobuf ON
1394 ON
ffmpeg ON
gphoto2 ON
Qt ON
TBB ON
WebP ON
unicap ON
cxx11 ON
NEON ON
VFPV3 ON
OpenMP ON
OpenCL ON
OpenGL OFF
OpenNI OFF
GDAL OFF
CUDA OFF
XINE OFF

Supported Hardwares

Board Support
3 Model B+ May Yes
3 Model B Yes
2 Model B v1.2 May Yes
2 Model B No
1 Model B+ No
1 Model B No
Model A No
Model A+ No
Zero No
Zero W No
Computer Module 1 No
Computer Module 3 May Yes
Computer Module 3 Lite May Yes

How to Build

sudo apt-get update
sudo apt-get upgrade -y 
./setup/019_checkinstall.sh
./setup/030_build_opencv.sh
./setup/031_install_opencv.sh
./setup/032_update_deps.sh

CXXFLAGS

Option Value
-mtune cortex-a53
-march armv8-a+crc
-mcpu cortex-a53
-mfpu crypto-neon-fp-armv8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.