visionscript
visionscript copied to clipboard
Save not working
Search before asking
- [X] I have searched the VisionScript issues and found no similar bug report.
What is the issue?
Simple example to detect a person and replace with emoji. Last line "Save" is not working:
Load["./AFI_Blood_Tour.jpg"]
Size[]
Say[]
Detect["person"]
Replace["happy-emoji.png"]
Show[]
Save["./photo_with_detections.jpg"]
self.state["image_stack"].save(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'list' object has no attribute 'save'
Environment
- VisionScript: 0.0.6
- Mac: Ventura 13.5.1
- Python: 3.11.15
How can we replicate the bug?
Just run the example, it works but doesn't save the file and the terminal display the error
Additional
No response