dhowe / AdLiPo

Replacing ads with generative language
https://rednoise.org/adlipo
2 stars 4 forks source link

Collect large images for specified resolutions #49

Open dhowe opened 2 years ago

dhowe commented 2 years ago

Collect large climate images for the specified resolution ratios: 4:3, 3:4, 32:9, 9:32, 2:1, 1:2

Target min sizes: 4:3 -> 960x720 2:1 -> 1000x500 32:9 -> 1920x540

Name them with the credit for the photographer and the dimensions: e.g., 'ChristopherFurlong_GettyImages_960x720.png'

Then place them in the correct folder for the ratio:

image

dhowe commented 2 years ago

I have placed some images to start with in the 'unclassified' folder (shown above):

If the image is not already tagged with a credit, do a quick search for the image name online. If still not found, append '_nc' (for 'needs credit') to its name

Real-John-Cheung commented 2 years ago

I just sync this branch with main and update the folder name "2x3" and "3x2" to "4x3" and "3x4" @StevenZhou01 just in case, please pull when you start classify the images...

dhowe commented 2 years ago

@StevenZhou01 status of this?

StevenZhou01 commented 2 years ago

I am done the organizing work on last Sunday. Currently, since "3x2" and "2x3" were changed to "4x3" and "3x4", the photos with "3x2" or "2x3" ratios are put in "nomatch" file. Other photos in "nomatch" file are either in different ratios or hard to be cropped or adjusted. If more photos are needed, please let me know.

dhowe commented 2 years ago

If you run out of other tickets, you can continue with images here. Please pay attention to how well they work with text overlayed.

dhowe commented 2 years ago

note also that you can search via google for general aspect ratios of images, by using 'advanced image search': https://www.google.co.uk/advanced_image_search

image
Real-John-Cheung commented 2 years ago

One more thing... if possible, convert all images to jpg or png format before adding them. formats like webp might cause issues on chrome Thx!

Edit------------------------------------ also no jpeg, and pls also avoid special characters like : and (space) in the file name if possible

StevenZhou01 commented 2 years ago

Okay! I will convert the old photos into the suitable formats.

Real-John-Cheung commented 2 years ago

During testing I noticed that some images like JamesBalog6_1120x700.jpeg have pure color backgrounds, not sure if it is intended.

dhowe commented 2 years ago

Needs to be cropped

StevenZhou01 commented 2 years ago

Should I crop them now or later? I mean for categorizing photos

dhowe commented 2 years ago

how many photos have borders like this? should be very infrequent... if < 10, can crop now

StevenZhou01 commented 2 years ago

Yes it's not. Then I will crop it.

StevenZhou01 commented 2 years ago

There is one thing that needs to notice. Some photos may have a very strict copyright policy, such as those from the National Geographic. Although you can download them from google, the website actually blocks you to download them if you click on the website.

Real-John-Cheung commented 2 years ago

@StevenZhou01 hey Steven, when adding images in the future, use x (the 24th letter) instead of × (/u00D7) in the file name. You can use this regex to check /([A-Za-z_0-9-]+\.(png|jpg))/, thanks

StevenZhou01 commented 2 years ago

@StevenZhou01 hey Steven, when adding images in the future, use x (the 24th letter) instead of × (/u00D7) in the file name. You can use this regex to check /([A-Za-z_0-9-]+\.(png|jpg))/, thanks

Okay, will do!

StevenZhou01 commented 2 years ago

Now each folder should have some photos, but generally 9x32 photos are fewer and harder to find on the internet.

dhowe commented 2 years ago

thanks, lets put this on hold for now