Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
=================== RESTART: C:\Users\smrut\Documents\dct.py ===================
Traceback (most recent call last):
File "C:\Users\smrut\Documents\dct.py", line 66, in <module>
detect_copy_move_forgeries('C:/Users/smrut/Desktop/tree.jpg', block_size=8, num_clusters=256)
File "C:\Users\smrut\Documents\dct.py", line 48, in detect_copy_move_forgeries
image = cv2.imread(image_path, cv2.IMREAD_GRAYSCALE)
AttributeError: module 'cv2' has no attribute 'imread'
working on VSCode environment and Python 3.11.3 is installed on system win 11 both IDE throughing same error. uninstallation reinstallation everything i tried. thanks in advance