Skip to content

CVS-156311 fix corner case in contours detection#230

Merged
sovrasov merged 1 commit intomasterfrom
mgumowsk/CVS-156311-convexHull
Nov 8, 2024
Merged

CVS-156311 fix corner case in contours detection#230
sovrasov merged 1 commit intomasterfrom
mgumowsk/CVS-156311-convexHull

Conversation

@mgumowsk
Copy link
Copy Markdown
Contributor

@mgumowsk mgumowsk commented Nov 8, 2024

What does this PR do?

Fixes CVS-155311

This PR fixes corner case, where detected contours were 0:
Calculator::Process() for node "RotatedDetectionCalculator" failed: ; RET_CHECK failure (external/geti_calculators/inference/geti_calculator_base.h:32) false Caught exception with message: OpenCV(4.10.0) /opt/opencv_repo/modules/imgproc/src/convhull.cpp:143: error: (-215:Assertion failed) total >= 0 && (depth == CV_32F || depth == CV_32S) in function 'convexHull'

@mgumowsk mgumowsk requested a review from sovrasov November 8, 2024 09:52
@sovrasov sovrasov added this pull request to the merge queue Nov 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 8, 2024
@sovrasov sovrasov added this pull request to the merge queue Nov 8, 2024
Merged via the queue into master with commit 0da8dc4 Nov 8, 2024
@sovrasov sovrasov deleted the mgumowsk/CVS-156311-convexHull branch November 8, 2024 12:34
@sovrasov sovrasov added this to the 0.2.6 milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants