This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#we have to import Image from PIL library, as I sadi earlier PIL used to extract the details of image, | |
#specially pixels of image | |
from PIL import Image | |
def genrateData(payload_data): | |
newData = [] | |
for i in payload_data: |