File size: 1,095 Bytes
7e4f6b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
license: mit
title: Omniparser-api
sdk: docker
emoji: 😻
colorFrom: red
colorTo: yellow
---

# Omniparser API

The Omniparser API is a versatile and efficient tool designed to parse, process, and analyze various types of documents or datasets using machine learning models. 

## Features

- Upload and process documents (e.g., images, PDFs).
- Detect objects, text, or patterns within uploaded files.
- Analyze and parse structured or unstructured content.
- Highly configurable thresholds for precision and flexibility.

## How to Use

1. **Upload a Document**: Send a file (e.g., an image or PDF) via the `/process/` endpoint.
2. **Adjust Thresholds**: Configure `box_threshold` and `iou_threshold` for desired accuracy.
3. **Receive Results**: Get a JSON response with parsed content and processed outputs.

## Endpoints

- **`GET /`**: Welcome page for the API.
- **`POST /process/`**: Upload and process a document with configurable thresholds.

## Installation

1. Clone the repository:
   ```bash
   git clone https://github.com/your-username/omniparser-api.git
   cd omniparser-api