General Image Recognition
SimpleTex general image recognition currently supports recognition of various texts in more than 80 languages, as well as LaTeX symbols, matrices, and complex equations. It supports tables, mixed text layouts, document pages, double-column papers, and common handwritten/printed text recognition.
API Call Method
Lightweight model API address: https://server.simpletex.net/api/simpletex_ocr
Model version:
SimpleTex General OCR V1
Interface method:
POST
Request parameters:
Header
: Authentication parameters (UAT or APP information)Body
: Multipart/form-data
Parameter details
Parameter Name | Parameter Type | Required | Description | Example |
---|---|---|---|---|
file | File | Yes | Valid image binary file information, including formats such as png/jpg. Batch processing is not supported, only one image can be uploaded at a time | / |
rec_mode | String | No | Can be filled with "auto", "document", "formula", to specify the type of image to be recognized. If "auto" is used, it will automatically detect; "document" will return markdown document results; "formula" will return LaTeX results | "auto" |
enable_img_rot | Boolean | No | When enabled, the model will automatically correct the orientation of the uploaded image based on 0°, 90°, 180°, 270°. Disabled by default | "false" |
inline_formula_wrapper | String JSON array | No | Used to modify the wrapper symbols for inline formulas in markdown. Enter in JSON format. If the format is incorrect, default wrapper symbols will be used | ["$","$"] |
isolated_formula_wrapper | String JSON array | No | Used to modify the wrapper symbols for isolated line formulas in markdown. Enter in JSON format. If the format is incorrect, default wrapper symbols will be used | ["$$","$$"] |
Pricing
Monthly API Calls (times) | Price (CNY/page) |
---|---|
<1000 | Free |
1000-5000 | 0.1 |
>5000 | 0.04 |
Concurrency Limits | Default Free Quota |
---|---|
Request Processing Concurrency | 1 |
Normal Request QPS | 1 |
Currently, during the testing period, users can automatically receive 50 free recognitions per day.