Dataset toolingDesktop appMIT

Video Frame Picker

Every computer vision project starts with choosing images. Video Frame Picker turns that chore into a keyboard rhythm: jump through hours of video in steps of 40, 200 or 800 frames, press Space on the moments worth labelling, then run through a folder of photos and keep only the useful ones. Nothing to train and nothing to configure: open a video or a folder and start picking.

Both tools on public street-webcam material: five frames picked from a street video, five photos kept from a folder, and the resulting dataset folders. The repo ships a shorter example video and six photos to try the same workflow. Recorded on Windows, real time except the typing. Footage: public street webcams (Abbey Road, London and Shinjuku, Tokyo).
tools: video frames and photo folders
2
to save the frame or photo on screen
1 key
jump sizes, set with --steps
3
training or configuration
0

01From raw footage to a curated dataset

The frame picker reads the video with OpenCV and only decodes the frame you land on, so jumping through a long recording stays instant. The frame saved is exactly the one on screen, at full resolution. The image picker then walks through any folder of photos and copies the keepers to an output folder, leaving the originals untouched.

01 Video mp4 · mov · avi · 3gp or the file dialog 02 Seek → 40 · ↓ 200 wheel 800 · back ½ 03 Save frame Space · Enter · S full-resolution JPG 04 Photo folder png · jpg · bmp · tiff aspect ratio kept 05 Keep or skip → ← ↓ ↑ Space copies + next 06 Dataset dataset/frames dataset/images
Fig. 01 · The video-to-dataset flow covered by the two tools
Fast seeking
Arrow keys, Up/Down, the mouse wheel and the scrollbar jump by different amounts, so you can skim an hour of footage and still stop on the exact frame.
What you see is what you save
The saved JPG is the frame on screen at the video's own resolution, named after the video and the frame index, so every image can be traced back to its source.
Scriptable start
Pass a video or folder and an --out directory to skip the dialogs; a status line in the window confirms every save.

02One pass, two outputs

Jumping through the video and saving a frame
Jumping through the video and saving a frame
Further along the video, the console logs every saved file
Further along the video, the console logs every saved file
Curating a folder of photos, one key per image
Curating a folder of photos, one key per image

A 15-second example video and six photos live in the repo's examples/ folder, so the same workflow can be tried right after installing.

03Three steps to try it

install
git clone https://github.com/karemdm/video-frame-picker.git
cd video-frame-picker
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pick frames from the example video
python video_frame_picker.py examples/abbey_road_15s.mp4 --out dataset/frames
curate the example photos
python image_picker.py examples/street_photos --out dataset/images

04Why it is built this way

Keyboard first

Choosing images is repetitive; with one key per action the hands stay on the keyboard and the eyes on the image.

Decode only what you see

Seeking jumps straight to the target frame instead of playing the video, so long recordings stay responsive.

Standard library GUI

Tkinter ships with Python, so the only extra packages are OpenCV and Pillow; it runs the same on Windows, macOS and Linux.

Traceable names

File names carry the video name and frame index, which makes it easy to go back to the footage or avoid near-duplicate frames.

Originals untouched

The image picker copies, it never moves or edits, so the source folder stays intact.

Fits the screen

The preview is sized to each video and keeps its aspect ratio, from portrait phone clips to wide 4K footage.