mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 04:56:53 +03:00
@@ -210,12 +210,10 @@ bool ClassFlowAlignment::doFlow(string time)
|
|||||||
ImageTMP->SaveToFile(FormatFileName("/sdcard/img_tmp/alg_roi.jpg"));
|
ImageTMP->SaveToFile(FormatFileName("/sdcard/img_tmp/alg_roi.jpg"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImageTMP) // must be deleted to have memory space for loading tflite
|
// must be deleted to have memory space for loading tflite
|
||||||
{
|
delete ImageTMP;
|
||||||
delete ImageTMP;
|
ImageTMP = NULL;
|
||||||
ImageTMP = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
LoadReferenceAlignmentValues();
|
LoadReferenceAlignmentValues();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user