Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/EhsanKia/CatalogScanner
Scans Animal Crossing: New Horizon catalog from video of user scrolling through.
https://github.com/EhsanKia/CatalogScanner
animal-crossing animal-crossing-new-horizons computer-vision hacktoberfest
Last synced: about 1 month ago
JSON representation
Scans Animal Crossing: New Horizon catalog from video of user scrolling through.
- Host: GitHub
- URL: https://github.com/EhsanKia/CatalogScanner
- Owner: EhsanKia
- License: mit
- Created: 2020-05-01T03:21:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T02:46:19.000Z (about 2 months ago)
- Last Synced: 2024-11-04T03:26:15.869Z (about 2 months ago)
- Topics: animal-crossing, animal-crossing-new-horizons, computer-vision, hacktoberfest
- Language: Python
- Homepage: https://nook.lol
- Size: 79.5 MB
- Stars: 124
- Watchers: 5
- Forks: 17
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred - EhsanKia/CatalogScanner - Scans Animal Crossing: New Horizon catalog from video of user scrolling through. (Python)
README
# CatalogScanner [![Python version](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Script to scan video or screenshots of user scrolling through their AC:NH Nook Shop catalog, DIY recipes list, critters, song list, reactions and more.
This is the source code for the Twitter bot [@CatalogScanner](https://twitter.com/CatalogScanner), which is an automated version of this.
## Installation
This script requires [Python 3](https://www.python.org/downloads/release/python-377/) and [Tesseract-OCR](https://github.com/tesseract-ocr/tesseract/wiki) to work.
You can then install the required libraries using pip and requirements.txt:
```shell
cd CatalogScanner
python3 -m venv .env
.env/Scripts/activate
pip install -r requirements.txt
```## Usage
Before using this script, you need to create a valid video file. There are many types of supported media.
For the full list alongside instructions for each, check out .### Scanning the media
Once you have your video file, you can pass it as the first argument to the script:
```sh
python scanner.py catalog.mp4
```If you have screenshots, you can pass it as is if there is a single one, otherwise you need
to number them starting with 0 and pass the filename with `%d` instead of the numbers.```sh
python scanner.py catalog_%d.png
```By default, it will detect the media type (catalog, recipes, etc), but you can force on with `--mode`.
You can use `--for_sale` to filter out items that are not purchasable,
and you can use `--locale` to adjust the parsed language.
By default, the script prints out the name of all the items found in your catalog video.## Credits
The item name data comes from:
-
-
-