Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
Jon Eyolfson
27cf941284
Remove unused method declarations in hog.cpp
...
The class `App` appears to have two unused methods: `message` and `checkRectSimilarity`. The is no definition or use of either of these methods. This appears to be dead code.
7 years ago
StevenPuttemans
5728f796f6
updating python tutorials + providing necessary data
8 years ago
DozyC
6c4aae98f7
tapi examples - Removing defaults from all command line switches accessed with has()
9 years ago
DozyC
3db19c046b
Fix command line argument handling, fixes #6525
9 years ago
Chuanbo Weng
2b52bb092a
Update hog.cpp
...
Update according to vbystricky's comments
10 years ago
Chuanbo Weng
7452eef6e9
Correctly enable OpenCL mode in tapi's hog example.
...
For current OpenCV-CL architecture, if the data buffer
allocated in UMat are cpu buffer(not ocl buffer) under
cpu mode, and then pass this UMat to an OpenCL kernel
as an argument, the OpenCL path will fail and fallback
to cpu mode. Take HOGDescriptor::oclSvmDetector as an example:
ocl::setUseOpenCL(false);
//data allocated in hog.oclSvmDetector will be cpu buffer
hog.setSVMDetector(HOGDescriptor::getDaimlerPeopleDetector());
ocl::setUseOpenCL(true);
//We enabled OpenCL, but hog.oclSvmDetector are cpu buffer,
//so it will fail in the function ocl_classify_hists
//when reach to this line
//idx = k.set(idx, ocl::KernelArg::PtrReadOnly(detector));
hog.detectMultiScale(img, found, hit_threshold, win_stride,
Size(0, 0), scale, gr_threshold);
Similar problems heppen on img_aux and img. So we should re-define
or re-set these UMat when do mode switch (CPU -> OpenCL) in order
to make their data be allocated by ocl and then OpenCL path will
succeed.
Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com>
10 years ago
Dmitriy Anisimov
1007c06d44
initial commit
10 years ago
vbystricky
d58f736935
Split highgui module to videoio and highgui
10 years ago
vbystricky
4286f60387
Extract imgcodecs module from highgui
11 years ago
Konstantin Matskevich
07778e1760
fixes
11 years ago
Konstantin Matskevich
450ea3131f
samples
11 years ago
Ilya Lavrenov
4d86e2140d
OpenCL examples refactoring
11 years ago
Alexander Alekhin
69c2ef5ed2
ocl: update ocl samples
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
yao
6982ea5a66
some tweaks to samples
12 years ago
yao
f1c549fabf
revise ocl samples, add tvl1 sample
12 years ago
yao
fad96b95ad
add results verification to facedetect and hog samples
12 years ago
Andrey Kamaev
8406312571
Remove C API from OpenCL module
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
89356ff16d
Move non-CV functionality from core.hpp to separate utility.hpp header
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
yao
2fed1fcbff
add an ocl sample
12 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
49a1ba6038
Set stricter warning rules for gcc
13 years ago
Vladislav Vinogradov
d38ca09738
added gpu::printCudaDeviceInfo to all samples
13 years ago
Vladislav Vinogradov
11a5e78042
fixed gpu samples build
13 years ago
Alexey Spizhevoy
a2090a44db
Updated CLI for GPU samples
13 years ago
Alexey Spizhevoy
ea01adb9c9
fixed writing video in HOG sample
14 years ago
Alexey Spizhevoy
4dfbf99dd5
cosmetic changes in gpu module, decreased matchTemplate test running time
14 years ago
Alexey Spizhevoy
1a34fa30f4
video writing via cmd args in hog sample added
14 years ago
Alexey Spizhevoy
ab543b5085
updated gpu hog sample
14 years ago
Alexey Spizhevoy
2f13e4ce58
refactored hog, added camera support into hog_sample
14 years ago
Alexey Spizhevoy
edce202065
added first version of stereo match sample on gpu
14 years ago
Alexey Spizhevoy
a2ace58bb0
gpu hog sample: added support of writing video
14 years ago
Alexey Spizhevoy
0036cabaf2
fixed total FPS evaluation in the GPU HOG sample
14 years ago
Alexey Spizhevoy
df48ad76b0
added support of gamama_correction parameter into gpu::HOGDescriptor, updated tests
14 years ago
Anatoly Baksheev
0e43976259
1) more convenient naming for samples gpu
...
2) added mask support to device 'transform' function
3) sample hog gpu: waitKey(1) -> waitKey(3), in other case image is not displayed.
14 years ago
Anatoly Baksheev
790cd2ef28
just for more convenient naming
14 years ago
Alexey Spizhevoy
4e52df75a7
fixed compiling bug under g++ in gpi HOG sample
14 years ago
Alexey Spizhevoy
fbb6b6f90c
fixed compile bug under g++
14 years ago
Alexey Spizhevoy
11c0c5bf85
added getDescriptors support into gpu HOG, also added commented test for this feature
14 years ago
Alexey Spizhevoy
2d01558479
added different win_stride values feature into gpu HOG, refactored gpu HOG sample
14 years ago
Alexey Spizhevoy
27542529a5
refactored hog GPU
14 years ago
Alexey Spizhevoy
6c326eb4bb
added gpu HOG sample
14 years ago