We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bea61b commit db313ecCopy full SHA for db313ec
demos/crossroad_camera_demo/cpp/detection_person.hpp
@@ -124,7 +124,7 @@ struct PersonDetection : BaseDetection {
124
resultsFetched = true;
125
const float* detections = m_infer_request.get_output_tensor().data<float>();
126
// pretty much regular SSD post-processing
127
- for (int i = 0; i < maxProposalCount; i++) {
+ for (size_t i = 0; i < maxProposalCount; i++) {
128
float image_id = detections[i * objectSize + 0]; // in case of batch
129
if (image_id < 0) {
130
// end of detections
0 commit comments