File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
security_barrier_camera_demo/cpp Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ void DetectionsProcessor::process() {
496
496
ov::InferRequest& attributesRequest,
497
497
cv::Rect rect,
498
498
Context& context) {
499
- attributesRequest.set_callback ([](const std::exception_ptr& e ) {}); // destroy the stored bind object
499
+ attributesRequest.set_callback ([](std::exception_ptr) {}); // destroy the stored bind object
500
500
501
501
const std::pair<std::string, std::string>& attributes =
502
502
context.detectionsProcessorsContext .vehicleAttributesClassifier .getResults (attributesRequest);
@@ -535,7 +535,7 @@ void DetectionsProcessor::process() {
535
535
ov::InferRequest& lprRequest,
536
536
cv::Rect rect,
537
537
Context& context) {
538
- lprRequest.set_callback ([](const std::exception_ptr& e ) {}); // destroy the stored bind object
538
+ lprRequest.set_callback ([](std::exception_ptr) {}); // destroy the stored bind object
539
539
540
540
std::string result = context.detectionsProcessorsContext .lpr .getResults (lprRequest);
541
541
@@ -593,7 +593,7 @@ void InferTask::process() {
593
593
[](VideoFrame::Ptr sharedVideoFrame,
594
594
ov::InferRequest& inferRequest,
595
595
Context& context) {
596
- inferRequest.set_callback ([](const std::exception_ptr& e ) {}); // destroy the stored bind object
596
+ inferRequest.set_callback ([](std::exception_ptr) {}); // destroy the stored bind object
597
597
tryPush (context.detectionsProcessorsContext .detectionsProcessorsWorker ,
598
598
std::make_shared<DetectionsProcessor>(sharedVideoFrame, &inferRequest));
599
599
}, sharedVideoFrame,
Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ void DetectionsProcessor::process() {
511
511
reidRequest.set_callback (
512
512
std::bind ([](std::shared_ptr<ClassifiersAggregator> classifiersAggregator,
513
513
ov::InferRequest& reidRequest, cv::Rect rect, Context& context) {
514
- reidRequest.set_callback ([](const std::exception_ptr& e ) {}); // destroy the stored bind object
514
+ reidRequest.set_callback ([](std::exception_ptr) {}); // destroy the stored bind object
515
515
std::vector<float > result = context.detectionsProcessorsContext .reid .getResults (reidRequest);
516
516
517
517
classifiersAggregator->push (cv::Rect (rect));
@@ -568,7 +568,7 @@ void InferTask::process() {
568
568
[](VideoFrame::Ptr sharedVideoFrame,
569
569
ov::InferRequest& inferRequest,
570
570
Context& context) {
571
- inferRequest.set_callback ([](const std::exception_ptr& e ) {}); // destroy the stored bind object
571
+ inferRequest.set_callback ([](std::exception_ptr) {}); // destroy the stored bind object
572
572
tryPush (context.detectionsProcessorsContext .reidTasksWorker ,
573
573
std::make_shared<DetectionsProcessor>(sharedVideoFrame, &inferRequest));
574
574
}, sharedVideoFrame,
You can’t perform that action at this time.
0 commit comments