image processing - Help editing a picture in python -
i have suppose i'm given picture, there shouldnt user inputs or calls media.chose file, given picture return average red value of pixels in picture (as int). if average calculation results in non-integer value, truncate result. example, if average values 10, 6 , 4, result 6.
the question answered here
use pil load image, read pixel pixel , calculation.
Comments
Post a Comment