mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-29 13:50:39 +03:00
Modify ClassControllCamera_MakeImage
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "ClassFlowMakeImage.h"
|
||||
#include "Helper.h"
|
||||
#include "ClassLogFile.h"
|
||||
|
||||
#include "CImageBasis.h"
|
||||
#include "ClassControllCamera.h"
|
||||
@@ -99,13 +100,16 @@ bool ClassFlowMakeImage::doFlow(string zwtime)
|
||||
|
||||
int flashdauer = (int) waitbeforepicture * 1000;
|
||||
|
||||
if (debug_detail_heap) LogFile.WriteHeapInfo("ClassFlowMakeImage::doFlow - Before takePictureWithFlash");
|
||||
|
||||
takePictureWithFlash(flashdauer);
|
||||
|
||||
// time(&TimeImageTaken);
|
||||
// localtime(&TimeImageTaken);
|
||||
if (debug_detail_heap) LogFile.WriteHeapInfo("ClassFlowMakeImage::doFlow - After takePictureWithFlash");
|
||||
|
||||
LogImage(logPath, "raw", NULL, NULL, zwtime, rawImage);
|
||||
|
||||
RemoveOldLogs();
|
||||
if (debug_detail_heap) LogFile.WriteHeapInfo("ClassFlowMakeImage::doFlow - After RemoveOldLogs");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -48,3 +48,6 @@ public:
|
||||
~ClassFlowMakeImage(void);
|
||||
};
|
||||
|
||||
|
||||
extern bool debug_detail_heap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user