Developer Guide
Welcome to the Silight AI Camera Developer Guide. This section covers everything you need to develop applications for the Silight AI Camera AI Vision Processor.
Development Workflow
flowchart LR
A[Setup] --> B[Develop]
B --> C[Test]
C --> D[Deploy]
D --> E[Optimize]
Core Components
Video Pipeline (GStreamer)
The video processing pipeline uses GStreamer with Hailo-specific plugins:
Camera -> ISP -> DSP -> NN -> Encoder -> Network
AI Inference (Hailo NN Core)
Run neural network models on the dedicated AI accelerator:
| Model | Task | Performance |
|---|---|---|
| YOLOv5 | Object Detection | 100+ FPS @ 1080p |
| ResNet-50 | Classification | 1000+ FPS |
| MobileNet | Edge AI | 2000+ FPS |
Image Processing (ISP)
Control camera settings via v4l2-ctl:
- Auto Exposure
- Auto White Balance
- Auto Focus
Media Library API
C/C++ API for building custom video pipelines:
#include <hailo_media_library.hpp>
// Create pipeline
PipelineConfig config;
config.load_from_json("/usr/bin/frontend_config.json");
// Start processing
MediaPipeline pipeline(config);
pipeline.start();
Prerequisites
Development Host
| Requirement | Minimum | Recommended |
|---|---|---|
| OS | Ubuntu 20.04 | Ubuntu 22.04 LTS |
| RAM | 8 GB | 16 GB |
| Disk | 50 GB | 100 GB |
| Network | 100 Mbps | 1 Gbps |
Cross-Compilation Toolchain
# SDK location
prebuilt/sbc/sdk/poky-glibc-x86_64-*.sh
# Install
./poky-glibc-x86_64-*.sh -y
# Activate
. /opt/poky/4.0.23/environment-setup-armv8a-poky-linux
Quick Links
Hardware
- Technical Specifications - Complete technical specs
Setup
- Cross-Compilation - Set up cross-compilation toolchain
- Image Burning - OS installation
Application Development
SDK
- Media Library - Video processing framework
System Architecture
- System Architecture Overview - System architecture
Example Applications
| Application | Description | Location |
|---|---|---|
| Object Detection | YOLOv5 demo | /home/root/apps/detection/ |
| Camera Viewer | WebUI server | camera-viewer-server |
| Media Library | API examples | GitHub |
Development Tools
| Tool | Purpose | Location |
|---|---|---|
| v4l2-ctl | Camera control | /usr/bin/v4l2-ctl |
| gst-launch-1.0 | GStreamer | /usr/bin/gst-launch-1.0 |
| camera-viewer-server | WebUI | /usr/bin/camera-viewer-server |
Debugging
For development issues, see:
- Troubleshooting - Common problems and solutions
- Boot Issues - Boot debugging
- Camera Issues - Camera debugging
Next Steps
- Review Technical Specifications
- Complete Cross-Compilation Setup
- Run the YOLO Demo
- Study the Media Library for custom development
Support
- GitHub: https://github.com/hailo-ai
- Documentation: Reference Manuals
- Downloads: Resources