Metadata-Version: 2.4
Name: emberlens-sdk
Version: 0.2.0
Summary: Open Emberlens exports (COCO, YOLO, Pascal VOC) and use them for training.
License-Expression: BSD-3-Clause
Project-URL: Homepage, https://emberlens.app
Project-URL: Source, https://github.com/emberlens/sdk
Keywords: computer vision,dataset,coco,yolo,pascal voc,onnx,emberlens
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Image Recognition
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: images
Requires-Dist: pillow; extra == "images"
Provides-Extra: train
Requires-Dist: pillow; extra == "train"
Requires-Dist: torch; extra == "train"
Requires-Dist: torchvision; extra == "train"
Provides-Extra: onnx
Requires-Dist: onnx; extra == "onnx"
Dynamic: license-file

# Emberlens SDK

Open your Emberlens exports (COCO, YOLO, Pascal VOC) in Python and use them to
train a model. No dependencies for the core library.

## Install

```
python3 -m venv ~/.emberlens
~/.emberlens/bin/pip install emberlens-sdk
```

## Commands

Run each one as `~/.emberlens/bin/emberlens ...`

- `info EXPORT` shows what is in an export (images, classes, boxes).
- `install train` adds the training libraries (Pillow, PyTorch, torchvision).
- `train classify EXPORT` trains an image classifier on your labels.
- `train detect EXPORT` trains an object detector on your labels.
- `install onnx` then `export-model MODEL` writes a model as a `.onnx` file.

EXPORT is the `.zip` from the Emberlens app, or its folder.

## Train in Colab

[Open the notebook](https://colab.research.google.com/github/emberlens/sdk/blob/main/notebooks/train.ipynb)
to train without installing anything.

## Privacy

Everything runs on your computer. The SDK sends nothing anywhere.

## More

[Full guide](https://github.com/emberlens/sdk#readme). BSD 3-Clause licence.
