Previously, I find the path of haar cascade using
import cv2
print(cv2.file)
/home/mohan/.local/lib/python3.7/site-packages/cv2/cv2.cpython-37m-x86_64-linux-gnu.
Recently, I installed ubuntu 19. Now the path showing is
/usr/lib/python3/dist-packages/cv2.cpython-37m-x86_64-linux-gnu.so
where I didn't find any data folder. can anyone pls help me on this