Skip to content

Commit

Permalink
effects/ObjectDetection: Declare drawPred correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Apr 11, 2021
1 parent c6d9129 commit f5d94d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/effects/ObjectDetection.h
Expand Up @@ -80,9 +80,9 @@ namespace openshot
std::vector<cv::Scalar> classesColor;

/// Init effect settings
void init_effect_details();
void init_effect_details();

void drawPred(int classId, float conf, cv::Rect2d box, cv::Mat& frame);
void drawPred(int classId, float conf, cv::Rect2d box, cv::Mat& frame, int objectNumber);

public:
/// Index of the Tracked Object that was selected to modify it's properties
Expand Down

0 comments on commit f5d94d3

Please sign in to comment.