I'm trying to run https://github.com/luxonis/depthai-experiments/tree/master/gen2-depth-people-counting but i get the following error looks like a problem with the replay

Traceback (most recent call last):
  File "/Users/rafaelrodriguez/Luxonis/depthai-experiments/gen2-depth-people-counting/main.py", line 79, in <module>
    replay = Replay(args.path)
  File "/Users/rafaelrodriguez/Luxonis/depthai-experiments/gen2-depth-people-counting/venv/lib/python3.10/site-packages/depthai_sdk/replay.py", line 62, in __init__
    if filePath.is_file(): readFile(filePath)
  File "/Users/rafaelrodriguez/Luxonis/depthai-experiments/gen2-depth-people-counting/venv/lib/python3.10/site-packages/depthai_sdk/replay.py", line 51, in readFile
    self.readers[name] = VideoCapReader(filePath)
  File "/Users/rafaelrodriguez/Luxonis/depthai-experiments/gen2-depth-people-counting/venv/lib/python3.10/site-packages/depthai_sdk/readers/videocap_reader.py", line 11, in __init__
    self.reader = cv2.VideoCapture(source)
cv2.error: OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'VideoCapture'
> Overload resolution failed:
>  - Can't convert object to 'str' for 'filename'
>  - VideoCapture() missing required argument 'apiPreference' (pos 2)
>  - Argument 'index' is required to be an integer
>  - VideoCapture() missing required argument 'apiPreference' (pos 2)

I'm running it with python main.pyin a virtual env with all the packages from requirements.txt installed

    Hi RafaelRodriguez
    Hi, seems like the path class cannot be converted to string by cv2. Ill dig around some more, in the meantime, if you change the replay. py script line 52 to:
    self.readers[name] = VideoCapReader(str(filePath)) it should work.

    Thanks,
    Jaka