aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp.test/src/features.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meowpp.test/src/features.cpp')
-rw-r--r--meowpp.test/src/features.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/meowpp.test/src/features.cpp b/meowpp.test/src/features.cpp
new file mode 100644
index 0000000..382dffa
--- /dev/null
+++ b/meowpp.test/src/features.cpp
@@ -0,0 +1,29 @@
+#include <cstdio>
+
+#include "meowpp/Usage.h"
+
+using namespace meow;
+
+Usage usg("features");
+
+int setup(int argc, char** argv) {
+ usg.optionAdd("h" , "Display this help document");
+ usg.optionAdd("help", "Display this help document");
+ usg.optionAdd("i",
+ "Specify the input images are in a directory instead of"
+ " process arguments",
+ "pathname",
+ "",
+ false);
+ usg.optionAdd("o",
+ "Output images with denoting feature points",
+ return 1;
+}
+
+int main(int argc, char** argv) {
+ int ret;
+ if ((ret = setup(argc, argv)) <= 0) return -1;
+ return 0;
+}
+
+