All Projects → dlime → Faster_OpenCV_4_Raspberry_Pi

dlime / Faster_OpenCV_4_Raspberry_Pi

Licence: BSD-2-Clause License
A pre-compiled version of OpenCV 4 for Raspberry Pi optimized for deep learning / computer vision..

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to Faster OpenCV 4 Raspberry Pi

OpenCV Raspberry pi TBB
Latest pre-compiled binary of Pre-released & Stable OpenCV (4.0.0) along with TBB (2018-Update 6) for Raspberry Pi.
Stars: ✭ 46 (+0%)
Mutual labels:  neon, tbb, vfpv3
scarecrow
A Raspberry Pi powered, distributed (edge) computing camera setups that runs a Tensorflow object detection model to determine whether a person is on the camera. A plugin model allows actions based on the detection, such as playing audio, turning on lights, or triggering an Arduino.
Stars: ✭ 87 (+89.13%)
Mutual labels:  raspbian, opencv-python
airgeddon deb packages
Useful related to airgeddon packages for Debian based Linux distributions
Stars: ✭ 22 (-52.17%)
Mutual labels:  raspbian, armhf
Fourier-and-Images
Fourier and Images
Stars: ✭ 81 (+76.09%)
Mutual labels:  opencv-python, opencv3-python
raspberrypi-rstudio
RStudio for Raspberry Pi - Docker Build and Runtime Environment
Stars: ✭ 57 (+23.91%)
Mutual labels:  debian-packages, raspbian
Counting-people-video
Counting the number of people in a video.
Stars: ✭ 60 (+30.43%)
Mutual labels:  opencv-python, opencv3-python
camera-fusion
Multiple cameras calibration and fusion with OpenCV Python.
Stars: ✭ 27 (-41.3%)
Mutual labels:  opencv-python, opencv3-python
PlayerDetection
Player detection and ball detection in football matches using image processing(opencv).
Stars: ✭ 50 (+8.7%)
Mutual labels:  opencv-python, opencv3-python
godot-gameshell
Godot export templates and instructions for the GameShell portable game console and other single-board computers
Stars: ✭ 34 (-26.09%)
Mutual labels:  armhf
staff identity card ocr project
Staff Identity Card OCR Project
Stars: ✭ 15 (-67.39%)
Mutual labels:  opencv-python
dist-detect
Try to determine what Linux/Unix distribution is running on a remote host and get a hint if security updates are applied.
Stars: ✭ 14 (-69.57%)
Mutual labels:  raspbian
minio-multiarch
Nightly builds of Minio server Docker images. Compatible with arm64, armhf/armv7, and amd64.
Stars: ✭ 28 (-39.13%)
Mutual labels:  armhf
pi-ap
Raspberry Pi Access Point: This repo automates the configuration of hostapd, dnsmasq, dhcpcd & wpa_supplicant to transform a Pi into a wireless AP. Requirements: a Pi, an Ethernet cable and a DHCP-enabled port on a router with a 'net connection or a switch connected to this router.
Stars: ✭ 69 (+50%)
Mutual labels:  raspbian
Indian-Number-Plate-Recognition-System
Indian Number Plate Recognition System built using OpenCV
Stars: ✭ 72 (+56.52%)
Mutual labels:  opencv-python
homesecurity
Security camera with Raspberry pi and NVIDIA Jetson platforms
Stars: ✭ 141 (+206.52%)
Mutual labels:  opencv-python
Multiple-Object-Tracking
Blob detection of multiple objects with object indexing and drawning trajectories.
Stars: ✭ 18 (-60.87%)
Mutual labels:  opencv-python
Kinect-Vision
A computer vision based gesture detection system that automatically detects the number of fingers as a hand gesture and enables you to control simple button pressing games using you hand gestures.
Stars: ✭ 47 (+2.17%)
Mutual labels:  opencv3-python
Face-Detection-in-Python-using-OpenCV
Face Detection with Python using OpenCV
Stars: ✭ 123 (+167.39%)
Mutual labels:  opencv-python
colorize-video
colorize video using publicly available neural-networks
Stars: ✭ 24 (-47.83%)
Mutual labels:  opencv-python
Music player with Emotions recognition
This program can recognize your mood by detecting your face and play song according your mood
Stars: ✭ 79 (+71.74%)
Mutual labels:  opencv-python

Faster OpenCV for Raspberry Pi

Leverage all your CPUs power in OpenCV by using TBB, Neon and VFPV3 libraries.

Since I've already compiled this on my own Raspberry Pi I made it available on GitHub.

Save countless of compile time by just installing these debs. Enjoy!

What is this?

  • A pre-compiled OpenCV 4.4.0 for Raspberry Pi optimized for deep learning / computer vision applications (NEON, VFPV3, TBB turned on).
  • Bindings for Python 2 and Python 3 are also included.
  • For detailed build informations click here.
  • Created with OpenCV cpack targets.
  • Tested on Raspberry Pi 3 using Raspbian Buster (Debian 10) (for Raspbian Stretch click here).

How much faster?

Performance tests have been made in this great blog article which led to an approximate 30% increase in speed and of over 48% when applied strictly to DNN module.

Another performance test is available here which also led to about 30% increase in speed.

How to use it?

Install OpenCV library prerequisites on your Raspberry Pi.

sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y \
	libjpeg-dev libpng-dev libtiff-dev libgtk-3-dev \
	libavcodec-extra libavformat-dev libswscale-dev libv4l-dev \
	libxvidcore-dev libx264-dev libjasper1 libjasper-dev \
	libatlas-base-dev gfortran libeigen3-dev libtbb-dev

Install numpy based on your target Python version:

sudo apt-get install -y python3-dev python3-numpy

or:

sudo apt-get install -y python-dev python-numpy

How to install?

Clone the repo into your Raspberry Pi and install all debs:

git clone https://github.com/dlime/Faster_OpenCV_4_Raspberry_Pi.git
cd Faster_OpenCV_4_Raspberry_Pi/debs
sudo dpkg -i OpenCV*.deb
sudo ldconfig

How to test?

C++

Test the installation by going to tests cpp test folder, build it and launch the executable:

cd Faster_OpenCV_4_Raspberry_Pi/tests/cpp_opencv_test
mkdir build && cd build
cmake ..
make -j`cat /proc/cpuinfo | grep -c 'processor'`
./cpp_opencv_test

Python

Test the installation by going to tests folder and launch the test.py file:

cd Faster_OpenCV_4_Raspberry_Pi/tests/python_opencv_test
python test.py

You shouldn't see any error messages in console and an image with tetris blocks with contours drawed should appear.

How to uninstall?

Run the following command in your Raspberry Pi terminal:

sudo apt purge opencv-*
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].