Alexander Smorkalov
66f86e898c
Fixed potential buffer overflow of user file name in create_samples_app
2 years ago
Sean McBride
47bea69322
Merge pull request #23055 from seanm:sprintf2
...
* Replaced most remaining sprintf with snprintf
* Deprecated encodeFormat and introduced new method that takes the buffer length
* Also increased buffer size at call sites to be a little bigger, in case int is 64 bit
2 years ago
Brian Wignall
f9c514b391
Fix spelling typos
...
backport commit 659ffaddb4
5 years ago
Brian Wignall
659ffaddb4
Fix spelling typos
5 years ago
luz.paz
57ccf14952
FIx misc. source and comment typos
...
Found via `codespell -q 3 -S ./3rdparty,./modules -L amin,ang,atleast,dof,endwhile,hist,uint`
backporting of commit: 32aba5e64b
5 years ago
luz.paz
32aba5e64b
FIx misc. source and comment typos
...
Found via `codespell -q 3 -S ./3rdparty,./modules -L amin,ang,atleast,dof,endwhile,hist,uint`
5 years ago
Maksim Shabunin
cbb1e867e5
More issues found by static analysis
6 years ago
Alexander Alekhin
d5951bc033
build: eliminate GCC8 warnings
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
6 years ago
Maksim Shabunin
a2bc075924
cmake: function for application creation ( #11736 )
...
* apps: add Win32 friendly opencv_version app
Improve experience of launching app from explorer:
- application just flash (open/close) the console window
Suggested Win32 application flavor additionally shows MessageBox
and waits for User interaction.
* cmake: added unified application creation function
7 years ago
Alexander Alekhin
cb9b08eca1
createsamples: fix ROI in icvGetBackgroundImage()
7 years ago
Vitaly Tuzov
29faf164b9
Fixed exception when ROI for generated sample is evaluated out of image borders
7 years ago
Suleyman TURKMEN
c5ed507737
Merge pull request #10287 from sturkmen72:update_createsamples_cpp
...
* update createsamples
adds command-line option -rngseed
replaces rand() -> theRNG()
* Update utility.cpp
* apps(createsamples): fix warpPerspective pixels access bug
7 years ago
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
Vitaly Tuzov
92d23fb1a8
updated createsamples app utility functions to new c++ API from old c
7 years ago
Shresth Verma
ffe49bdebe
fixed createsamples info message
7 years ago
StevenPuttemans
6d34d6b47e
update samples: waitKey() usage
...
Original commit is a5f19f7dd6
8 years ago
Bob Paulin
bb8faec885
#6443 Cast maxscale from double to float for scale calculation.
9 years ago
Bob Paulin
b973b73ae7
Add -maxscale parameter to limit the amount sample images can scale in background images
9 years ago
Maksim Shabunin
35b2139929
Basic HAL module
10 years ago
Maksim Shabunin
a5a510da4b
Support for compound modules, support for contrib_world
10 years ago
vbystricky
c48f30d4ec
Move createsamples application from 2.4 version
10 years ago