Name: inference-engine-interface
Summary: Interface of inference engines
Version: 0.0.1
-Release: 6
+Release: 7
Group: Multimedia/Framework
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
float* boxes = reinterpret_cast<float*>(inferResults[0]);
float* classes = reinterpret_cast<float*>(inferResults[1]);
float* scores = reinterpret_cast<float*>(inferResults[2]);
- int number_of_detections = (int)(reinterpret_cast<int*>(inferResults[3]));
+ int number_of_detections = (int)(*reinterpret_cast<float*>(inferResults[3]));
int left, top, right, bottom;
cv::Rect loc;
float* classes = reinterpret_cast<float*>(inferResults[1]);
float* scores = reinterpret_cast<float*>(inferResults[2]);
- int number_of_detections = (int)(reinterpret_cast<int*>(inferResults[3]));
+ int number_of_detections = (int)(*reinterpret_cast<float*>(inferResults[3]));
int left, top, right, bottom;
cv::Rect loc;