[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/jp/ - Otaku Culture

Search:


View post   

>> No.28349675 [View]
File: 87 KB, 1280x720, sicp_stole_the_precious_thing.jpg [View same] [iqdb] [saucenao] [google]
28349675

>>28349646
Linux

>> No.24794403 [DELETED]  [View]
File: 87 KB, 1280x720, maxresdefault.jpg [View same] [iqdb] [saucenao] [google]
24794403

Is this the fated /prog/?

>> No.23892003 [View]
File: 87 KB, 1280x720, sicp_stole_the_precious_thing.jpg [View same] [iqdb] [saucenao] [google]
23892003

>>23640235
I've written a script like this now, using Pillow. I've never used that library before, so your recommendation was helpful: it was very easy to use.
>>23665807
And you are completely right that the cropping is the difficult part. My script assumes that the images are sensibly cropped, ideally square or close enough that the resizing doesn't distort the images.
To automatically crop to faces seems like a machine-learning task, but I'll just do it manually.

The big advantage of placing the images with a script (apart from saving time, assuming you are fluent in the library you are using, which I wasn't), is that you can more easily experiment with different placement of your pre-cropped images. Like, if the Kosuzu guy did it with a script, it'd be much easier to experiment with different placement of the black and white images.

In short, by using a script to automate the menial part of the work, you can pour more of your love into the actual design of the collage.
If anyone has a good solution for cropping the faces, I'd be very interested in hearing about it.

Navigation
View posts[+24][+48][+96]