Skip to content

Latest commit

 

History

History
 
 

gen2-lossless-zooming

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Lossless Zooming

This demo shows how you can achieve lossless zooming on the device. Demo will zoom into the first face it detects. It will crop 4K frames into 1080P, centered around the face. Demo uses face-detection-retail-0004 NN model.

Demo

Lossless Zooming

MJPEG

You can turn MJPEG on or off. It's set to True by default, so cropped 1080P stream will get encoded into MJPEG on the device. On the host, it will just get decoded and shown to the user, but you could also save the MJPEG stream or stream it elsewhere.

Installation

python3 -m pip install -r requirements.txt

Usage

Run the application

python3 main.py