Ultralytics YOLO27: Join the waitlist.
License YOLO
Back to Ultralytics Glossary

Edge AI

Edge AI runs models on phones, cameras, vehicles, and robots instead of the cloud, cutting latency and keeping data local. How it works, hardware, uses.

Edge AI is the practice of running artificial intelligence (AI) models on or near the devices that produce the data, such as phones, cameras, vehicles, robots, and factory gateways, instead of sending that data to a remote data center. Processing a camera frame or audio clip where it is captured removes the network round trip, so decisions arrive in milliseconds. The device keeps working without a connection, sensitive inputs stay local for data privacy, and raw video never has to be streamed to the cloud, which saves bandwidth. The price is a tight budget of memory, compute, and power, plus the work of updating models across a fleet of devices.

How Edge AI Works#

Models are usually trained in the cloud on GPUs and then made small and fast enough for the target device. Model quantization to FP16 or INT8, model pruning, and knowledge distillation shrink them, and export converts them to the format an on-device inference engine runs, such as TensorRT on NVIDIA hardware, LiteRT on Android, Core ML on Apple devices, or NCNN on ARM CPUs. The device then runs inference locally and sends upstream only what matters, such as an alert, a count, or a short clip. Those uploads also feed the improvement loop: hard examples collected from the field are labeled, the model is retrained, and the new version goes back to the devices over the air.

Edge AI Hardware#

  • Neural processing units (NPUs): Dedicated accelerators built into most current phone and laptop chips, such as Apple's Neural Engine and Qualcomm's Hexagon NPU, which run quantized models within a phone's power budget.
  • NVIDIA Jetson: Embedded modules that combine an ARM CPU with an NVIDIA GPU for robots, drones, and smart cameras that need GPU-class throughput.
  • Raspberry Pi: Low-cost single-board computers that run small models on their ARM CPU or on add-on accelerator boards.
  • Microcontrollers: The smallest tier, where models of a few hundred kilobytes run on milliwatts of power.

Deploying a Model to the Edge#

Each device class rewards a different export format. On the Raspberry Pi, NCNN is the fastest of the formats Ultralytics benchmarks for Ultralytics YOLO26, and exporting once and loading the exported folder runs the same detector through that engine:

from ultralytics import YOLO

# Load the smallest YOLO26 detection model
model = YOLO("yolo26n.pt")

# Export to NCNN, an inference framework optimized for ARM CPUs
path = model.export(format="ncnn")  # creates 'yolo26n_ncnn_model/'

# Run inference with the exported model, as on the device
ncnn_model = YOLO(path)
results = ncnn_model("https://ultralytics.com/images/bus.jpg")
results[0].save(filename="bus_ncnn.jpg")

The saved image shows the detections computed by the NCNN engine. Applications on the device are often packaged in Docker containers so the same image runs across a fleet of identical boards.

  • Edge computing: The broader practice of processing any data near its source, from filtering sensor readings to caching content. Edge AI is edge computing whose workload is a machine learning model.
  • TinyML: The smallest tier of edge AI, on microcontrollers with kilobytes of memory.
  • Federated learning: Trains a shared model across many devices by sending weight updates instead of raw data. Edge AI usually refers to inference, and federated learning brings training to the same devices.

Applications of Edge AI#

  • Autonomous vehicles: Cars and delivery robots detect pedestrians, vehicles, and lanes on board, because a delayed or dropped connection cannot be allowed to delay braking.
  • Smart cameras: Retail, traffic, and security cameras run object detection locally and send counts or alerts instead of continuous video.
  • Industrial inspection: Cameras on production lines reject defective parts within milliseconds, and vibration sensors on machines flag anomalies before they cause downtime.
  • Smartphones: Phones process photos, transcribe speech, and run small language models on device, such as the roughly 3-billion-parameter model that Apple Intelligence runs on Apple devices and that apps reach through Apple's Foundation Models framework.

Explore solutions

Computer vision in sports

Computer vision in sports

Discover how Ultralytics YOLO powers sports vision with player and ball tracking, performance analytics, coaching insights, and athlete rehabilitation.
Learn more
Computer vision for aerial imagery

Computer vision for aerial imagery

Turn drone and aerial imagery into real-time insights for agriculture, aquaculture, conservation, and geospatial analysis with Ultralytics YOLO.
Learn more
Computer vision in aerospace

Computer vision in aerospace

Apply computer vision in aerospace with Ultralytics YOLO for aircraft inspection, runway FOD detection, airport ground operations, and composite defect detection.
Learn more
Computer vision in security

Computer vision in security

Protect every site with Ultralytics YOLO models. Vision AI powers perimeter monitoring, threat detection, license-plate recognition, and workplace safety.
Learn more
Computer vision in robotics

Computer vision in robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Computer vision in logistics

Computer vision in logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Computer vision in retail

Computer vision in retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Computer vision in healthcare

Computer vision in healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Computer vision in manufacturing

Computer vision in manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Computer vision in automotive

Computer vision in automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Computer vision in agriculture

Computer vision in agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning