Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Restrict recognition to a sub-rectangle of the image.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
OCR | 2.9 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
x | The x coordinate. | 0 |
y | The y coordinate. | 0 |
width | The width of the rectangle. | 100 |
height | The height of the rectangle. | 100 |
Returns OK on success.
Set Rectangle to 800x600:
MBS( "OCR.SetRectangle"; 0; 0; 800; 600 )
Created 18th August 2014, last changed 20th January 2020
OCR.SetPageSegMode - OCR.SetResolution
Feedback: Report problem or ask question.