File size: 306 Bytes
faa3bf4
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from ultralytics import YOLO
import argparse

parser = argparse.ArgumentParser(description='Process some integers.')
parser.add_argument('image_path', type=str, help='Path to the image to be processed')

args = parser.parse_args()

model = YOLO("./playing_cards.pt")

results = model(args.image_path)

#%%