# Blocks

A block is a basic unit of processing. Some blocks have both input and output and some blocks have only either input or output. For output-only blocks, those are image or video sources which generate data. For input-only blocks, they are the data sink.

# Input

Block name Community Business Enterprise Functions
Camera ✅ ✅ ✅ It takes image input from a connected web camera.
Image file ✅ ✅ ✅ It takes image input from a uploaded file.
MJPEG ✅ ✅ It takes input of images from a MJPEG HTTP or HTTPS stream.
RTSP ✅ It takes input of images from a publicly-available RTSP stream.
Video file ✅ ✅ It takes input of images from a MP4 video with H.264 or H.265 format.
YouTube ✅ ✅ It takes input of images from a YouTube video.

# AI

Block name Community Business Enterprise Functions
Detect ✅ ✅ ✅ It classifies or detects object(s) from an input image.
OCR ✅ ✅ ✅ It recognizes text from an input image.
Pose ✅ ✅ ✅ It identifies human pose.
Anomaly ✅ ✅ ✅ It identifies anomalies in an image.
Track ✅ ✅ ✅ It tracks and identifies a set of objects.

# Augmentation

Block name Community Business Enterprise Functions
Crop ✅ ✅ ✅ It crops multiple regions of an image.
Resize ✅ ✅ ✅ It resizes an image.
Redact ✅ ✅ ✅ It redacts those areas which are marked by the bounding boxes.
Blur ✅ ✅ ✅ It blurs the whole image.
Black and white ✅ ✅ ✅ It makes the image black and white.
Mask ✅ ✅ ✅ It crops the image using the first bounding box.
Rotate ✅ ✅ ✅ It rotates the whole image.
Flip ✅ ✅ ✅ It flips the image horizontally or vertically.

# Train

Block name Community Business Enterprise Functions
Train ✅ ✅ ✅ It trains a model using connected datasets.
Dataset ✅ ✅ ✅ It contains a collection of images.
Annotated dataset ✅ ✅ ✅ It contains a collection of images with bounding boxes.
Merge dataset ✅ ✅ ✅ It merges datasets and annotated datasets into one single dataset.

# Output

Block name Community Business Enterprise Functions
Image output ✅ ✅ ✅ It returns an image.
Recorder ✅ ✅ It records a video when an event is triggered.
Chart ✅ ✅ ✅ It records values and plots a line chart.
Bar ✅ ✅ ✅ It plots a bar chart with input values.
Number ✅ ✅ ✅ It shows a value.
Bounding box ✅ ✅ ✅ It draws bounding boxes on top of an image.
Key point ✅ ✅ ✅ It draws key points on top of an image.
MJPEG output ✅ ✅ It produces a MJPEG output stream.
RTSP output ✅ It produces a RTSP output stream.
Media storage ✅ ✅ ✅ It stores images in a media library.

# Integration

Block name Community Business Enterprise Functions
Webhook ✅ ✅ ✅ It triggers an webhook when a non-null value is received.
Python ✅ ✅ ✅ It executes custom Python codes and provides an endpoint.
JavaScript ✅ ✅ ✅ It executes custom JavaScript codes and provides an endpoint.

# Presentation

Block name Community Business Enterprise Functions
Markdown ✅ ✅ ✅ It presents a text using markdown.
Avatar camera ✅ ✅ ✅ It shows a rounded camera video.