import cv2
import numpy as np
img = cv2.imread('bus.png')
img = cv2.resize(img, (400, 500))
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
ret, gray = cv2.threshold(gray, 127, 255, 0)
gray2 = gray.copy()
mask = np.zeros(gray.shape, np.uint8)

ac253bbd9b8104e3bfdf8b6875a083a465bf7f3c
<mask token>

<mask token>
img = cv2.imread('bus.png')
img = cv2.resize(img, (400, 500))
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
ret, gray = cv2.threshold(gray, 127, 255, 0)
gray2 = gray.copy()
mask = np.zeros(gray.shape, np.uint8)

import cv2
import numpy as np
img = cv2.imread('bus.png')
img = cv2.resize(img, (400, 500))
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
ret, gray = cv2.threshold(gray, 127, 255, 0)
gray2 = gray.copy()
mask = np.zeros(gray.shape, np.uint8)
