Skip to content

Python package provinding tools for artistic interactive applications using AI

License

Notifications You must be signed in to change notification settings

ReDrawing/redrawing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

redrawing

Python package provinding tools for artistic interactive applications using AI

Created by ReDrawing Campinas team for the OpenCV AI 2021 Competition.

Installation

python -m pip install --upgrade pip
python -m pip install redrawing

Stages

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

Data and communication

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

Authors

Legal

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