We built a humanoid robot head that finds you in the room, turns to look at you, and keeps your face in a sharp close-up. All the perception runs on the OAK4 FFC itself: no PC in the loop, no GPU box under the desk.
The point of this project isn't the head. It's how little glue it took: two camera modules, an off-the-shelf servo platform, one PoE cable, OAK Viewer for calibration, and an AI coding agent with Luxonis skills writing the app. Treat it as a starting point. Swap the face for a gripper, a turret or a mobile base and take it your own way.
What the robot does
- Detects people and faces on-device and steers a two-axis servo platform toward the first detected person.
- Crops a high-resolution close-up of the face from the autofocus camera stream.
- Builds a live 3D point cloud from the two cameras working as a stereo pair.

Bill of materials
Everything below is what's visible in the build video. Hardware first, then the software that ties it together.
- OAK4 FFC devkit (1×): the brain. Runs detection, stereo depth and the app, and has 5 FFC camera connectors. The kit includes the PoE module and the M12 PoE cable.
- Luxonis IMX586 autofocus FFC camera module (2×): the robot's "eyes". Sharp color video near or far, and together a stereo pair for 3D. One is enough for face tracking; two give depth.
- FFC ribbon cable, 30 cm (2×): camera module → OAK4 FFC. The cables shipped with the modules are too short for a moving head.
- Off-the-shelf 2-axis servo platform with servo control board (Adeept) (1×): pan and tilt for the head. The board takes commands over USB serial; servos, acrylic base and board come with the platform.
- USB-C cable (1×): OAK4 FFC → servo control board, power and data in one cable. Match the far end to the servo board's USB port.
- PoE+ switch, 30 W per port (802.3at) (1×): powers the whole robot and carries data over the M12 cable. Any PoE+ switch or injector with enough budget works.
- Ethernet cable, Cat5e or better (1×): switch → your computer, for OAK Viewer and deploying the app. Development only.
- 3D-printed humanoid face, front shell + back plate (1 set): holds both camera modules at a fixed baseline. Printed in black; download the STL.
- Mounting hardware (metal rods, screws, nuts, as needed): joins the face shell to the servo platform. Sized to your print and platform.
Software
- OAK Viewer: find the device, set camera extrinsics, run self-calibration and preview streams.
- Luxonis Agent Skills: gives the coding agent up-to-date DepthAI v3 and OAK4 knowledge plus device access.
- AI coding agent (Claude Code, Codex or Cursor): writes, builds and deploys the face-tracking app.
- DepthAI v3: the SDK the generated app runs on.
Building the hardware
The whole build is plug-together. No soldering, no custom PCB, and a single cable to power it.

- Start with the OAK4 FFC devkit. We picked the kit because its PoE module carries power and data over one supplied M12 cable. That matters on a robot: fewer cables to snag when the head moves.
- Mount the cameras in the face. The two IMX586 autofocus modules sit in the eye sockets of a 3D-printed humanoid face. Autofocus keeps the image sharp whether you stand half a meter away or across the room. The fixed spacing between them is the stereo baseline.

- Put the face on the servo platform. We used an off-the-shelf two-axis servo platform, so the head can pan and tilt without designing any mechanics.
- Route the camera cables. The modules plug into two of the five camera connectors on the OAK4 FFC. The stock cables were too short to reach while leaving slack for movement, so we used two 30 cm ribbon cables. Leave a loose loop so the cable doesn't pull when the head tilts.

- Connect the servo board. One USB-C cable from the OAK4 FFC to the servo control board supplies both power and serial data.

- Power it up. Plug the PoE cable from the devkit into a 30 W PoE+ switch. That one port now powers the OAK, both cameras and the servos.
Calibrating the cameras in OAK Viewer
With FFC modules, you decide where the cameras go, so the device needs to be told. Those positions and orientations are the camera extrinsics, and stereo depth is only as good as they are.
We did it in OAK Viewer, the desktop app for managing Luxonis devices:
- Connect the OAK4 FFC from the device list (it shows up over Ethernet through the PoE switch).
- Open Reset Extrinsics. A virtual 3D scene shows each camera and its field of view.
- Pick one camera as the reference (here
CAM_D) and enter where the other (CAM_E) sits relative to it. For our face that was 10 cm along X, with no rotation.

Hand-entered numbers get you close, but not perfect. Because the two views overlap, OAK Viewer's self-calibration then refines the extrinsics from the live scene. No checkerboard, no calibration target, just point it at a room with some texture.
Letting an AI agent write the app
Here's the part that used to take days. We installed the Luxonis Agent Skills into our coding agent and described the robot in plain language. In a couple of minutes the agent had built the face-tracking app, wired it to the servo platform and deployed it directly to the device.
Installing the skills in Claude Code takes three commands:
/plugin marketplace add luxonis/skills
/plugin install luxonis@luxonis
/reload-plugins
Codex and Cursor work too; the docs list their install steps. Then we gave it this prompt, split into two stages so each could be tested on its own:
Let's build a human face-tracking robot: a humanoid head on a servo platform that we need to control. Stage 1: write a program that controls the servo board and moves the humanoid face. Stage 2: write a program that detects people and faces, does a close-up of the face, and builds a point cloud from the stereo cameras. Use the Luxonis skills to detect the connected OAK4 FFC device and develop with it.

The agent found the device on its own and came back with a plan:
- Servo control. Drive the servo board over serial and steer the head toward the first detected person.
- Perception. Detect people and faces, crop a high-res face close-up, and build a point cloud from the stereo cameras.
The result is a closed loop running on the OAK4 FFC: detections give the person's position in the frame, the app turns that offset into pan and tilt commands, and the servo board moves the head until the face is centered.

Where to take it next
That's why the OAK4 FFC is a good fit for expandable robots: you put the cameras where the robot needs them, not where a fixed housing allows. We used two of the five camera connectors, so there's room to grow. A few directions we'd try next:
- Add a wide-angle camera on a third connector for situational awareness, and keep the IMX586 pair for detail and depth.
- Use the point cloud to judge distance, so the head reacts differently to someone walking up versus passing by.
- Ask the agent for a new behavior: follow a specific person, look toward whoever is speaking, or hand off to a gripper.
Resources
Everything you need to recreate this project, plus the official documentation:
Built something with it? Share it on the Luxonis forum. We'd love to see where you take it.