[HN Gopher] Reading thermometer temperatures over time from a video
___________________________________________________________________
Reading thermometer temperatures over time from a video
Author : saeedesmaili
Score : 11 points
Date : 2023-04-04 06:48 UTC (1 days ago)
(HTM) web link (til.simonwillison.net)
(TXT) w3m dump (til.simonwillison.net)
| [deleted]
| zimpenfish wrote:
| Isn't that an inefficient way to use ffmpeg to extract a frame
| every n seconds? You'll read the first 10 seconds (d/n) times,
| for example.
|
| Probably better to grab the frames and then rename them according
| to the time afterwards (because ffmpeg doesn't yet have
| timestampable output filenames.) ffmpeg -i
| video -fps 1/10 output_%0d.jpg j=10 for i in
| output_*.jpg; do t=$(printf
| "${OUTPUT_DIR}/frame_%02d:%02d:%02d.jpg" $((j/3600))
| $(((j/60)%60)) $((j%60))) mv -f "$i" "$t"
| j=$((j+10)) done
| tablespoon wrote:
| This is an odd approach. Very Rube Goldberg.
|
| I suppose they might have just wanted to whip something up using
| the equipment they had at hand, but you could easily solve the
| same problem with and off-the shelf device:
|
| https://www.amazon.com/Perfect-Prime-4-Channel-Thermometer-T...
|
| Which isn't any more expensive than the thermometer they used:
|
| https://www.amazon.com/Digital-K-type-Thermocouple-Thermomet...
| [deleted]
| Rygian wrote:
| Using AI to figure out what access token to use for an OCR was a
| surprise.
|
| Struggling with OCR picking up unwanted text instead of cropping
| the pictures was also surprising.
___________________________________________________________________
(page generated 2023-04-05 23:00 UTC)