Skip to content

Latest commit

Β 

History

History
34 lines (19 loc) Β· 1.4 KB

File metadata and controls

34 lines (19 loc) Β· 1.4 KB

πŸš€ Get Up & Running with FocusFrameFinder!

Welcome to the express guide to mastering FocusFrameFinder! 🧭✨

🧰 Prerequisites

  1. Python 3.8 or higher (Because we like to stay updated! πŸ˜‰)
  2. Python packages: cv2, numpy, os, shutil, tqdm (Don't worry, we'll guide you on how to get these!)

πŸ›  Setup & Installation

Alright, enough talk, let's get down to business!

  1. Fork the repo.
  2. Clone the repository: git clone https://github.com/your-github-handle/focusframefinder.git
  3. Navigate to the cloned directory: cd focusframefinder
  4. Install necessary packages: pip install opencv-python numpy tqdm

πŸ•Ή How To Use

  1. Fire up your terminal and run: python focusframefinder.py
  2. You'll be prompted to enter your image directory. Type in the full path, and hit Enter 🏞.
  3. Let the program do its thing! It will calculate the focus measure for each image. (Don't worry, we've got a loading bar to keep you company! πŸ₯³)
  4. Once done, you'll see some nifty stats about your image focus measures - minimum, maximum, average, and median πŸ“Š. This will help you set your blurriness threshold.
  5. You'll be prompted to enter the percentage of blurriest frames you want to move. Type it in and hit Enter 🎯.
  6. Sit back and relax! Your blurry frames will be moved to a new sub-folder called blurry πŸ“¦.

And voila! You've just given your image sequence a blur-free makeover! πŸŽ‰