OpenCV/cv2 Functions

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

Vidformer-specific Functions

  • 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)

opencv

ClassStatus
VideoCapture
VideoWriter
VideoWriter_fourcc
FunctionStatus
imread
imwrite

opencv.imgproc

Drawing Functions:

FunctionStatus
arrowedLine
circle
clipLine
drawContours
drawMarker
ellipse
ellipse2Poly
fillConvexPoly
fillPoly
getFontScaleFromHeight🔸
getTextSize🔸
line
polylines
putText
rectangle

opencv.core

FunctionStatus
addWeighted