useless now
This commit is contained in:
parent
1dd5c73423
commit
698a3fa68b
|
|
@ -84,10 +84,8 @@ def average_and_export():
|
|||
image = "frames/frame" + str(i) + ".jpg"
|
||||
read_img = cv2.imread(image)
|
||||
#Bug here inside of func with min funcs of empty data
|
||||
try:
|
||||
out_colors = RGB_dataframe(read_img, i)
|
||||
except:
|
||||
out_colors = out_colors
|
||||
|
||||
out_colors = RGB_dataframe(read_img, i)
|
||||
Ravg = sum(out_colors[0])/len(out_colors[0])
|
||||
Gavg = sum(out_colors[1])/len(out_colors[1])
|
||||
Bavg = sum(out_colors[2])/len(out_colors[2])
|
||||
|
|
|
|||
Loading…
Reference in New Issue