5

sense ai is still trending, what acatly can we do with them that might be useful. ive been using chatgpt for code but the best thing ive got so far is something like pong, i would code myself but i find it way too hard for my brain and i struggle with almost everything. i feel like i could do more with ai but im not sure what.

got any idea or what have you been doing with ai tools?

you are viewing a single comment's thread
view the rest of the comments
[-] CreativeTensors@beehaw.org 2 points 1 year ago

I was doing some photography with a 50mm equivalent prime and didn't want to go back to my car to get a wider lens for a shot that I was a bit too close to get the framing I wanted for. So I took 6 photos of the scene and stitched them together as a panorama with Hugin.

Turns out I was missing the bottom right corner and I had a big black square ruining the shot. So I took the post-processed panorama into GIMP, drew a crude outline of what I thought would be there and used StableDiffusion's Img2Img to generate the missing bit.

A little messy, but better than losing the image entirely.
(Unfortunately the image includes things that would get me doxxed instantly)


As for LLM's. Apparently GIMP doesn't have a bulk export function that exports all active images at once. So instead of exporting 140 images that I had masked for photogrammetry manually one at a time, I asked Bing Chat if it could make me a GimpFu script to batch export.

It gave me this:

from gimpfu import *

def export_all_images():
    for image in gimp.image_list():
        filename = image.filename
        if filename:
            new_filename = filename.rsplit(".", 1)[0] + ".jpg"
            pdb.gimp_file_save(image, image.active_layer, new_filename, new_filename)
        else:
            print("Image has no filename. Skipping.")

export_all_images()

which worked and saved me quite a bit of time.

this post was submitted on 27 Jun 2023
5 points (100.0% liked)

Chat

7483 readers
20 users here now

Relaxed section for discussion and debate that doesn't fit anywhere else. Whether it's advice, how your week is going, a link that's at the back of your mind, or something like that, it can likely go here.


Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS