From 196455ea9cd637d5c7b6adb215281e1d9b6a8e4f Mon Sep 17 00:00:00 2001 From: "Kim, Mingyu" Date: Wed, 18 Dec 2019 17:18:41 +0900 Subject: [PATCH] Typo --- demos/security_barrier_camera_demo/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/security_barrier_camera_demo/main.cpp b/demos/security_barrier_camera_demo/main.cpp index 3eb25aea05e..2c4b06260e7 100644 --- a/demos/security_barrier_camera_demo/main.cpp +++ b/demos/security_barrier_camera_demo/main.cpp @@ -59,7 +59,7 @@ bool ParseAndCheckCommandLine(int argc, char *argv[]) { struct BboxAndDescr { enum class ObjectType { NONE, - VEHICCLE, + VEHICLE, PLATE, } objectType; cv::Rect rect; @@ -386,7 +386,7 @@ void ResAggregator::process() { switch (bboxAndDescr.objectType) { case BboxAndDescr::ObjectType::NONE: cv::rectangle(sharedVideoFrame->frame, bboxAndDescr.rect, {255, 255, 0}, 4); break; - case BboxAndDescr::ObjectType::VEHICCLE: cv::rectangle(sharedVideoFrame->frame, bboxAndDescr.rect, {0, 255, 0}, 4); + case BboxAndDescr::ObjectType::VEHICLE: cv::rectangle(sharedVideoFrame->frame, bboxAndDescr.rect, {0, 255, 0}, 4); cv::putText(sharedVideoFrame->frame, bboxAndDescr.descr, cv::Point{bboxAndDescr.rect.x, bboxAndDescr.rect.y + 35}, cv::FONT_HERSHEY_COMPLEX, 1.3, cv::Scalar(0, 255, 0), 4); @@ -497,7 +497,7 @@ void DetectionsProcessor::process() { classifiersAggreagator->rawAttributes.lockedPush_back("Vehicle Attributes results:" + attributes.first + ';' + attributes.second + '\n'); } - classifiersAggreagator->push(BboxAndDescr{BboxAndDescr::ObjectType::VEHICCLE, rect, attributes.first + ' ' + attributes.second}); + classifiersAggreagator->push(BboxAndDescr{BboxAndDescr::ObjectType::VEHICLE, rect, attributes.first + ' ' + attributes.second}); context.attributesInfers.inferRequests.lockedPush_back(attributesRequest); }, classifiersAggreagator, std::ref(attributesRequest),