Extract JPG frames from MP4 files using Python and Google Colab

I’m working on creating some 3d models of properties that I’m interested in purchasing. In order to do this I need a bunch of JPG files to import them into Open Drone Map. This will create 3d renderings as well as topographic maps. The issue is I only have videos from my DJI. I didn’t actually take pictures. If you google MP4 to JPG there are a bunch of free online tools but there are two issues. The first is there is a maximum file size limit. The second is some will watermark the JPG files.

So here is a small Python script I created that runs on Google Colab. It mounts to your Google Drive so you can easily import and export the videos and images.

If you’re unsure how to mount Google Drive in Colab follow the steps on this other article I wrote on exporting your Audible books to MP3

Leave a Reply

Continue reading

More from the archive

Article Dec 3, 2024 1 min read

YouTube Videos to MP3 and Transcription

I find myself listening to videos on YouTube quite frequently where it would be nice to dump them into an MP3 and take them on the road. This…

Article Sep 24, 2024 40 min read

Analyzing Any Polymarket User’s Trades Using Polygon

Polymarket.com, a prediction market platform, operates on the Ethereum blockchain through the Polygon network, making it possible to analyze user transactions directly from the blockchain. By accessing a…

error

Follow for updates!