Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Save not working #9

@atejada

Description

@atejada

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions