1. [ capture-list ] ( params ) mutable(optional) exception attribute -> ret { body }
2. [ capture-list ] ( params ) -> ret { body }
3. [ capture-list ] ( params ) { body }
4. [ capture-list ] { body }
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <pxcprojection.h> | |
#include <pxcsensemanager.h> | |
#include <pxccapturemanager.h> | |
#include <common/util_render.h> | |
#define WIDTH 640 | |
#define HEIGHT 480 | |
#define MIN_DISTANCE 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <TEXTRecognizer.h> | |
void main() | |
{ | |
TEXTRecognizer textHandler; | |
// std::vector<std::string> lexicon; | |
// lexicon.push_back(std::string("CHINA")); | |
// textHandler.initialize( lexicon ); | |
textHandler.initialize(); |
NOTE: UPGRADE YOUR GCC to V4.8 for this package to work!
$ sudo apt-get update
$ sudo apt-get install gcc-4.8 g++-4.8
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opencv2/opencv.hpp> | |
#include <iostream> | |
const std::string keys = | |
"{help | | print this message }" | |
; | |
int main( int argc, char *argv[] ) | |
{ | |
cv::CommandLineParser parser( argc, argv, keys); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opencv2/opencv.hpp> | |
#include <iostream> | |
const std::string keys = | |
"{help | | print this message }" | |
; | |
int main( int argc, char *argv[] ) | |
{ | |
cv::CommandLineParser parser( argc, argv, keys); |
OlderNewer