Facial Detection
3-2. 카메라로 얼굴 객체 검출.ipynb
- Running the cell codeCtrl + Enter
import subprocess
Import the subprocess module
# Facial Recognition with Raspberry Pi Camera
detect_command_face = 'bash ~/ai_example/detect.sh cam_face'
subprocess.call((detect_command_face.split('\n')), shell=True)
Facial Recognition with Raspberry Pi Camera
Executed on Jetson Nano
# terminating the process
kill_command_face = 'bash ~/ai_example/kill.sh camera'
subprocess.call((kill_command_face.split('\n')), shell=True)
Terminating the process