Skip to content

Commit eb0800b

Browse files
author
Dario
committed
Enable TBB support
* debs created from OpenCV with TBB flag on * updated build_information.txt and readme accordingly
1 parent df46503 commit eb0800b

8 files changed

+22
-17
lines changed

OpenCV-4.1.0-armv7l-dev.deb

44 Bytes
Binary file not shown.

OpenCV-4.1.0-armv7l-libs.deb

73 KB
Binary file not shown.

OpenCV-4.1.0-armv7l-licenses.deb

4 Bytes
Binary file not shown.

OpenCV-4.1.0-armv7l-main.deb

-2 Bytes
Binary file not shown.

OpenCV-4.1.0-armv7l-python.deb

-2 Bytes
Binary file not shown.

OpenCV-4.1.0-armv7l-scripts.deb

0 Bytes
Binary file not shown.

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
# OpenCV 4.1.0 for Raspberry Pi
2-
* A pre-compiled **OpenCV 4.1.0** for **Raspberry PI**, optimized for deep learning (**NEON** and **VFPV3** turned on).
2+
* A pre-compiled **OpenCV 4.1.0** for **Raspberry Pi**, optimized for deep learning (**NEON**, **VFPV3**, **TBB** turned on).
33
* Bindings for **Python2** and **Python3** are also included.
44
* Created with OpenCV cpack targets
5-
* Tested on **Raspberry Pi 3+** on **Raspbian Stretch**
5+
* Tested on **Raspberry Pi 3+** using **Raspbian Stretch (Debian 9)**
66

77
# Prerequisites
8-
Before proceeding, install the OpenCV library prerequisites.
8+
Before proceeding, install OpenCV library prerequisites.
99
```
1010
sudo apt-get update && sudo apt-get upgrade -y
11-
sudo apt-get install -y libtiff5-dev libjasper-dev libpng12-dev libjpeg-dev \
12-
libavcodec-dev libavformat-dev libswscale-dev \
13-
libv4l-dev libgtk2.0-dev libatlas-base-dev gfortran
11+
sudo apt-get install -y
12+
libjpeg-dev libpng-dev libtiff-dev \
13+
libavcodec-dev libavformat-dev libswscale-dev libv4l-dev \
14+
libxvidcore-dev libx264-dev libjasper1 libjasper-dev \
15+
libgtk-3-dev \
16+
libatlas-base-dev gfortran \
17+
libeigen3-dev libtbb-dev
1418
```
1519

16-
Install numpy based on your Python version:
20+
Install **numpy** based on your target Python version:
1721
```
1822
sudo apt-get install -y python3-dev python3-numpy
1923
```
@@ -46,5 +50,7 @@ sudo pip3 install imutils
4650
python3 test.py
4751
```
4852

49-
# Future development
50-
* Include TBB
53+
# How to uninstall
54+
```
55+
sudo apt purge opencv-*
56+
```

build_information.txt

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ General configuration for OpenCV 4.1.0 =====================================
2626
C Compiler: /usr/bin/cc
2727
C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfpu=neon -mfp16-format=ieee -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
2828
C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfpu=neon -mfp16-format=ieee -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
29-
Linker flags (Release): -Wl,--gc-sections
30-
Linker flags (Debug): -Wl,--gc-sections
29+
Linker flags (Release): -Wl,--gc-sections
30+
Linker flags (Debug): -Wl,--gc-sections
3131
ccache: YES
3232
Precompiled headers: NO
3333
Extra dependencies: dl m pthread rt
@@ -42,13 +42,13 @@ General configuration for OpenCV 4.1.0 =====================================
4242
Documentation: NO
4343
Non-free algorithms: YES
4444

45-
GUI:
45+
GUI:
4646
GTK+: YES (ver 3.22.11)
4747
GThread : YES (ver 2.50.3)
4848
GtkGlExt: NO
4949
VTK support: NO
5050

51-
Media I/O:
51+
Media I/O:
5252
ZLib: /usr/lib/arm-linux-gnueabihf/libz.so (ver 1.2.8)
5353
JPEG: /usr/lib/arm-linux-gnueabihf/libjpeg.so (ver 62)
5454
WEBP: build (ver encoder: 0x020e)
@@ -72,13 +72,13 @@ General configuration for OpenCV 4.1.0 =====================================
7272
GStreamer: NO
7373
v4l/v4l2: YES (linux/videodev2.h)
7474

75-
Parallel framework: pthreads
75+
Parallel framework: TBB (ver 4.3 interface 8006)
7676

7777
Trace: YES (built-in)
7878

7979
Other third-party libraries:
8080
Lapack: NO
81-
Eigen: NO
81+
Eigen: YES (ver 3.3.2)
8282
Custom HAL: YES (carotene (ver 0.0.1))
8383
Protobuf: build (3.5.1)
8484

@@ -100,12 +100,11 @@ General configuration for OpenCV 4.1.0 =====================================
100100

101101
Python (for build): /usr/bin/python2.7
102102

103-
Java:
103+
Java:
104104
ant: NO
105105
JNI: NO
106106
Java wrappers: NO
107107
Java tests: NO
108108

109109
Install to: /usr/local
110110
-----------------------------------------------------------------
111-

0 commit comments

Comments
 (0)