- Person
- Bicycle
- Car
- Motorcycle
- Airplane
- Bus
- Train
- Truck
- Boat
- Traffic light
- Fire hydrant
- Stop sign
- Parking meter
- Bench
- Bird
- Cat
- Dog
- Horse
- Sheep
- Cow
- Elephant
- Bear
- Zebra
- Giraffe
- Backpack
- Umbrella
- Handbag
- Tie
- Suitcase
- Frisbee
- Skis
- Snowboard
- Sports ball
- Kite
- Baseball bat
- Baseball glove
- Skateboard
- Surfboard
- Tennis racket
- Bottle
- Wine glass
- Cup
- Fork
- Knife
- Spoon
- Bowl
- Banana
- Apple
- Sandwich
- Orange
- Broccoli
- Carrot
- Hot dog
- Pizza
- Donut
- Cake
- Chair
- Couch
- Potted plant
- Bed
- Dining table
- Toilet
- TV
- Laptop
- Mouse
- Remote
- Keyboard
- Cell phone
- Microwave
- Oven
- Toaster
- Sink
- Refrigerator
- Book
- Clock
- Vase
- Scissors
- Teddy bear
- Hair drier
- Toothbrush
classes=0 하면 사람만 감지한다.
yolo 모델을 변경합니다. "yolov8s.pt
from ultralytics import YOLO
model = YOLO("yolov8s.pt")
results = model.predict(source="0", show=True, device="0" classes=0 )
model = YOLO("yolov8s.pt")
results = model.predict(source="0", show=True, device="0" classes=0 )
'Python' 카테고리의 다른 글
yolo8 & python 3.10 이용한 객체 인식 #5 label 숨기기 (파라메터) (0) | 2023.05.12 |
---|---|
yolo8 & python 3.10 이용한 객체 인식 #4 CCTV 객체 인식하기 (RTSP 지원 CCTV) (0) | 2023.05.12 |
yolo8 & python 3.10 이용한 객체 인식 #3 커스텀 감지(포트홀) (0) | 2023.05.11 |
yolo8 & python 3.10 이용한 객체 인식 #2 웹캠 사용하기 (1) | 2023.05.10 |
yolo8 & python 3.10 이용한 객체 인식 #1 (0) | 2023.05.10 |