Comments (4)
I've ported the project to opencv4, you can check it out here
https://github.com/dnandha/openbr/tree/opencv4-port
It compiles nicely with OpenCV 4.1.0, some SegFaults with newer QT5 versions are also fixed. However, the fork is not downwards compatible to CV2/CV3, and the boost components (boost, adaboost, forest, etc.) need to be rewritten from ground up to work with OpenCV4; so that's a TODO which is marked in the code as such.
If any of the maintainers is interested, please create an appropriate branch here so I would open a PR to merge the port into the branch.
from openbr.
Thank you for sharing this. We have in mind upgrading to OpenCV 4.x, but haven't made the time. We'll take a look at when we're ready to upgrade.
from openbr.
@dnandha hey, I'm trying to build your port but it fails with the following error,
[ 2%] Building CXX object openbr/CMakeFiles/openbr.dir/plugins/imgproc/custom_sift.cpp.o
[ 2%] Linking CXX shared library libopenbr.so
/usr/bin/ld: cannot find -lopencv_contrib
/usr/bin/ld: cannot find -lopencv_nonfree
collect2: error: ld returned 1 exit status
openbr/CMakeFiles/openbr.dir/build.make:10388: recipe for target 'openbr/libopenbr.so.1.1.0' failed
make[2]: *** [openbr/libopenbr.so.1.1.0] Error 1
CMakeFiles/Makefile2:1021: recipe for target 'openbr/CMakeFiles/openbr.dir/all' failed
make[1]: *** [openbr/CMakeFiles/openbr.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
How did you solve this? opencv 4.1.0 doesn't export libopencv_config and nonfree. Is something missing?
from openbr.
@canuysal you need to compile the opencv using the extra modules
you could find the extra module here: https://github.com/opencv/opencv_contrib
After download it please set the CMake variable at this way
cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules <opencv_source_directory>
After that you may be able to use the openbr tool, have fun ^^
from openbr.
Related Issues (20)
- __BEGIN__ is undefined HOT 1
- __END__ is undefined
- Problem in the tests ? HOT 1
- New to this project - about the installation
- Conflict between openbr and dlib
- Build system -- missing QT5 test and opengl v1.1.0 HOT 7
- Clustering usage? understanding rank order neighborhood construction
- Build fails in with VS_2017 and Eigen HOT 1
- Failed to load stasm cascade in FaceRecognition Algorithm
- openbr not working on ubuntu 18.04 HOT 2
- 'br' is not recognized as an internal or external command in windows 10
- Get Fatal Error when try to run "Nmake intall" for building OpenBr HOT 1
- failed to build on windows HOT 1
- Fails to build with OpenCV 3.2.0
- Operating points for ROC curves HOT 4
- CMake Error at openbr/CMakeLists.txt:31 (add_library): Cannot find source file: /usr/local/include/http_parser.c
- how to compute 1:1 face compare accuracy in %
- Missing header file "opencv2/core/core_c.h"
- Fails to build on debian 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openbr.