Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
playground:doxycode [2024/01/21 13:45] – lprobsth1 | playground:doxycode [2024/01/21 15:06] (current) – fix language lprobsth1 | ||
---|---|---|---|
Line 49: | Line 49: | ||
} | } | ||
</ | </ | ||
+ | | Here the same example - but with linenumbers enabled. The doxycode code snippet uses the same XML cache file as the example above. || | ||
| <file c [enable_line_numbers=" | | <file c [enable_line_numbers=" | ||
#include " | #include " | ||
Line 96: | Line 97: | ||
} | } | ||
</ | </ | ||
+ | | < | ||
+ | The following example is taken from [[https:// | ||
+ | Building the snippet through the task runner is enabled globally for the tag file. | ||
+ | </ | ||
+ | | <code c> | ||
+ | #include < | ||
+ | cv:: | ||
+ | inputVideo.open(0); | ||
+ | cv:: | ||
+ | cv:: | ||
+ | cv:: | ||
- | + | while (inputVideo.grab()) { | |
- | + | | |
- | + | | |
- | < | + | image.copyTo(imageCopy); |
+ | | ||
+ | std:: | ||
+ | detector.detectMarkers(image, | ||
+ | // if at least one marker detected | ||
+ | if (ids.size() > 0) | ||
+ | cv:: | ||
+ | cv:: | ||
+ | char key = (char) cv:: | ||
+ | if (key == 27) | ||
+ | break; | ||
+ | } | ||
+ | </ | ||
#include < | #include < | ||
cv:: | cv:: | ||
Line 123: | Line 147: | ||
break; | break; | ||
} | } | ||
- | </ | + | </ |