Basler Cameras with Vision AI

Add AI to the Basler ace 2 and other GigE and USB 3.0 Basler cameras on your line. Roboflow trains a model on images from your camera and runs it on every frame at the edge, so you can inspect caps, read codes, and measure parts, and send pass or fail results straight to your PLC.

Overhead view of water bottles on a conveyor belt, with one bottle cap highlighted by AI as "cap misaligned."

Basler Cameras AI Vision Solution

Basler is one of the most common machine vision camera makers on factory lines, and its cameras follow the GigE Vision and USB3 Vision standards. Roboflow trains a model on images from your Basler camera and runs it on every frame at the edge, so the camera you already trust for image quality also makes the pass or fail call.

For most new stations we recommend the Basler ace 2 (opens in a new tab). It comes with GigE, 5GigE, 10GigE, USB 3.0 and other interfaces, at resolutions up to 25 MP, with global or rolling shutter sensors in mono and color.

  • Featured: Basler ace 2 (GigE, 5GigE, USB 3.0), up to 25 MP
  • Attributes: Global or rolling shutter, mono or color, UV and SWIR options
  • Integration: Send results to PLCs, MES, and dashboards over OPC UA, MQTT, or Modbus TCP

How to Connect a Basler Camera to Roboflow

There are three common ways to get frames from a Basler camera into a Roboflow model:

  • Deployment Manager, no code: Add a Basler Camera stream to your edge device in Roboflow Deployment Manager, enter the camera's serial number, and choose a Workflow. The camera connects over GigE or USB 3.0, and Roboflow Inference runs the Workflow on every frame or on a trigger. Basler streams are part of Roboflow Enterprise plans.
  • Python with pypylon: Install Basler's pylon Camera Software Suite and the pypylon package, grab frames in a loop, and pass each one to your Workflow with Roboflow Inference. Our guide on how to set up a Basler on a Mac covers pylon, network settings, and a first pypylon script.
  • NVIDIA Jetson: Run the camera and the model on a Jetson at the station, with no PC. Follow how to set up a Basler camera on a Jetson for the pylon ARM install and camera checks.

Tip: a GigE camera needs an IP address on the same subnet as the network adapter it plugs into. If pylon IP Configurator shows the camera as unreachable, give the adapter a static IP on the camera's subnet (for example 192.168.4.10 for a camera at 192.168.4.3) and refresh.

Example App: Bottle Cap Inspection with a Basler Camera

Here is how a beverage or personal care plant can use a Basler ace 2 to catch missing and misaligned caps before bottles are packed:

  • Mount an ace 2 GigE camera over the conveyor just after the capper, with a light that keeps glare off the caps.
  • Capture images of good and bad caps from the line and label them in Roboflow as cap ok, cap missing, and cap misaligned.
  • Train an RF-DETR (opens in a new tab) object detection model on those images in Roboflow.
  • Build a Workflow that runs the model on each frame, flags any bottle with a missing or misaligned cap, and sends a reject signal to the PLC over OPC UA or Modbus TCP.
  • Deploy the Workflow as a Basler Camera stream in Triggered mode, so it runs when a bottle reaches the camera.

See cap and closure inspection for the full use case and defect rejection systems for wiring results to a reject gate. The same camera can check fill level in the same Workflow.

More Applications for Basler Cameras

Whether you run one Basler camera at a test bench or hundreds across plants, you train the model once and push the same Workflow to every station from Deployment Manager.

Run vision models on Roboflow hardware

Roboflow Edge computers and the AI1 Smart Camera arrive ready to run your models. Each one ships with RoboflowOS, the operating system we build and maintain, so fixes and security patches reach your devices over the air without a site visit.

