add old lci module
This commit is contained in:
1 parent
38a6e815f0
commit
8499631091
171 files changed
+25562
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#include <iostream>
|
||||
#include "hd/Camera.h"
|
||||
|
||||
int main() {
|
||||
|
||||
Camera_init(640, 480);
|
||||
|
||||
std::string imgpath = std::to_string(time(NULL)) + ".jpeg";
|
||||
std::string txtpath =std::to_string(time(NULL)) + ".txt";
|
||||
|
||||
bool flag;
|
||||
auto img = get_frame_from_camera(flag);
|
||||
img.save(imgpath.c_str());
|
||||
|
||||
Camera_close();
|
||||
}
|
||||
Reference in new issue
Block a user