※ Tensorflow 및 openCV 는 기본적으로 깔려있어야 함.
1. Github에서 소스 코드 다운
git clone https://github.com/EdjeElectronics/TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi
2. 디렉터리 이름 변경 및 해당 디렉터리로 이동
mv TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi TFLite
cd TFLite
3. 패키지 설치(sh.파일 실행)
sh get_pi_requirements.sh
4. 테스트할 모델 다운로드 / 압축 해제
wget https://storage.googleapis.com/download.tensorflow.org/models/tflite/coco_ssd_mobilenet_v1_1.0_quant_2018_06_29.zip
unzip coco_ssd_mobilenet_v1_1.0_quant_2018_06_29.zip -d model
5. 테스트
python3 TFLite_detection_webcam.py --modeldir=model
'엣지컴퓨팅 > 라즈베리파이' 카테고리의 다른 글
화면녹화하기 (0) | 2022.07.26 |
---|---|
오버클럭으로 속도 높이기 (0) | 2022.07.26 |
[에러해결] libEGL warning: DRI2: failed to authenticate (0) | 2022.07.12 |
PyQt 및 Tools 설치 (0) | 2022.07.12 |
라즈봇 센서/모터 GPIO Mapping (0) | 2022.07.06 |