Detecting Oranges - alexnet
1-2. 이미지에서 오렌지 검출 - alexnet.ipynb
- Running the cell codeCtrl + Enter
import subprocess
Import the subprocess module
# Check the original image
run_command_before = 'bash ~/ai_example/show.sh orange before'
subprocess.call((run_command_before.split('\n')), shell=True)
Check the original image
Executed on Jetson Nano
# terminating the process
kill_command_before = 'bash ~/ai_example/kill.sh display'
subprocess.call((kill_command_before.split('\n')), shell=True)
Terminating the process
# Detect objects
detect_command_orange = 'bash ~/ai_example/detect.sh orange_alexnet'
subprocess.call((detect_command_orange.split('\n')), shell=True)
Detecting objects
# Check the detected image
run_command_after = 'bash ~/ai_example/show.sh orange after alexnet'
subprocess.call((run_command_after.split('\n')), shell=True)
Check the detected image
Executed on Jetson Nano
# terminating the process
kill_command_after = 'bash ~/ai_example/kill.sh display'
subprocess.call((kill_command_after.split('\n')), shell=True)
Terminating the process