See vidformer.cv2 API docs.
⚠️ The cv2
module is a work in progress. If you find a bug or need a missing feature implemented feel free to file an issue or contribute yourself!
Legend:
- ✅ - Support
- 🔸 - Support via OpenCV cv2
- ❌ - Not yet implemented
cv2.vidplay(video2)
- Play a VideoWriter, Spec, or Source
VideoWriter.spec()
- Return the Spec of an output video
Frame.numpy()
- Return the frame as a numpy array
cv2.setTo
- The OpenCV Mat.setTo
function (not in cv2)
Class | Status |
VideoCapture | ✅ |
VideoWriter | ✅ |
VideoWriter_fourcc | ✅ |
Function | Status |
imread | ✅ |
imwrite | ✅ |
Drawing Functions:
Function | Status |
arrowedLine | ✅ |
circle | ✅ |
clipLine | ❌ |
drawContours | ❌ |
drawMarker | ❌ |
ellipse | ❌ |
ellipse2Poly | ❌ |
fillConvexPoly | ❌ |
fillPoly | ❌ |
getFontScaleFromHeight | 🔸 |
getTextSize | 🔸 |
line | ✅ |
polylines | ❌ |
putText | ✅ |
rectangle | ✅ |
Function | Status |
addWeighted | ✅ |