Fix segmentation fault on yolo3Detection object copy

This commit fixes a segmentation fault appeared in yolo3 network
updating. Now in Camera_t structure type there is a network pointer.

Signed-off-by: Davide Sapienza <sapienza.dav@gmail.com>
This commit is contained in:
Davide Sapienza
2019-10-18 19:05:42 +02:00
parent d5ae26dfef
commit 1af2b792b8
2 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ struct Camera_t
char *cameraCalib;
char *maskFileOrient;
bool to_show;
tk::dnn::Yolo3Detection yolo;
tk::dnn::Yolo3Detection *yolo;
double adfGeoTransform[6];
};