add old lci module

This commit is contained in:
qing committed 2026-08-02 20:15:07 +08:00
1 parent 38a6e815f0
commit 8499631091
171 files changed
+25562

No files matched your search

+16
View File
@@ -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();
}