# Normalize img_array = img_array / 255.0

# Convert to numpy array img_array = np.array(img)

# Extract features features = model.predict(img_array)