add workflow cpp.

This commit is contained in:
Jordan Hewitt
2024-03-22 17:27:54 -07:00
parent 7d225729ec
commit 2e304394e5
10 changed files with 71 additions and 19 deletions

View File

@ -70,6 +70,11 @@ Frame *new_frame_from_handle(FILE *stream, int w, int h, int depth)
return f;
}
void clean_frame(Frame *f) {
fclose(f->stream);
free(f);
}
#ifdef __cplusplus
openMVG::image::Image<u_char> DartOpenMvg::imageFromFrame(const CFrame *frame)