객체 & 행동 인식
객체 인식 프로그램
노트북 또는 웹캠을 사용하여 실시간 객체 인식 프로그램
파일 구성
real_time_object_detection.py [Download]
MobileNetSSD_deploy.prototxt.txt [Download]
MobileNetSSD_deploy.caffemodel [Download]
requirements.txt [Download]
필요 라이브러리 설치
$ pip3 install -r requirements.txt
객체 인식 프로그램 실행
$ python3 real_time_object_detction.py --prototxt MobileNetSSD_deploy.prototxt.txt --model MobileNetSSD_deploy.caffemodel
real_time_object_detection.py
Classification labels
"background", "aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable", "dog", "horse", "motorbike", "person", "pottedplant", "sheep", "sofa", "train", "tvmonitor"
demo video
행동 인식 프로그램
UCF101 데이터셋을 사용한 행동 인식 프로그램
파일 구성
ar_ucf101.py [Download]
requirements.txt [Download]
필요 라이브러리 설치
$ pip3 install -r requirements.txt
객체 인식 프로그램 실행
$ python3 ar_ucf101.py
ar_ucf101.py
code 102 ~ 103: surfing 영상을 가져와 모델의 입력으로 사용
code 105: I3D model을 tensorflow hub에서 받아와 행동 인식
code 106: 가져온 영상을 예측 (Top 5)