text_plain_output_1.png image_output_1.png
import glob as gb

import matplotlib.pyplot as plt

import os

import os

import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import numpy as np
import pandas as pd
import os

import os
import glob as gb
path = '//kaggle//input//corn-or-maize-leaf-disease-dataset//data'
size = []
for folder in os.listdir(path):
    files = gb.glob(pathname=str(path + '//' + folder + '/*.jpg'))
    for file in files:
        image = plt.imread(file)
        size.append(image.shape)
pd.Series(size).value_counts()