starter_video.cpp hid local functions
This commit is contained in:
parent
3441b2df65
commit
69c626e720
@ -19,6 +19,8 @@
|
||||
using namespace cv;
|
||||
using namespace std;
|
||||
|
||||
//hide the local functions in an anon namespace
|
||||
namespace {
|
||||
void help(char** av) {
|
||||
cout << "The program captures frames from a video file, image sequence (01.jpg, 02.jpg ... 10.jpg) or camera connected to your computer." << endl
|
||||
<< "Usage:\n" << av[0] << " <video file, image sequence or device number>" << endl
|
||||
@ -64,6 +66,7 @@ int process(VideoCapture& capture) {
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
int main(int ac, char** av) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user