Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
7a539104
Commit
7a539104
authored
Sep 04, 2013
by
ilya-lavrenov
Committed by
Alexander Alekhin
Oct 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed warning on windows
parent
555c505b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
10 deletions
+23
-10
adaptiveskindetector.cpp
samples/c/adaptiveskindetector.cpp
+4
-1
blobtrack_sample.cpp
samples/c/blobtrack_sample.cpp
+7
-5
OpenEXRimages_HDR_Retina_toneMapping_video.cpp
samples/cpp/OpenEXRimages_HDR_Retina_toneMapping_video.cpp
+4
-0
hybridtrackingsample.cpp
samples/cpp/hybridtrackingsample.cpp
+4
-4
camera_calibration.cpp
...al_code/calib3d/camera_calibration/camera_calibration.cpp
+4
-0
No files found.
samples/c/adaptiveskindetector.cpp
View file @
7a539104
...
...
@@ -34,7 +34,6 @@
//
//M*/
#include <iostream>
#include <cstdio>
#include <cstring>
...
...
@@ -42,6 +41,10 @@
#include "opencv2/contrib/contrib.hpp"
#include "opencv2/highgui/highgui.hpp"
#ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
#endif
static
void
help
(
char
**
argv
)
{
std
::
cout
<<
"
\n
This program demonstrates the contributed flesh detector CvAdaptiveSkinDetector which can be found in contrib.cpp
\n
"
...
...
samples/c/blobtrack_sample.cpp
View file @
7a539104
...
...
@@ -8,11 +8,13 @@
/* Select appropriate case insensitive string comparison function: */
#if defined WIN32 || defined _MSC_VER
#define MY_STRNICMP strnicmp
#define MY_STRICMP stricmp
# define MY_STRNICMP _strnicmp
# define MY_STRICMP _stricmp
# define MY_STRDUP _strdup
#else
#define MY_STRNICMP strncasecmp
#define MY_STRICMP strcasecmp
# define MY_STRNICMP strncasecmp
# define MY_STRICMP strcasecmp
# define MY_STRDUP strdup
#endif
/* List of foreground (FG) DETECTION modules: */
...
...
@@ -239,7 +241,7 @@ static int RunBlobTrackingAuto( CvCapture* pCap, CvBlobTrackerAuto* pTracker,cha
if
(
pS
)
{
char
*
pStr
=
strdup
(
pS
);
char
*
pStr
=
MY_STRDUP
(
pS
);
char
*
pStrFree
=
pStr
;
while
(
pStr
&&
strlen
(
pStr
)
>
0
)
...
...
samples/cpp/OpenEXRimages_HDR_Retina_toneMapping_video.cpp
View file @
7a539104
...
...
@@ -16,6 +16,10 @@
#include "opencv2/opencv.hpp"
#ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
#endif
static
void
help
(
std
::
string
errorMessage
)
{
std
::
cout
<<
"Program init error : "
<<
errorMessage
<<
std
::
endl
;
...
...
samples/cpp/hybridtrackingsample.cpp
View file @
7a539104
...
...
@@ -11,10 +11,6 @@
*
*/
//#include <cv.h>
//#include <ml.h>
//#include <cvaux.h>
//#include <highgui.h>
#include <stdio.h>
#include <time.h>
#include <iostream>
...
...
@@ -22,6 +18,10 @@
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/contrib/hybridtracker.hpp"
#ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
#endif
using
namespace
cv
;
using
namespace
std
;
...
...
samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp
View file @
7a539104
...
...
@@ -8,6 +8,10 @@
#include <opencv2/calib3d/calib3d.hpp>
#include <opencv2/highgui/highgui.hpp>
#ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
#endif
using
namespace
cv
;
using
namespace
std
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment