Python package provinding tools for artistic interactive applications using AI
Created by ReDrawing Campinas team for the OpenCV AI 2021 Competition.
python -m pip install --upgrade pip
python -m pip install redrawing
Stages are the basic processing units of the redrawing package. They receive data objects from input channels, processes them and output data in the output channels.
Examples of stages:
Stage name | Use |
---|---|
OAK_Stage | Handles a OAK camera. Can be changed using OAK_Substages, like a Body detector or a Hand gesture detector |
PCR_Viewer | Visualizer for image, depth and body pose data |
CameraReceiver/IMUReceiver | Receives data from a smarthphone |
UKF_IMU | UKF filter for orientation estimation using IMU data |
All inter stage data communication occours using Data classes.
Examples of data classes:
Data class | Use |
---|---|
BodyPose | Stores body pose data (keypoints) |
Image | Stores image data |
Depth_Map | Stores depth data |
IMU | Stores IMU data |
For exchange data with client applications, the UDP_Stage can be used, using UDP protocol with JSON converted messages. We also have client libraries for receiving and decoding data:
- redrawing_java: client library for Java
- ReDrawing for Processing: client library for Processing, encapsulates the redrawing_java library
- Artemis Sanchez Moroni
- Cássio Gião Dezzotti
- Daniele Souza Gonçalves
- Elton Cardoso do Nascimento
- Gabriel Tadao Kuae
- Jônatas Manzolli
- Marcela Medicina
- Pedro Victor Vieira de Paiva
- Tiago Fernandes Tavares
- Thiago Danilo Silva de Lacerda
Copyright (c) 2021 ReDrawing Campinas AUTHORS
Submodules in ai_models/third_models submodules may be licensed under other licenses. A copy of the respective license can be found in the submodule folder.
Made with the support of "Conselho Nacional de Desenvolvimento Científico e Tecnológico" (CNPq) of Brazil