Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Save not working #9

Open
1 task done
atejada opened this issue Sep 2, 2023 · 0 comments
Open
1 task done

Save not working #9

atejada opened this issue Sep 2, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@atejada
Copy link

atejada commented Sep 2, 2023

Search before asking

  • 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

@atejada atejada added the bug Something isn't working label Sep 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant