You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short overview
Provide the ability to save an image of the search area from a screen.find(singleWord/textLine) call.
Use case
To more easily debug OCR match fails.
Detailed description
Just like screen.find(image) can be given providerData: { saveSearchImageToFile } to save the search area and input images to disk, OCR should have the same ability, but because there is no search input image, it would just save the search area image.
Additional content
The call would look like this:
awaitnut.screen.find(textLine("this is a test"),{searchRegion: myRegion,providerData: {saveSearchImageToFile: true}}
And it would save the search area (bounded by myRegion) to the current working directory, OR, if specified, to a different provided directory under a given filename.
The text was updated successfully, but these errors were encountered:
Short overview
Provide the ability to save an image of the search area from a
screen.find(singleWord/textLine)
call.Use case
To more easily debug OCR match fails.
Detailed description
Just like
screen.find(image)
can be givenproviderData: { saveSearchImageToFile }
to save the search area and input images to disk, OCR should have the same ability, but because there is no search input image, it would just save the search area image.Additional content
The call would look like this:
And it would save the search area (bounded by
myRegion
) to the current working directory, OR, if specified, to a different provided directory under a given filename.The text was updated successfully, but these errors were encountered: