-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
812 additions
and
1,011 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
/* | ||
* DETECTION OBJECT STRUCT | ||
* | ||
* Copyright (c) 2020-2021 Alberto José Tudela Roldán <[email protected]> | ||
* Copyright (c) 2020-2022 Alberto José Tudela Roldán <[email protected]> | ||
* | ||
* This file is part of object_detection_openvino project. | ||
* | ||
* All rights reserved. | ||
* | ||
*/ | ||
|
||
#ifndef DETECTION_OBJECT_H | ||
#define DETECTION_OBJECT_H | ||
#ifndef OBJECT_DETECTION_OPENVINO__DETECTION_OBJECT_HPP_ | ||
#define OBJECT_DETECTION_OPENVINO__DETECTION_OBJECT_HPP_ | ||
|
||
#include <string> | ||
|
||
|
@@ -118,12 +118,7 @@ struct DetectionObject{ | |
} | ||
|
||
/** | ||
* @brief Relational operator of the confidence of the detected object. | ||
* | ||
* @param s2 Object to compare to. | ||
* @return True if the left object has lower confidence than the right one. False, otherwise. | ||
*/ | ||
bool operator<(const DetectionObject &s2) const { | ||
* @brief Relational operator of OBJECT_DETECTION_OPENVINO__YOLO_PARAMS_HPP_bject &s2) const { | ||
return this->confidence < s2.confidence; | ||
} | ||
|
@@ -138,4 +133,4 @@ struct DetectionObject{ | |
} | ||
}; | ||
|
||
#endif | ||
#endif // OBJECT_DETECTION_OPENVINO__DETECTION_OBJECT_HPP_ |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.