wikifaces
Wikipedia "people" Images Dataset Downloader
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 3 committers (66.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.2%) to scientific vocabulary
Repository
Wikipedia "people" Images Dataset Downloader
Basic Info
- Host: GitHub
- Owner: tford9
- License: mit
- Language: Python
- Default Branch: main
- Size: 2.12 MB
Statistics
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
Wiki Faces:
TLDR
This project downloads images from a Wiki that include human faces. Specifically, images that are associated with certain wikipedia categories.
Installation
Pip Installation Procedure:
From PIP:
commandline
pip install wikifaces
From Repo:
commandline
git clone git@github.com:tford9/Wiki-Faces-Downloader.git
cd Wiki-Faces-Downloader
python setup.py
pip install wikifaces
Usage
Command-Line Example
commandline
python downloader -i "indonesian engineers" -o ../data/ -d
Package Example
```python from wikifaces.downloader import WikiFace
wikifaceobj = WikiFace() wikifaceobj.download(categories=['facebook'], depth=2, output_location='../data/') ```
The following structure is output:
facebookcached_1_people_pages_d2.pklcached_pages_d2.pklalan_rushbridgerAlan_Rusbridger_01.jpg-p0.jpg
...mark_zuckerbergMarkZuckerbergcrop.jpg-p1.jpg
...
The process is carried out as follows:
- Given a category from a Wiki, collect n pages that contain the same category as well as at least one category containing "people" in the title.
- With those pages, crawl across their included categories and collect y pages that contain those categories as well as at least one "people" category.
- Given the collected Wiki pages, download the primary image from the page and determine if it is a human face using light facial detection.
- We capture all images from the wiki that contain the name of the page (if it's a person then the filename contains their name),
- Using the captured name and images, we create a dataset for that face.
TODOs:
- Currently, a part of this process uses a recursive call structure to get all related pages; there may be a way to linearize, or parallelize this.
- Currently, we are only pulling images contain the person's name in the title and only have one visible face in the image. All other images are not considered. A voting system should be added to get the most represented faces across multiple images.
Owner
- Name: Trenton Ford
- Login: tford9
- Kind: user
- Location: Williamsburg, VA
- Company: William and Mary
- Website: trentonford.com
- Twitter: Tford224
- Repositories: 22
- Profile: https://github.com/tford9
Assistant Professor @ William and Mary
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Ford" given-names: "Trenton" orcid: "https://orcid.org/0000-0002-2929-5880" title: "Wiki-Faces-Downloader" version: 1.0.6 doi: 10.5281/zenodo.1234 date-released: 2023-05-11 url: "https://github.com/tford9/Wiki-Faces-Downloader"
GitHub Events
Total
Last Year
Committers
Last synced: about 3 years ago
All Time
- Total Commits: 50
- Total Committers: 3
- Avg Commits per committer: 16.667
- Development Distribution Score (DDS): 0.28
Top Committers
| Name | Commits | |
|---|---|---|
| Trenton W. Ford - Desktop | t****d@g****m | 36 |
| Trenton - Linux Box | t****5@n****u | 13 |
| shao72 | s****2@p****u | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- di1l0o (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 51 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 8
- Total maintainers: 1
pypi.org: wikifaces
A downloader for named images containing faces from Wiki servers.
- Homepage: https://github.com/tford9/Wiki-Faces-Downloader
- Documentation: https://wikifaces.readthedocs.io/
- License: MIT License Copyright (c) 2023 Trenton W. Ford Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
Latest release: 1.0.8
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- facenet-pytorch *
- numpy *
- opencv-python *
- pillow *
- pymediawiki *
- requests *
- tqdm *
- facenet-pytorch *
- numpy *
- opencv-python *
- pillow *
- pymediawiki *
- requests *
- tqdm *