Posts by Alberto Andrade • 21 points
2 posts
-
0
votes1
answer110
viewsA: How to create a CSV file with the pixel values of an image
I suggest changing the recording pipeline of the csv file. The method writerow() expects an eternal, but the for is returning a Numpy object. with open('mycsv.csv', 'w') as f: for x in range(rows):…
-
1
votes1
answer285
viewsA: Hot color detection in Python image
Assuming you want to identify the 'highest temperature' in the image, and taking into account that the brightest point (pixel) in the image will be equal to the lightest point (pixel) in the bar:…