Casted Reference from Parent Method
This commit is contained in:
@@ -75,13 +75,13 @@ void ImageManager::ProcessImage(uint32_t width, uint32_t height, uint8_t *imgPoi
|
||||
if (area > fault_area)
|
||||
{
|
||||
drawContours(viewfinder, contours, i, Scalar(ZERO, BITS8, ZERO), 2);
|
||||
//parent->fault_mgr.SaveImage(frame);
|
||||
//((FaultFinder*)(parent()))->fault_mgr.SaveImage(frame);
|
||||
((FaultFinder*)(parent()))->fault_mgr->SaveImage();
|
||||
}
|
||||
}
|
||||
|
||||
// Send image to other servers
|
||||
SendImage(viewfinder);}
|
||||
SendImage(viewfinder);
|
||||
}
|
||||
|
||||
void ImageManager::SendImage(Mat image)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user