Fastdup
fastdup is a powerful, free tool designed to rapidly generate valuable insights from image and video datasets. It helps enhance the quality of both images and labels, while significantly reducing data operation costs, all with unmatched scalability.
Install / Use
/learn @visual-layer/FastdupREADME
Getting Started
pip install fastdup from PyPI:
pip install fastdup
More installation options are available here.
Initialize and run fastdup:
import fastdup
fd = fastdup.create(input_dir="IMAGE_FOLDER/")
fd.run()
Explore the results in a interactive web UI:
fd.explore()

Alternatively, visualize the result in a static gallery:
fd.vis.duplicates_gallery() # gallery of duplicates
fd.vis.outliers_gallery() # gallery of outliers
fd.vis.component_gallery() # gallery of connected components
fd.vis.stats_gallery() # gallery of image statistics (e.g. blur, brightness, etc.)
fd.vis.similarity_gallery() # gallery of similar images
Check this quickstart tutorial for more info
https://github.com/user-attachments/assets/738a329d-8063-4515-a961-f2527934a0ca
Features & Advantages
fastdup handles labeled/unlabeled datasets in image or video format, providing a range of features:
<div align="center" style="display:flex;flex-direction:column;"> <a href="https://www.visual-layer.com" target="_blank" rel="noopener noreferrer"> <img src="./gallery/fastdup_features_new.png" alt="fastdup" width="1000"> </a> </div>What sets fastdup apart from other similar tools:
- Quality: High-quality analysis to identify duplicates/near-duplicates, outliers, mislabels, broken images, and low-quality images.
- Scale: Highly scalable, capable of processing 400M images on a single CPU machine. Scales up to billions of images.
- Speed: Optimized C++ engine enables high performance even on low-resource CPU machines.
- Privacy: Runs locally or on your cloud infrastructure. Your data stays where it is.
- Ease of use: Works on labeled or unlabeled datasets in image or video format with support for major operating systems like MacOS, Linux and Windows.
Learn from Examples
Learn the basics of fastdup through interactive examples. View the notebooks on GitHub or nbviewer. Even better, run them on Google Colab or Kaggle, for free.
<table> <tr> <td rowspan="4" width="160"> <a href="https://visual-layer.readme.io/docs/quickstart"> <img src="./gallery/cat_dog_thumbnail.jpg" width="200"> </a> </td> <td rowspan="4"> <b>⚡ Quickstart:</b> Learn how to install fastdup, load a dataset and analyze it for potential issues such as duplicates/near-duplicates, broken images, outliers, dark/bright/blurry images, and view visually similar image clusters. If you're new, start here! <br> <br> <b>📌 Dataset:</b> <a href="https://www.robots.ox.ac.uk/~vgg/data/pets/">Oxford-IIIT Pet</a>. </td> <td align="center" width="80"> <a href="https://nbviewer.org/github/visual-layer/fastdup/blob/main/examples/quickstart.ipynb"> <img src="./gallery/nbviewer_logo.png" height="30"> </a> </td> </tr> <tr> <td align="center"> <a href="https://github.com/visual-layer/fastdup/blob/main/examples/quickstart.ipynb"> <img src="./gallery/github_logo.png" height="25"> </a> </td> </tr> <tr> <td align="center"> <a href="https://colab.research.google.com/github/visual-layer/fastdup/blob/main/examples/quickstart.ipynb"> <img src="./gallery/colab_logo.png" height="20"> </a> </td> </tr> <tr> <td align="center"> <a href="https://kaggle.com/kernels/welcome?src=https://github.com/visual-layer/fastdup/blob/main/examples/quickstart.ipynb"> <img src="./gallery/kaggle_logo.png" height="25"> </a> </td> </tr> <!-- ------------------------------------------------------------------- --> <tr> <td rowspan="4" width="160"> <a href="https://visual-layer.readme.io/docs/finding-removing-duplicates"> <img src="gallery/duplicates_horses_thumbnail.jpg" width="200"> </a> </td> <td rowspan="4"> <b>🧹 Finding and Removing Duplicates:</b> Learn how to how to analyze an image dataset for duplicates and near-duplicates. <br> <br> <b>📌 Dataset:</b> <a href="https://www.robots.ox.ac.uk/~vgg/data/pets/">Oxford-IIIT Pet</a>. </td> <td align="center" width="80"> <a href="https://nbviewer.org/github/visual-layer/fastdup/blob/main/examples/finding-removing-duplicates.ipynb"> <img src="./gallery/nbviewer_logo.png" height="30"> </a> </td> </tr> <tr> <td align="center"> <a href="https://github.com/visual-layer/fastdup/blob/main/examples/finding-removing-duplicates.ipynb"> <img src="./gallery/github_logo.png" height="25"> </a> </td> </tr> <tr> <td align="center"> <a href="https://colab.research.google.com/github/visual-layer/fastdup/blob/main/examples/finding-removing-duplicates.ipynb"> <img src="./gallery/colab_logo.png" height="20"> </a> </td> </tr> <tr> <td align="center"> <a href="https://kaggle.com/kernels/welcome?src=https://github.com/visual-layer/fastdup/blob/main/examples/finding-removing-duplicates.ipynb"> <img src="./gallery/kaggle_logo.png" height="25"> </a> </td> </tr> <!-- ------------------------------------------------------------------- --> <tr> <td rowspan="4" width="160"> <a href="https://visual-layer.readme.io/docs/finding-removing-mislabels"> <img src="./gallery/food_thumbnRelated Skills
healthcheck
337.7kHost security hardening and risk-tolerance configuration for OpenClaw deployments
imsg
337.7kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
xurl
337.7kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
claude-opus-4-5-migration
83.3kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
