by simlevesque · 1y ago · 0 comments
I got this error: `AttributeError: module 'vidformer.cv2' has no attribute 'setNumThreads`
Maybe you could add some noops to make it easier to swap.
Edit: I saw the other functions that aren't implemented yet (https://ixlab.github.io/vidformer/opencv-filters.html)
I had to comment out: fillPoly, polylines and drawContours.
They do some cv2 monkey patching so it won't be simple.
That's giving more control to Yolo as to when it pulls frames and how it processes them. In the Colab example you can't do this.
I get this error: "No server set for the cv2 frontend. Set VF_IGNI_ENDPOINT and VF_IGNI_API_KEY environment variables or use cv2.set_server() before use."
I tried to use set_server but I'm not sure what argument it needs.