Roboflow Edge computers
  • Settings that survive a restart

    RoboflowOS rebuilds static addresses, gateway, DNS and camera-port tuning from a persistent store each time the device starts.

  • Updates over the air

    Security patches, camera driver fixes and NVIDIA platform upgrades come in from the Roboflow platform, separate from your models and Workflows.

  • Tested on the hardware you get

    We build the inference runtime too, so we test every OS image against it on the same boards we ship.

  • Locked down by default

    The OS image is read-only and ships without SSH, a desktop or a local login. Your team reads logs, checks streams and views telemetry in Deployment Manager, the Roboflow tool for managing devices remotely.

  • Five years of updates included

    Every appliance comes with five years of RoboflowOS updates from the purchase date, plus a one-year hardware warranty.

RoboflowOS on NVIDIA Jetson

  • Smart Camera

    AI1

    The AI1 puts a camera, a light and a computer in one housing. It pairs an 8 MP (3840 x 2160) camera and LED ring with an NVIDIA Jetson Orin NX 8GB. Teams use it to prove out an edge vision project on a fixed inspection view, counting parts a few inches away or spotting defects dozens of feet away.

    Memory
    8 GB
    Cameras and networking
    Integrated 8 MP camera and LED ring1 x GbE
    1 stream
  • Roboflow Edge

    RF-NX16

    The RF-NX16 handles stations with several cameras. It has six PoE ports on a shared 150 W budget, two more GbE ports and an NVIDIA Jetson Orin NX 16GB.

    Memory
    16 GB
    Cameras and networking
    6 x GbE PoE with a 150 W total budget2 x GbE
    1–4 streamsRF-NX16 Spec Sheet
  • Roboflow Edge

    RF-AGX64

    The RF-AGX64 runs higher-resolution cameras and bigger models. It has 64 GB of memory on an NVIDIA Jetson AGX Orin, four PoE ports and two 10 GbE ports.

    Memory
    64 GB
    Cameras and networking
    4 x GbE PoE2 x 10 GbE
    4+ streams, line scanRF-AGX64 Spec Sheet
  • Roboflow Edge

    RF-THOR128

    The RF-THOR128 is our most powerful appliance and runs on the NVIDIA Jetson T5000 with 128 GB of memory. It has one 5 GbE port and a 100 GbE QSFP28 port that breaks out to four 25 GbE links, and its cameras connect through a PoE switch.

    Memory
    128 GB
    Cameras and networking
    1 x 5 GbE and 1 x 100 GbE QSFP28Breaks out to 4 x 25 GbE
    8+ streams, edge VLM inferenceRF-THOR128 Spec Sheet

One GbE PoE camera port

Already running Basler cameras? Connect them to an RF-NX16, RF-AGX64 or RF-THOR128 and manage the whole station from Roboflow.

Not sure which one fits your line?

Send us your cameras, Workflow and line rate, and we’ll create a recommendation for you.

AI for Basler Cameras Workflows

Use Basler cameras? Explore Workflows you can get started with to create computer vision apps in minutes. Easily deploy computer vision models with Roboflow Inference and Basler cameras. Integrate AI by connecting to existing PLC and HMI solutions via standard protocols like MQTT or OPC-UA.

How to Setup Basler Cameras with AI

Basler cameras can be used for computer vision tasks such as object detection and image segmentation. You can use a Basler camera with an NVIDIA Jetson to run computer vision models. There are also scenarios where connecting Basler cameras to a Mac can be useful.

Talk to a Vision AI engineer who's deployed models on Basler cameras.

Bring us your Basler stations and your toughest inspection problem, and we'll map a working solution.

Ask us about:

  • Solution architecture that fits your Basler cameras, lenses, lighting, and line speed
  • A live demo on images and video from your own Basler cameras
  • Deployment options: Jetson at the station, edge, on-prem, or air-gapped, with results sent to your PLC or MES
  • ROI modeling against scrap, rework, and manual inspection time

Over 80,000 organizations build with Roboflow.

  • Rivian
  • Pella
  • Chobani
  • USG Corporation
  • BNSF Railway
  • American Woodmark
Start where you are

Additional resources