Skip to content

Commit

Permalink
fix callback for cv_intersectConvexConvex
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyl committed Nov 28, 2024
1 parent 75b1be3 commit 7bd81ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dartcv/imgproc/imgproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1593,6 +1593,9 @@ CvStatus* cv_intersectConvexConvex(VecPoint p1, VecPoint p2, VecPoint* p12, bool
std::vector<cv::Point> _p12;
*rval = cv::intersectConvexConvex(_p1, _p2, _p12, handleNested);
*p12 = vecpoint_cpp2c(_p12);
if (callback != nullptr) {
callback();
}
END_WRAP
}

Expand Down

0 comments on commit 7bd81ec

Please sign in to comment.