Skip to content

Commit 25dfa41

Browse files
author
Dario
committed
Add debian packages
Added debian packages created with cpack. A dump of the build information is provided as text file. In addiction, a simple test.py to launch to test the installation
1 parent 6c9f0ee commit 25dfa41

10 files changed

+138
-1
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 2-Clause License
22

3-
Copyright (c) 2019, Dario
3+
Copyright (c) 2019, Dario Limongi
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

OpenCV-4.1.0-armv7l-dev.deb

1.2 MB
Binary file not shown.

OpenCV-4.1.0-armv7l-libs.deb

14.9 MB
Binary file not shown.

OpenCV-4.1.0-armv7l-licenses.deb

8.48 KB
Binary file not shown.

OpenCV-4.1.0-armv7l-main.deb

6.61 KB
Binary file not shown.

OpenCV-4.1.0-armv7l-python.deb

3.83 MB
Binary file not shown.

OpenCV-4.1.0-armv7l-scripts.deb

1.02 KB
Binary file not shown.

build_information.txt

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
General configuration for OpenCV 4.1.0 =====================================
2+
Version control: 4.1.0
3+
4+
Extra modules:
5+
Location (extra): /home/pi/opencv-build/opencv_contrib-4.1.0/modules
6+
Version control (extra): unknown
7+
8+
Platform:
9+
Timestamp: 2019-06-29T23:05:52Z
10+
Host: Linux 4.19.42-v7+ armv7l
11+
CMake: 3.7.2
12+
CMake generator: Unix Makefiles
13+
CMake build tool: /usr/bin/make
14+
Configuration: Release
15+
16+
CPU/HW features:
17+
Baseline: VFPV3 NEON
18+
requested: DETECT
19+
required: VFPV3 NEON
20+
21+
C/C++:
22+
Built as dynamic libs?: YES
23+
C++ Compiler: /usr/bin/c++ (ver 6.3.0)
24+
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 -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfpu=neon -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
25+
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 -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfpu=neon -mfp16-format=ieee -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
26+
C Compiler: /usr/bin/cc
27+
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
28+
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
31+
ccache: YES
32+
Precompiled headers: NO
33+
Extra dependencies: dl m pthread rt
34+
3rdparty dependencies:
35+
36+
OpenCV modules:
37+
To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dpm face features2d flann freetype fuzzy gapi hfs highgui img_hash imgcodecs imgproc line_descriptor ml objdetect optflow phase_unwrapping photo plot python2 python3 quality reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab world xfeatures2d ximgproc xobjdetect xphoto
38+
Disabled: -
39+
Disabled by dependency: -
40+
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv hdf java js matlab ovis sfm ts viz
41+
Applications: apps
42+
Documentation: NO
43+
Non-free algorithms: YES
44+
45+
GUI:
46+
GTK+: YES (ver 3.22.11)
47+
GThread : YES (ver 2.50.3)
48+
GtkGlExt: NO
49+
VTK support: NO
50+
51+
Media I/O:
52+
ZLib: /usr/lib/arm-linux-gnueabihf/libz.so (ver 1.2.8)
53+
JPEG: /usr/lib/arm-linux-gnueabihf/libjpeg.so (ver 62)
54+
WEBP: build (ver encoder: 0x020e)
55+
PNG: /usr/lib/arm-linux-gnueabihf/libpng.so (ver 1.6.28)
56+
TIFF: /usr/lib/arm-linux-gnueabihf/libtiff.so (ver 42 / 4.0.8)
57+
JPEG 2000: /usr/lib/arm-linux-gnueabihf/libjasper.so (ver 1.900.1)
58+
OpenEXR: build (ver 1.7.1)
59+
HDR: YES
60+
SUNRASTER: YES
61+
PXM: YES
62+
PFM: YES
63+
64+
Video I/O:
65+
DC1394: NO
66+
FFMPEG: YES
67+
avcodec: YES (57.64.101)
68+
avformat: YES (57.56.101)
69+
avutil: YES (55.34.101)
70+
swscale: YES (4.2.100)
71+
avresample: NO
72+
GStreamer: NO
73+
v4l/v4l2: YES (linux/videodev2.h)
74+
75+
Parallel framework: pthreads
76+
77+
Trace: YES (built-in)
78+
79+
Other third-party libraries:
80+
Lapack: NO
81+
Eigen: NO
82+
Custom HAL: YES (carotene (ver 0.0.1))
83+
Protobuf: build (3.5.1)
84+
85+
OpenCL: YES (no extra features)
86+
Include path: /home/pi/opencv-build/opencv-4.1.0/3rdparty/include/opencl/1.2
87+
Link libraries: Dynamic load
88+
89+
Python 2:
90+
Interpreter: /usr/bin/python2.7 (ver 2.7.13)
91+
Libraries: /usr/lib/arm-linux-gnueabihf/libpython2.7.so (ver 2.7.13)
92+
numpy: /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.12.1)
93+
install path: lib/python2.7/dist-packages/cv2/python-2.7
94+
95+
Python 3:
96+
Interpreter: /usr/bin/python3 (ver 3.5.3)
97+
Libraries: /usr/lib/arm-linux-gnueabihf/libpython3.5m.so (ver 3.5.3)
98+
numpy: /usr/lib/python3/dist-packages/numpy/core/include (ver 1.12.1)
99+
install path: lib/python3.5/dist-packages/cv2/python-3.5
100+
101+
Python (for build): /usr/bin/python2.7
102+
103+
Java:
104+
ant: NO
105+
JNI: NO
106+
Java wrappers: NO
107+
Java tests: NO
108+
109+
Install to: /usr/local
110+
-----------------------------------------------------------------
111+

test/test.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# From: https://www.pyimagesearch.com/2015/08/10/checking-your-opencv-version-using-python/
2+
3+
# import the necessary packages
4+
from __future__ import print_function
5+
import imutils
6+
import cv2
7+
8+
# load the Tetris block image, convert it to grayscale, and threshold
9+
# the image
10+
print("OpenCV Version: {}".format(cv2.__version__))
11+
image = cv2.imread("tetris_blocks.png")
12+
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
13+
thresh = cv2.threshold(gray, 225, 255, cv2.THRESH_BINARY_INV)[1]
14+
15+
# check to see if we are using OpenCV 2.X or OpenCV 4
16+
if imutils.is_cv2() or imutils.is_cv4():
17+
(cnts, _) = cv2.findContours(thresh.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
18+
19+
# check to see if we are using OpenCV 3
20+
elif imutils.is_cv3():
21+
(_, cnts, _) = cv2.findContours(thresh.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
22+
23+
# draw the contours on the image
24+
cv2.drawContours(image, cnts, -1, (240, 0, 159), 3)
25+
cv2.imshow("Image", image)
26+
cv2.waitKey(0)

test/tetris_blocks.png

20.3 KB
Loading

0 commit comments

Comments
 (0)