Detecting Dogs
3-3. 카메라로 강아지 객체 검출.ipynb
- Running the cell codeCtrl + Enter
import subprocess
Import the subprocess module
# Detecting dogs with Raspberry Pi Camera
detect_command_dog = 'bash ~/ai_example/detect.sh cam_dog'
subprocess.call((detect_command_dog.split('\n')), shell=True)
Detecting dogs with Raspberry Pi Camera
Executed on Jetson Nano
# terminating the process
kill_command_face = 'bash ~/ai_example/kill.sh camera'
subprocess.call((kill_command_dog.split('\n')), shell=True)
Terminating the process