File size: 1,263 Bytes
993453a
0168d44
 
416320e
0168d44
 
 
 
 
 
 
 
993453a
416320e
0168d44
416320e
0168d44
416320e
 
3d03cee
 
993453a
 
5bb500c
2016065
ef6a896
 
2016065
 
 
 
 
6fdc29b
2016065
ef6a896
2016065
 
ef6a896
2016065
 
ef6a896
2016065
 
ef6a896
5bb500c
2016065
 
 
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
38
39
40
41
42
43
44
45
46
47
48
49
---
library_name: cactus-compute
pipeline_tag: image-text-to-text
license: apache-2.0
language:
  - en
  - de
  - fr
  - es
  - it
  - nl
  - pl
tags:
  - image-to-text
  - object-detection
  - zero-shot-object-detection
  - image-segmentation
  - image-classification
  - zero-shot-image-classification
  - visual-question-answering
  - document-question-answering
---

[![Mirage overview with scene descriptions, object detection, OCR, segmentation, spatial relations and decisions](https://huggingface.co/Cactus-Compute/mirage/resolve/main/assets/overview.png)](https://cactuscompute.com/blog/mirage#sandbox)

# Mirage

A vision model for image understanding and structured extraction.

## Get started

```sh
pip install -U cactus-compute
```

```python
import cactus

print(cactus.Mirage().describe("photo.png"))
```

The package downloads and caches the engine and weights on first use.
This repository provides `mirage.cact`, `mirage.safetensors` and the model config.

- [Model details and playground](https://cactuscompute.com/blog/mirage)
- [Python API](https://cactuscompute.com/blog/needle-python-docs)
- [Runtime binaries and supported platforms](https://huggingface.co/Cactus-Compute/cactus)
- [Source code](https://github.com/cactus-compute/cactus)