Skip to content

Commit e0662bc

Browse files
committed
Updated readme with Image processing tasks - Adithya S K
1 parent 6d2d433 commit e0662bc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ curl -X POST -F "file=@/path/to/document.docx" http://localhost:8000/parse_docum
187187

188188
### Media Parsing
189189

190-
#### Parse Any Media
190+
<!-- #### Parse Any Media
191191
192192
Endpoint: `/parse_media`
193193
Method: POST
@@ -197,7 +197,7 @@ Parses images, videos, or audio files.
197197
Curl command:
198198
```
199199
curl -X POST -F "file=@/path/to/media_file" http://localhost:8000/parse_media
200-
```
200+
``` -->
201201

202202
#### Parse Image
203203

@@ -218,6 +218,9 @@ Method: POST
218218

219219
Processes an image with a specific task.
220220

221+
Possible task inputs:
222+
`OCR | OCR with Region | Caption | Detailed Caption | More Detailed Caption | Object Detection | Dense Region Caption | Region Proposal`
223+
221224
Curl command:
222225
```
223226
curl -X POST -F "image=@/path/to/image.jpg" -F "task=Caption" -F "prompt=Optional prompt" http://localhost:8000/parse_media/process_image
@@ -265,9 +268,9 @@ Curl command:
265268
```
266269
curl -X POST -H "Content-Type: application/json" -d '{"url": "https://example.com"}' http://localhost:8000/parse_website
267270
```
268-
269271
Arguments:
270272
- `url`: The URL of the website to parse
273+
271274
</details>
272275

273276
## Coming Soon/ RoadMap

0 commit comments

Comments
 (0)