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 )
6 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
marina.kolpakova
e15bdea663
fix test for new cascade
12 years ago
marina.kolpakova
913faf2ef4
fix test for a new test data
12 years ago
marina.kolpakova
f1b4b13e64
perf test
12 years ago
marina.kolpakova
3e7965a5a5
first debug integration of newly trained cascade
12 years ago
marina.kolpakova
1edab12068
fix for negative confidence
12 years ago
marina.kolpakova
bd9ca48fab
export to python/java
12 years ago
Andrey Kamaev
a126532cb7
Fix OS X build warnings
12 years ago
marina.kolpakova
157ab66ab9
add ROI support
12 years ago