schwa / MastodonAgain

I did a bad thing.
BSD 3-Clause "New" or "Revised" License
82 stars 3 forks source link

Add Image Description Helper #73

Closed GuyEnglish closed 1 year ago

GuyEnglish commented 1 year ago

Add an ImageDescription struct to help generate alt-text for images. Currently uses the categories, search terms, and detected text returned by Vision framework to provide a simple place holder description.

GuyEnglish commented 1 year ago

Haven't wired this up to any UI yet. I'll see if I can get to that layer. My SwiftUI is pretty rudimentary so I'd rather measure twice and cut once. Meanwhile, hope this is helpful.

schwa commented 1 year ago

No worries. I dont have a description editor in place yet anyways.

Will take a look!

GuyEnglish commented 1 year ago

I managed to botch this.