Skip to content

Commit

Permalink
Merge pull request #412 from rblenis/RotatedRectangle_fix
Browse files Browse the repository at this point in the history
Cv2.RotatedRectangle(r1, r2, Point2f[] intersection) throws exception
  • Loading branch information
shimat authored Nov 17, 2017
2 parents 595adc0 + 036f5a9 commit ceaaf2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenCvSharp/Cv2/Cv2_imgproc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3909,7 +3909,7 @@ public static RectanglesIntersectTypes RotatedRectangleIntersection(
{
using (var intersectingRegionVec = new VectorOfPoint2f())
{
int ret = NativeMethods.imgproc_rotatedRectangleIntersection_OutputArray(
int ret = NativeMethods.imgproc_rotatedRectangleIntersection_vector(
rect1, rect2, intersectingRegionVec.CvPtr);
intersectingRegion = intersectingRegionVec.ToArray();
return (RectanglesIntersectTypes) ret;
Expand Down

0 comments on commit ceaaf2a

Please sign in to comment.