Reroll

Role

Creative Technologist / AI & AR Developer

Timeline

Apr–Aug 2026

Tools
PythonPython
SAM 3SAM 3
SwiftSwift
UnityUnity
Watch on YouTube
CHAPTER 01

Why Reroll

Reroll

Reference image → AI-guided prompt

Start with one reference image. Use the phone AR camera to edit objects and add voice tips. AI turns them into a stronger prompt for video generation.

SAM 3 segmentation of objects in the Reroll reference scene
masked objects to be edited in phone AR scene

Traditional Director Tools

3D scene → rendered previs video

Traditional director tools are harder for beginners. They may require building a scene in 3D software and rendering a previs video. Not everyone knows 3D, and the process takes time.

CHAPTER 02

From Image to Editable Scene

YOLOv8-seg separates subjects, while DPT estimates relative depth. Together they turn one image into editable scene data for the iPhone.

Original reference image used by Reroll
Original reference image
YOLOv8-seg detection and DPT relative-depth result
YOLOv8-seg detection + DPT relative depth

Update — SAM 3

Tests showed that SAM 3 produces cleaner segmentation than YOLOv8-seg. Its masks preserve each object's shape, so the AR camera displays object silhouettes instead of boxes.

SAM 3 object masks preserving the shape of detected scene objects
Update: SAM 3 masks preserve object silhouettes for AR
CHAPTER 03

Direct the Scene in AR

Place the detected scene on a surface, then edit each object. The iPhone becomes the camera: move through the space to test angle, framing, and motion.

Reroll phone AR camera following a directed movement path
AR camera path for physical camera movement
Camera path points recorded as structured JSON
Camera path recorded as JSON points
Editable Reroll scene in the iPhone AR camera
Editable AR scene on iPhone

A Unity test validated the JSON pipeline. The prototype then moved to ARKit and RealityKit for a phone-first experience.

CHAPTER 04

Speak Your Direction

Apple's Speech framework uses SFSpeechRecognizer to transcribe each direction. Voice adds action, mood, light, and timing, while every note stays linked to the selected object.

Speech-to-text note attached to an AR object
Object-bound speech-to-text directing note
CHAPTER 05

Final Refined Prompt

An AI agent combines scene objects, camera movement, and the user's edit tips into one refined prompt. That prompt guides the AI video model.

01

Scene Objects

Masks, position, scale, and depth

02

Camera Direction

Angle, framing, and movement path

03

Edit Tips

Voice notes for action, mood, and light

↓ AI AGENT SYNTHESIS ↓
CHAPTER 06

Tool Stack

01

Vision & Segmentation

PythonYOLOv8-segSAM 3DPT
02

iPhone AR

SwiftUIARKitRealityKit
03

Speech & Prompting

Apple SpeechSFSpeechRecognizerAI Agent
04

Early Prototype

Unity
MORE WORK ↓

Explore more