ArtResourceCollector is a tool for collecting image names from a folder and retrieving related summaries from Wikipedia, then saving this information into an Excel file.
Make sure you have the following dependencies installed:
openpyxlwikipedia-api
You can install these dependencies using the following command:
pip install -r
requirements.txt- Update the
image_foldervariable in theexcle.pyfile with the path to your image folder. - Run the
excle.pyscript:
python
excle.py- The script will iterate through all image files in the folder, get the file names, retrieve related summaries from Wikipedia, and save this information into the
art_resources_0.xlsxfile.
.DS_Store
excle.py
requirements.txt
excle.py: Main script file.requirements.txt: Dependencies file.
- Make sure the path to your image folder is correct.
- Ensure you have a stable internet connection to access the Wikipedia API.
This project is licensed under the MIT License. For more information, see the LICENSE file.