Skip to content

Commit

Permalink
Update for OpenCV-4.4.0 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dario Limongi committed Sep 20, 2020
1 parent d2bbf5c commit a083a95
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Since I've already compiled this on my own Raspberry Pi I made it available on G
Save countless of compile time by just installing these debs. Enjoy!

## What is this?
* A pre-compiled **OpenCV 4.2.0** for **Raspberry Pi** optimized for deep learning / computer vision applications (**NEON**, **VFPV3**, **TBB** turned on).
* 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](build_information.txt).
* Created with OpenCV cpack targets.
Expand Down
25 changes: 13 additions & 12 deletions build_information.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
General configuration for OpenCV 4.2.0 =====================================
Version control: 4.2.0
General configuration for OpenCV 4.4.0 =====================================
Version control: 4.4.0

Extra modules:
Location (extra): /home/pi/opencv-build/opencv_contrib-4.2.0/modules
Location (extra): /home/pi/opencv-build/opencv_contrib-4.4.0/modules
Version control (extra): unknown

Platform:
Timestamp: 2020-03-13T09:09:16Z
Host: Linux 4.19.97-v7+ armv7l
Timestamp: 2020-09-19T10:38:03Z
Host: Linux 5.4.51-v7+ armv7l
CMake: 3.13.4
CMake generator: Ninja
CMake build tool: /usr/bin/ninja
Expand All @@ -20,24 +20,25 @@ General configuration for OpenCV 4.2.0 =====================================

C/C++:
Built as dynamic libs?: YES
C++ standard: 11
C++ Compiler: /usr/bin/c++ (ver 8.3.0)
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 -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG
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 -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG
C Compiler: /usr/bin/cc
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 -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfpu=neon -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG
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 -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -mfpu=neon -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG
Linker flags (Release): -Wl,--gc-sections
Linker flags (Debug): -Wl,--gc-sections
Linker flags (Release): -Wl,--gc-sections -Wl,--as-needed
Linker flags (Debug): -Wl,--gc-sections -Wl,--as-needed
ccache: YES
Precompiled headers: NO
Extra dependencies: atomic dl m pthread rt
Extra dependencies: dl m pthread rt
3rdparty dependencies:

OpenCV modules:
To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dnn_superres 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
To be built: alphamat aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor ml objdetect optflow phase_unwrapping photo plot python2 python3 quality rapid reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab world xfeatures2d ximgproc xobjdetect xphoto
Disabled: -
Disabled by dependency: -
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv hdf java js matlab ovis sfm ts viz
Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv hdf java js julia matlab ovis sfm ts viz
Applications: apps
Documentation: NO
Non-free algorithms: YES
Expand All @@ -51,7 +52,7 @@ General configuration for OpenCV 4.2.0 =====================================
Media I/O:
ZLib: /usr/lib/arm-linux-gnueabihf/libz.so (ver 1.2.11)
JPEG: /usr/lib/arm-linux-gnueabihf/libjpeg.so (ver 62)
WEBP: build (ver encoder: 0x020e)
WEBP: build (ver encoder: 0x020f)
PNG: /usr/lib/arm-linux-gnueabihf/libpng.so (ver 1.6.36)
TIFF: /usr/lib/arm-linux-gnueabihf/libtiff.so (ver 42 / 4.1.0)
JPEG 2000: /usr/lib/arm-linux-gnueabihf/libjasper.so (ver 1.900.1)
Expand Down Expand Up @@ -83,7 +84,7 @@ General configuration for OpenCV 4.2.0 =====================================
Protobuf: build (3.5.1)

OpenCL: YES (no extra features)
Include path: /home/pi/opencv-build/opencv-4.2.0/3rdparty/include/opencl/1.2
Include path: /home/pi/opencv-build/opencv-4.4.0/3rdparty/include/opencl/1.2
Link libraries: Dynamic load

Python 2:
Expand Down
Binary file removed debs/OpenCV-4.2.0-armv7l-dev.deb
Binary file not shown.
Binary file removed debs/OpenCV-4.2.0-armv7l-licenses.deb
Binary file not shown.
Binary file removed debs/OpenCV-4.2.0-armv7l-main.deb
Binary file not shown.
Binary file removed debs/OpenCV-4.2.0-armv7l-python.deb
Binary file not shown.
Binary file removed debs/OpenCV-4.2.0-armv7l-scripts.deb
Binary file not shown.
Binary file added debs/OpenCV-4.4.0-armv7l-dev.deb
Binary file not shown.
Binary file not shown.
Binary file added debs/OpenCV-4.4.0-armv7l-licenses.deb
Binary file not shown.
Binary file added debs/OpenCV-4.4.0-armv7l-main.deb
Binary file not shown.
Binary file added debs/OpenCV-4.4.0-armv7l-python.deb
Binary file not shown.
Binary file added debs/OpenCV-4.4.0-armv7l-scripts.deb
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/cpp_opencv_test/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace
{
const int CURRENT_OPENCV_BUILD_MAJOR{ 4 };
const int CURRENT_OPENCV_BUILD_MINOR{ 2 };
const int CURRENT_OPENCV_BUILD_MINOR{ 4 };
const int CURRENT_OPENCV_BUILD_REVISION = { 0 };
const std::string IMAGE{ "tetris_blocks.png" };
}
Expand Down
2 changes: 1 addition & 1 deletion tests/python_opencv_test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import cv2
import sys

CURRENT_OPENCV_BUILD_VERSION = [4, 2, 0]
CURRENT_OPENCV_BUILD_VERSION = [4, 4, 0]


def check_build_info():
Expand Down

0 comments on commit a083a95

Please sign in to comment.