Metadata-Version: 2.1
Name: clip-ods
Version: 0.0.1rc2
Summary: This lib is about a simple add-on over CLIP by OpenAI for Unsupervised Object Detection (Zeroshot). You can search bounding boxes of objects using NATURAL LANGUAGE UNDERSTANDING - no classes, only text.
Home-page: UNKNOWN
Author: Alex Shonenkov
Author-email: shonenkov@phystech.edu
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: ftfy (~=5.9)
Requires-Dist: regex (~=2021.4.4)
Requires-Dist: tqdm (~=4.60.0)
Requires-Dist: torch (~=1.7.1)
Requires-Dist: torchvision (~=0.8.2)
Requires-Dist: gdown (~=3.12.2)
Requires-Dist: ensemble-boxes (~=1.0.6)
Requires-Dist: opencv-python (~=4.5.1.48)


## [CLIP ODS] CLIP Object Detection & Segmentation

This repo is about a simple add-on over [CLIP by OpenAI](https://openai.com/blog/clip/) for Unsupervised Object Detection (Zeroshot).
You can search bounding boxes and some regions of objects using NATURAL LANGUAGE UNDERSTANDING - no classes, only text.

[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1273xNBDcbc4XGjJnnB3V8YoYU9aIcBIB?usp=sharing)

![](./pics/example-street-v1.png)
![](./pics/example-dog-v1.png)
![](./pics/example-dog-segm-v1.png)
![](./pics/example-rzhd-segm-v1.png)


## INSTALLING

```
pip install clip_ods
```

## Minimal Examples 
- **ClipDetectionV0:** [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/13B9B1N_nPw1p8e5--F5MoLiXuJoKDKZN?usp=sharing)
- **ClipDetectionV1 (with simple segmentation):** [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1273xNBDcbc4XGjJnnB3V8YoYU9aIcBIB?usp=sharing)

## V0:

![](./pics/example-rzhd.png)
![](./pics/example-detection.png)

## Authors:

- [Alex Shonenkov](https://www.kaggle.com/shonenkov)
- [Sergey Shtekhin](https://www.kaggle.com/shse77)
- [Denis Karachev](https://github.com/thedenk/)

## Supported by:
- [OCRV](http://www.ocrv.ru/)
- [RZD](https://eng.rzd.ru/)




