unrealities / MTGA_Draft_17Lands

Magic: The Gathering Arena draft tool that utilizes 17Lands data
MIT License
26 stars 1 forks source link

Dataset Wrapper #15

Closed FiYir closed 2 months ago

FiYir commented 2 months ago

I created the wrapper class for the dataset mentioned during the OCR discussion. It has a few methods that should make it easier to integrate your OCR changes with the app.

You can use the get_ids_by_name() method to convert card names from your API to Arena IDs used by the ArenaScanner object. You can handle the API data similarly to pack data read from the log.

Here's an example.

image

unrealities commented 2 months ago

This looks great!