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:
@@ -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];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user