Update examples/5_take_a_picture.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -20,7 +20,7 @@ tello.streamoff()
|
||||
|
||||
# Prepare directory to save
|
||||
script_dir = os.path.dirname(__file__)
|
||||
artifact_folder_path = os.path.join(script_dir, "../artifacts/images")
|
||||
artifact_folder_path = os.path.join(os.path.dirname(script_dir), "artifacts", "images")
|
||||
os.makedirs(artifact_folder_path, exist_ok=True)
|
||||
|
||||
print("[Example] Saving captured picture to:", artifact_folder_path)
|
||||
|
||||
Reference in New Issue
Block a user