csharpfritz / csharpfritz/OilTankVision

SCULLY text might need to be deskewed before calculating the Text height

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
8
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The text bounding rectangles are given as 4-point-tuple (shaped like an array), but the camera might be skewed or tilted, so the height cannot be simply calculated by substracting topleft.y from bottomleft.y.
It might be neccessary to do some vector arithmetic to normalize the rectangle first (get the midpoints of top and bottom border, calculate their distance with Pythagoras).
also, you would get a correction vector that way, that should perhaps be added to all calculations further down.

this might be the real cause for you having to change the test file...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.