Skip to content

New instance of TextCleanerScript  #29

Description

@fufurax

Hi,
For personnal project i try to use your project to clean part of picture.

TextCleanerScript<ushort> cleaner = new TextCleanerScript<ushort>(new MagickFactory());
var i = cleaner.Execute(ImageScreen);
if (_DebugSavePics) i.ToBitmap().Save($"ScreenCapture_Cleaner_crop_ocr.png");

it returns a blank (full white) image.

1st step : https://ibb.co/LdPNLQS >> needed data the %
2nd step after crop : https://ibb.co/Bw116xd > small % on previous top right (in my previous step it's 2 %)
3 step : https://ibb.co/cyJZfPj > as you can see there is small points

My goal is to clean image before sending to tesseract.

Thanks for your help

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions