Vadim Pisarevsky
82e8657a6d
backport: refined QRCodeDetector API for OpenCV 4.0
6 years ago
Vadim Pisarevsky
8cdf7bb84b
refined QRCodeDetector API for OpenCV 4.0 ( #13086 )
...
* refined QRCodeDetector API for OpenCV 4.0
* expanded and tested QRCodeDetector::detectAndDecode()
6 years ago
Vadim Pisarevsky
b8175f8976
removed the old C API for Haar-based object detection; use CascadeClassifier from now on
6 years ago
Vadim Pisarevsky
0f622206e4
completely new C++ persistence implementation ( #13011 )
...
* integrated the new C++ persistence; removed old persistence; most of OpenCV compiles fine! the tests have not been run yet
* fixed multiple bugs in the new C++ persistence
* fixed raw size of the parsed empty sequences
* [temporarily] excluded obsolete applications traincascade and createsamples from build
* fixed several compiler warnings and multiple test failures
* undo changes in cocoa window rendering (that was fixed in another PR)
* fixed more compile warnings and the remaining test failures (hopefully)
* trying to fix the last little warning
6 years ago
Alexander Nesterov
d305fd4fca
Added perf tests with sanity check
6 years ago
Alexander Alekhin
6d2cfac303
objdetect: validate QRdecode inputs
...
- drop unnecessary matrix initialization
6 years ago
Suleyman TURKMEN
abbb73e894
Update HOGDescriptor
6 years ago
Alexander Nesterov
53ec8f286b
Added QR code decoding.
6 years ago
Alexander Nesterov
1fb7ee0e16
Optimiaztion search template lines and added sample
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Jakub Golinowski
9f1218b00b
Merge pull request #11897 from Jakub-Golinowski:hpx_backend
...
* Add HPX backend for OpenCV implementation
Adds hpx backend for cv::parallel_for_() calls respecting the nstripes chunking parameter. C++ code for the backend is added to modules/core/parallel.cpp. Also, the necessary changes to cmake files are introduced.
Backend can operate in 2 versions (selectable by cmake build option WITH_HPX_STARTSTOP): hpx (runtime always on) and hpx_startstop (start and stop the backend for each cv::parallel_for_() call)
* WIP: Conditionally include hpx_main.hpp to tests in core module
Header hpx_main.hpp is included to both core/perf/perf_main.cpp and core/test/test_main.cpp.
The changes to cmake files for linking hpx library to above mentioned test executalbles are proposed but have issues.
* Add coditional iclusion of hpx_main.hpp to cpp cpu modules
* Remove start/stop version of hpx backend
6 years ago
Alexander Alekhin
8f80565d9c
objdetect(qr): update test code
...
improve error checks
6 years ago
Alexander Nesterov
e38ea3a888
Update detect QRCode algorithm
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
6 years ago
Nesterov Alexander
0081dc478f
Init qrcode algo ( #11829 )
7 years ago
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
7 years ago
Maksim Shabunin
184daa155f
Fixed minor issues reported by GCC 7.2
7 years ago
Alexander Alekhin
737fa519d1
test: use relative error in HOG tests
8 years ago
Alexander Alekhin
771fa5b8ac
test: change EPS in Objdetect_HOGDetector tests
8 years ago
Vadim Pisarevsky
882c0321f4
clip the found objects in HOG as well ( http://code.opencv.org/issues/3825 ); added test to check CascadeClassifier on small images ( http://code.opencv.org/issues/3710 )
10 years ago
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
10 years ago
Alexander Alekhin
55188fe991
world fix
10 years ago
vbystricky
4286f60387
Extract imgcodecs module from highgui
11 years ago
Vadim Pisarevsky
3858f2291d
removed contrib, legacy and softcsscade modules; removed latentsvm and datamatrix detector from objdetect. removed haartraining and sft apps.
...
some of the stuff will be moved to opencv_contrib module.
in order to make this PR pass buildbot, please, comment off opencv_legacy, opencv_contrib and opencv_softcascade test runs.
11 years ago
Ilya Lavrenov
aa5326c231
cv::norm -> cvtest::norm in tests
...
Conflicts:
modules/core/src/stat.cpp
11 years ago
Alexander Karsakov
b14c314fc3
Fixed incorrect thread synchronizations
11 years ago
Ilya Lavrenov
ce0557ebb8
fixed defects from Xcode
11 years ago
Vadim Pisarevsky
30593ee55e
3rd attempt to prepare patch with improved OpenCL kernels of CascadeClassifier.
11 years ago
Konstantin Matskevich
5c38519c65
some changes
11 years ago
Konstantin Matskevich
3ea32b87bb
perf test
11 years ago
Konstantin Matskevich
9a62df1650
HOG
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Roman Donchenko
b12894d95a
Boring changes - objdetect.
11 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
11 years ago
Roman Donchenko
d9f71b762f
Deleted almost all of the precomp.cpp files.
...
Looks like we don't actually use them; when creating precompiled headers
with Visual C++, a dummy .cpp is created at build time.
11 years ago
Roman Donchenko
ac39bfb4cc
Remove HAVE_CVCONFIG_H - it's always defined.
12 years ago
Andrey Kamaev
5e048d1fa5
Move C API of opencv_objdetect to separate file
...
Also move cv::linemod to own header
12 years ago
Andrey Kamaev
0738ea7d0f
Make highgui.hpp independent from C API
12 years ago
Andrey Kamaev
288a0634c2
Make imgproc.hpp independent from C API
12 years ago
Andrey Kamaev
517062039e
Make core/internal.hpp a private header
12 years ago
Andrey Kamaev
4ab650d15b
Remove gcd function from core headers
12 years ago
Andrey Kamaev
2ad7b97f1c
All modules (except ocl and gpu) compiles and pass tests
12 years ago
Andrey Kamaev
ad5cddc007
Main module headers are moved 1 level up
...
e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>
Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
12 years ago
Ilya Lavrenov
8b510ad8dc
sse2 hog
12 years ago
Andrey Kamaev
2a6fb2867e
Remove all using directives for STL namespace and members
...
Made all STL usages explicit to be able automatically find all usages of
particular class or function.
12 years ago
Andrey Kamaev
37d695a62e
Use gtest assertions in cascade test
...
This simplifies test debugging a lot
12 years ago
marina.kolpakova
1b43b0e2df
move soft cascade functionality into dedicated module
12 years ago
Vadim Pisarevsky
638c0d1bf4
fixed compile warnings
12 years ago
Vadim Pisarevsky
18039d7829
added test for the old cvHaarDetectObjects. disabled AVX optimization in haar.cpp. it should cover tickets #2534 , #2591 , #2669
12 years ago
Evgeny Talanin
50c2f87add
Fix and test for #2607
12 years ago