TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A Guide to Recording 660FPS Video on a $6 Raspberry Pi Camera

445 pointsby robertelderalmost 6 years ago

15 comments

robertelderalmost 6 years ago
Hi Everyone,<p>I do have it already linked in the article, but I should point out that the work I did is based upon the work of (at least) several other key individuals:<p>A lot of the low-level sensor interaction code is found in:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Hermann-SW&#x2F;fork-raspiraw" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Hermann-SW&#x2F;fork-raspiraw</a><p>Also, check out his web site with lots of other high speed camera hacking stuff:<p><a href="https:&#x2F;&#x2F;stamm-wilbrandt.de&#x2F;en&#x2F;Raspberry_camera.html" rel="nofollow">https:&#x2F;&#x2F;stamm-wilbrandt.de&#x2F;en&#x2F;Raspberry_camera.html</a><p>The original fork of raspiraw is (I think) found here:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;6by9&#x2F;raspiraw" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;6by9&#x2F;raspiraw</a><p>And the code for converting RAW images into standard formats uses dcraw:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Dcraw" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Dcraw</a><p>I didn&#x27;t personally write much code to put this together. I would say that my contribution here was mainly to pull together some impressive work done by others that wasn&#x27;t getting much attention and market it well. Hopefully some of you get ideas and push this even further.
评论 #20631436 未加载
评论 #20680217 未加载
评论 #20632619 未加载
jschwartzialmost 6 years ago
This is amazing. These framerates are 1&#x2F;10th of what a cursory google search says I can get out of a top of the line high-speed camera, but for probably 1&#x2F;100th the price. You could make so many awesome instructional videos with a tool like this.
评论 #20629845 未加载
评论 #20633563 未加载
评论 #20629025 未加载
评论 #20629390 未加载
canada_dryalmost 6 years ago
&gt; processor registers on the image sensor are set so that raw data is sent continuously (to be processed later)<p>Very slick.<p>Make me wonder what crazy high-speed imaging hacks might be possible with a top-of-the-line sensor used in iPhone&#x2F;Pixel phones.
评论 #20630797 未加载
londons_explorealmost 6 years ago
The demo videos don&#x27;t have a good black level.<p>Is this processing method perhaps not using a correct dark image, or not correctly subtracting off the shaded calibration rows on the sensor?<p>If thats the case, it&#x27;s probably screwing with the gamma conversion, making it look even worse.
评论 #20631653 未加载
an4rchyalmost 6 years ago
Wow. Never thought about this approach to leveraging RAM for cameras. Awesome guide!<p>Can anybody chime in regarding the resolution limit (640x64) -- If this is for memory reasons, could we pick alternate values such as 200x200 as long as the total pixel count is the same?
评论 #20630184 未加载
评论 #20633515 未加载
评论 #20629645 未加载
评论 #20630263 未加载
jermaustin1almost 6 years ago
I read through, and I didn&#x27;t find a reason that the resolution is 640x64@660 other than that is what was input into the raspiraw program.<p>Could this record at a higher resolution?
评论 #20630380 未加载
评论 #20631034 未加载
评论 #20633504 未加载
评论 #20629329 未加载
评论 #20629370 未加载
tinixalmost 6 years ago
if you put the sensor on a really fast step motor, you can pivot the sensor a tiny bit in two dimensions, to get way more resolution out of it, at a loss of framerate, and you&#x27;ll need to do some post processing.<p>something like this: <a href="https:&#x2F;&#x2F;chriseyrewalker.com&#x2F;the-hi-res-mode-of-the-olympus-om-d-e-m1-mark-ii&#x2F;" rel="nofollow">https:&#x2F;&#x2F;chriseyrewalker.com&#x2F;the-hi-res-mode-of-the-olympus-o...</a>
评论 #20630660 未加载
评论 #20631014 未加载
bavellalmost 6 years ago
Resolution: 640x64
评论 #20628964 未加载
评论 #20629027 未加载
Noctemalmost 6 years ago
What was the lighting setup like for the demo videos? Did you do any processing to reduce flicker?<p>I get a lot of flickering from CFL and incandescent bulbs in my 240 FPS videos, though I’ve had better results with some LEDs. Considering how much light I’ve needed for good videos at 240 FPS, I’d imagine the lighting requirements at 660-1000 are fairly immense.
评论 #20631367 未加载
评论 #20633478 未加载
vorticoalmost 6 years ago
Are there any cameras at a higher price with better stats, but still lower than $2k for a used Chronos 1.4GP&#x2F;s? I wouldn&#x27;t mind buying a $1k camera to get 720p 1000+ fps.
评论 #20630390 未加载
alvernalmost 6 years ago
1107 fps on the V2 IMX219 camera. I wonder how fast or how large of a frame it could do on a Pi4 or odroid (article mentions the 640x64 frame is limited by memory bandwidth).
评论 #20633459 未加载
评论 #20629386 未加载
novaRomalmost 6 years ago
Everything is doable if you have detailed description of the sensor. Do you know any sensor to get a better resolution with comparable frame rate and detailed specs?<p>Can RAM limits be improved with a simple compression?
评论 #20629591 未加载
sytelusalmost 6 years ago
Very cool. Can this camera also be hacked for amplified sensor reading for night vision? Infrared or UV photography? Long exposure photography?
评论 #20642540 未加载
person_of_coloralmost 6 years ago
Could you stream the frames over 10G LAN to record longer videos?
评论 #20645958 未加载
yeahdefalmost 6 years ago
very impressive.