Skip to content
⚡ Developer documentation for INFINICAM, the real-time high-speed camera (UC-1.1 / GbE-2)

Applications

INFINICAM is a real-time high-speed camera that sends each image to the PC as soon as it is captured. Instead of “capture first, view later” like a conventional high-speed camera, you can capture at 1,000 fps, analyze on the spot, and use the result right away.

This section introduces ways to use that feature, together with programs that actually run.

The simplest experiment, for enjoying what a high-speed camera can capture.

Saving a slow-motion MP4

AvailablePython

Capture 2 seconds at 1,000 fps and save it as an MP4 file that any video player can play in slow motion (about 33x slow motion when played at 30 fps).


Open the page

Applications that analyze each 1,000 fps image as it is captured and show the result on screen right away. The screen also shows the number of frames processed per second (fps) and the number of dropped frames, so you can confirm that the processing keeps up in real time.

Finding moving objects

AvailablePythonC++

Find the areas that moved, every frame at 1,000 fps, from the difference with a slightly earlier frame, and draw boxes around them. The C++ version analyzes the full frame with multiple threads.


Open the page

Measuring the speed of a ball

AvailablePythonC++

Find the position of a white ball or a light spot every 1 ms, and keep showing its speed on screen.


Open the page

Measuring rotation speed

AvailablePythonC++

Keep counting a mark on a fan or motor as it passes, and show the revolutions per minute (rpm) like a meter.


Open the page

Tracking ArUco markers

AvailablePythonC++

Find the position and orientation of a printed marker every frame and show them.


Open the page

Applications that use the analysis result to keep only the scenes you need.

Recording the moment of motion

AvailablePythonC++

Keep watching while holding the last few seconds, and when motion is detected, save the moments before and after it as a slow-motion video (the same idea as a dashcam).


Open the page

Combining with other equipment (demonstrations)

Section titled “Combining with other equipment (demonstrations)”

Demonstrations that combine the GbE-2 and a laptop PC with other equipment. Each page introduces the finished app, how to connect everything, and the source code.

Recording from a phone and watching on the spot

AvailableC++

Connect to the laptop over the web from Chrome on a handheld Android device, start a 1-second recording at 1,000 fps, and watch the slow-motion replay in your hand. No account or app installation is needed.


Open the page

Seeing where a sound comes from

AvailableC++

Find the direction of sound with a microphone array and overlay it in color on the image. When a loud sound occurs, replay and save the 0.5 seconds before and after it in 1,000 fps slow motion.


Open the page

Application Status Language Level Main topics
Saving a slow-motion MP4 Available Python Beginner Continuous capture, writing an MP4 video
Finding moving objects Available Python / C++ Intermediate Frame differencing, contour detection
Measuring the speed of a ball Available Python / C++ Intermediate Centroid calculation, converting pixels to real distances
Measuring rotation speed Available Python / C++ Intermediate Detecting the period from changes in brightness
Tracking ArUco markers Available Python / C++ Advanced Marker detection, estimating position and orientation
Recording the moment of motion Available Python / C++ Intermediate Ring buffer, detecting the trigger, writing a video
Recording from a phone and watching on the spot Available C++ Demo Web server, control over a hotspot, recording compressed data as is
Seeing where a sound comes from Available C++ Demo Microphone array, estimating the direction of sound, cutting out the moments around a sound