Built on Muse Spark and SAM 3.1 through the Meta Model API. Open source.

Point a phone at an experiment. Get a measurement, with error bars.

Measuring motion usually takes a stopwatch and a guess, or a high-speed camera. Isochron AI is a measuring instrument in a phone video: Muse Spark finds the moving object, SAM 3.1 follows it on every frame, tested code fits the physics with an error bar, and an agent checks its own predictions blind.

Precision of a pendulum's period from one 34-second phone video
0.02 %
A hand stopwatch is limited by human reaction time.
Blind predictions confirmed, each made before its video existed
2 of 4
The other two came out 2.2 σ short, the same way: the tape measure, not the clock.
Error in g on low-contrast test videos, tracked with SAM 3.1
0.03 %
A tracker without a model lost the object in 5 of 6.
Measure your video
75 tests in CILab notebook and agent logs in the repositoryNo sign-inMIT licence

From a video to a measurement in four steps.

The models look and track; every number is computed by code that is tested against videos with a known answer. The AI never does the arithmetic.

1

Film it

Any phone, held still. Exact frame times are read from the file (phones record a variable frame rate), and camera shake is measured and removed.

Code
2

Look at it

Muse Spark sees ten frames, names the experiment, picks the object and the first frame where it moves freely, and points out problems with the setup.

Muse Spark
3

Track it

SAM 3.1 gets one point on that frame and returns a mask of the object on every frame after it. Its centre is the measured position, to a fraction of a pixel.

SAM 3.1
4

Measure, predict, check

Competing models are fitted and compared; uncertainties are propagated. An agent registers a prediction for the next experiment and verifies it blind.

Code + Muse Spark agent

What it measures today.

A period, a damping rate, a bounce, a vibration: a number with an honest error bar. The video-to-motion part is the same for any moving object; each kind of experiment adds its own physics.

Pendulum

A weight on a string.

  • Period and small-angle period
  • g, from the period and the length
  • Which damping law the data supports
Real result: T₀ = 1.6650 ± 0.0004 s from a 32-second video; g to about 1 %, limited by the tape measure.

Bouncing ball

Drop a ball on a hard floor.

  • Bounciness (coefficient of restitution)
  • Impact times to about a millisecond on 30 fps
  • How far it fell, measured two independent ways
Real result: e = 0.8638 ± 0.0004 for a golf ball on laminate, 8 impacts.

Anything that oscillates

A spring, a ruler on a table edge, a swing, a branch.

  • Period and frequency
  • Damping rate and quality factor Q
  • No length or scale needed
Same fits as the pendulum, without the pendulum-only steps.

Measure your own experiment.

Checking whether live runs are on…

  1. Film itPhone still, the whole motion in view.
  2. Muse Spark looksFinds the object and the moment it is let go.
  3. SAM 3.1 tracksA mask of the object on every frame.
  4. Measured, with error barsThe model the data supports, and how sure it is.

Auto: Muse Spark decides what the experiment is.

From where the string is held to the centre of the bob. Without it you get the period, not g.
Optional. Floor to the bottom of the ball.
Record
or

10–40 seconds, up to 45. Let go without pushing; keep a swing under 25°. Your video is deleted after the measurement.

Predictions made before the experiment.

A prediction counts only if it was written down before the video existed. The agent froze each one in its lab notebook. This is every one of them, including those that failed, and why.

PredictionOfPredictedMeasuredOff byVerdictTested by

Every miss traces back to the ruler. The ball was released from 31–34 cm instead of 30; the instrument measured the drop heights itself, from the timing and from the pixels, and the two agree within half a centimetre. In P3 and P4 the periods imply a pendulum 4 and 9 mm shorter than the tape said (about 5 and 11 mm once a one-frame glitch in the phone's timestamps, found afterwards, is removed): the same direction twice, in the same setup under a desk, where Muse Spark had noted that the pivot was hidden. The tape is good to about ±5 mm, not the ±3 mm we assumed.

Where SAM 3.1 earns its place.

81 test videos with a known g, each made harder in one way, measured once with SAM 3.1 and once with a tracker that uses no model (background subtraction).

ConditionWithout a modelWith SAM 3.1
Ball 40 grey levels brighter than the backgroundlost in 2 of 30.03 %, 3 of 3
Ball 15 grey levels brighter than the backgroundlost in 3 of 30.025 %, 3 of 3
Strong damping: the swing dies in secondsflagged unreliable0.10 %
Normal conditions0.005 %0.000–0.010 %
Heavy sensor noise0.04 %0.09 %, error bar slightly optimistic

Robust in both: motion blur over a whole frame, 15–60 fps, 5–30 s recordings, a phone rolled by 20°, camera shake up to 25 px, rolling shutter up to 33 ms. Full tables.

Measured on real phone videos.

Each of these is a phone video run through this code. No API calls happen on this page; the tracks, fits and logs are in the repository.

Run it yourself.

Everything on this page is the open-source command line, with a Meta Model API key.

Measure a video

Muse Spark sets it up, SAM 3.1 tracks, the physics is fitted.

pip install -e ".[web]"
python -m galileo.cli look     video.mp4
python -m galileo.cli pendulum video.mp4 --auto --length 0.489
python -m galileo.cli bounce   video.mp4 --auto --drop-height 0.30
python -m galileo.cli oscillate video.mp4 --auto

Let the agent run the lab

Add experiments to the notebook; the agent picks the model, estimates g, predicts the next experiment and checks it when you film it.

python -m galileo.cli lab add runs/video/track.csv --length 0.489
python -m galileo.cli agent
python -m galileo.cli lab show
uvicorn galileo.web:app --port 7860   # this site