Metadata-Version: 2.1
Name: heyvi
Version: 0.2.16
Summary: Project Vi
Home-page: https://github.com/visym/heyvi
Author: Visym Labs
Author-email: info@visym.com
License: UNKNOWN
Download-URL: https://github.com/visym/heyvi/archive/0.2.16.tar.gz
Keywords: computer vision machine learning ML CV privacy video image
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: vipy
Requires-Dist: pycollector
Requires-Dist: torch
Requires-Dist: torchvision
Requires-Dist: pyyaml
Requires-Dist: pytorch-lightning
Requires-Dist: ujson
Provides-Extra: all
Requires-Dist: pdoc3 ; extra == 'all'

[![PyPI version](https://badge.fury.io/py/heyvi.svg)](https://badge.fury.io/py/heyvi)

\"Hey Vi!\"
-------------------

HEYVI: Visym Analytics for Visual AI    
docs: https://developer.visym.com/heyvi

HEYVI is a python package for visual AI that provides systems and trained models for activity detection and object tracking in videos.

HEYVI provides:  

* Real time activity detection of the [MEVA activity classes](https://mevadata.org)
* Real time visual object tracking in long duration videos
* Live streaming of annotated videos to youtube live
* Visual AI from RTSP cameras


Requirements
-------------------
python 3.*    
[ffmpeg](https://ffmpeg.org/download.html) (required for videos)    
[vipy](https://github.com/visym/vipy), torch, pytorch_lightning (for training)    


Installation
-------------------

```python
pip install heyvi
```


Quickstart
-------------------
```python
v = heyvi.sensor.rtsp().framerate(5)
T = heyvi.system.Tracker()
with heyvi.system.YoutubeLive(fps=5, encoder='480p') as s:
     T(v, frame_callback=lambda im: s(im.pixelize().annotate()))
```

Create a default RTSP camera and GPU enabled object tracker, then stream the privacy preserving annotated video (e.g. pixelated bounding boxes with captions) to a YouTube live stream.


[![YoutubeLive stream](https://img.youtube.com/vi/rMuuRpBCaVU/maxresdefault.jpg)](https://youtu.be/rMuuRpBCaVU)










