Load Inverted Grayscale Image with PIL

Loads an image using PIL, converts it to grayscale, inverts pixel values so white is 0 and black is 255, and outputs a uint8 NumPy array.

ECNU-ICALK Updated 559 repo stars

File contents

ECNU-ICALK/AutoSkill/tree/main/SkillBank/ConvSkill/english_gpt4_8/load-inverted-grayscale-image-with-pil commit 9b7f1af4d5

Frequently asked questions

npx skillmds@latest add ecnu-icalk/load-inverted-grayscale-image-with-pil