Open TheRealKraytonian opened 1 month ago
Since it's a multi-step algorithm I think you should investigate a bit more to find exactly which part is causing the problem.
If the problem is in the wrapper you should be able to point to a specific function that gives an unexpected output from given inputs. Otherwise the problem could also be in your implementation.
Summary of your issue
using opencvsharp for rotation/deskewing an Image is not rotating correctly
Environment
OS Name Microsoft Windows 10 Pro System SKU LENOVO_MT_20S0_BU_Think_FM_ThinkPad T14 Gen 1 Processor Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz, 2112 Mhz, 4 Core(s), 8 Logical Total Virtual Memory 60.2 GB
What did you do when you faced the problem?
Played with the some values and given const datastructures
Example code:
Output:
What did you intend to be?
original code: https://becominghuman.ai/how-to-automatically-deskew-straighten-a-text-image-using-opencv-a0c30aed83df