outputImage = img.copy()
npaContours, npaHierarchy = cv2.findContours(rectdilation.copy(),
cv2.RETR_EXTERNAL,
cv2.CHAIN_APPROX_SIMPLE)
for npaContour in npaContours:
x,y,w,h = cv2.boundingRect(npaContour)
if w < 10 or h < 10:
continue
cv2.rectangle(outputImage,(x,y),(x+w,y+h),(0,255,0),2)
if cv2.contourArea(npaContour) > MIN_CONTOUR_AREA:
**[intX, intY, intW, intH] = cv2.boundingRect(npaContour)**
*split npaContour white spaces columnwise