Skip to content

Added some arguments so that the user can have more freedom on how they scrape.#3

Open
ymorsi7 wants to merge 10 commits intoPrepager:masterfrom
ymorsi7:namus-scraper
Open

Added some arguments so that the user can have more freedom on how they scrape.#3
ymorsi7 wants to merge 10 commits intoPrepager:masterfrom
ymorsi7:namus-scraper

Conversation

@ymorsi7
Copy link

@ymorsi7 ymorsi7 commented Mar 15, 2025

process-faces.py Changes:

  • Complete rewrite with different face extraction method that processes images individually instead of batch pickle storage
  • Argparse implemented (--limit, --input, --model)
  • Added 20% padding around the detected faces
  • Consistent naming format for the output files using the NamUS ID
    • This is done because in our pipeline, we use this ID to match the faces to the correct person
  • Implemented automatic NamUs ID extraction from filepath / filename
  • Implemented skipping for duplicates

scrape-data.py Changes:

  • Argparse implemented (--limit)

scrape-files.py Changes:

  • Argparse implemented (--limit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant