Skylark Edge
Skylark Edge

Models and variants

The detection models Skylark Edge runs, what each one detects, the variants a model comes in and the hardware each variant runs on.

Each model is a detector: one image in, every object of every class it knows out. Most are the same models as the Skylark SDK, under the names Skylark Central uses for them. Any active license can download all of them; skylark-edge models lists them, with their current versions.

Models

ModelIn the SDKForInputClasses
cctv_detectionCFAM-CCTVFixed cameras watching streets, sites and public spaces128013
drone_detectionCFAM-AerialDrone footage, top-down or oblique128022
thermal_drone_detectCFAM-Aerial-ThermalDrones in thermal imagery of the sky6401
fod_detectionCFAM-FODForeign object debris on runways, taxiways and aprons19203
uas_detectionCFAM-UASQuadcopters, their payloads, and birds against the sky12803
dash_detection—Dashboard cameras in moving vehicles12808
ocr_detection—The characters on a number plate, in a crop of the plate22436
detr—Everyday objects: a general-purpose detector64080

Input is the square, in pixels, that an image is scaled into before the model sees it. You can pass any size: Skylark Edge scales and pads it, and returns boxes in your image's own pixels.

What each model detects

Class names are exactly as they appear in results, in the order of their classId.

ModelClasses
cctv_detectionperson, face, weapon, head, three_wheeler, four_wheeler, two_wheeler, fire, smoke, vest, helmet_ppe, helmet_bike, number_plate
drone_detectionperson, bicycle, car, van, truck, three_wheeler, bus, motorcycle, machinary-vehicle, animal, large_fire, medium_fire, small_fire, large_smoke, medium_smoke, small_smoke, no_fire, vest, helmet, head, partial_vest, partial_human
thermal_drone_detectDrone
fod_detectionBig, Medium, Small
uas_detectionQuadcopter, Payload, Bird
dash_detectionperson, head, three_wheeler, four_wheeler, two_wheeler, helmet, number_plate, traffic_light
ocr_detection0 to 9, then A to Z
detrThe 80 COCO classes, from person, bicycle and car to toothbrush

A loaded model also lists its classes in model.classes.

Variants

A model can come in more than one build. Skylark Edge runs the ONNX build, the one under the model's plain name, on every supported machine.

VariantPrecisionDownloadRuns onIn Skylark Edge
ONNX FP3232-bit floatFull sizeEvery supported machine, on CPU or GPUYes
ONNX FP1616-bit floatAbout halfNVIDIA GPUs and DirectML; on a CPU, use FP32Planned
TensorRTFP16 or INT8SmallestNVIDIA Jetson, built for one device typePlanned
HailoINT8SmallestHailo-8 and Hailo-8L acceleratorsPlanned

Skylark Central also holds TensorRT and Hailo builds of some models, named after the model with a suffix: cctv_detection_jetson_sm87_trt10.3, cctv_detection_hailo. Skylark's own products use them. Skylark Edge doesn't run them yet, so skylark-edge models leaves them out, and downloading one fails with unsupported_model, naming the ONNX build to use instead. Until they ship, a Jetson runs the ONNX build, and a Hailo accelerator isn't used.

Hardware

Skylark Edge is published for these systems, all with Python 3.10 or newer:

SystemArchitectureONNX Runtime packageRuns on
Linux (glibc 2.28+: Ubuntu 20.04, Debian 10, RHEL 8 and newer)x86-64onnxruntime or onnxruntime-gpuCPU, or NVIDIA GPUs with CUDA 12
Linux, including NVIDIA Jetson with JetPack 6ARM64onnxruntimeCPU; see below for the Jetson GPU
macOS 13 or newerApple silicononnxruntimeCPU
Windows 10 and 11x64onnxruntime, onnxruntime-gpu or onnxruntime-directmlCPU, NVIDIA GPUs, or any DirectX 12 GPU

On a Jetson, PyPI's ONNX Runtime runs on the CPU only. To use the GPU, install NVIDIA's ONNX Runtime build for your JetPack version in place of onnxruntime, then Skylark Edge as usual:

pip install skylark-edge --index-url https://docs.skylarklabs.ai/simple/

Skylark Edge uses whichever ONNX Runtime is installed. Which device a model runs on is chosen when you load it; see Choosing the hardware.