First time here? Check out the FAQ!
i think the problem is not in code. PyInstaller do not include the file in opencv to excutable file.