gocv
gocv copied to clipboard
Go package for computer vision using OpenCV 4 and beyond. Includes support for DNN, CUDA, and OpenCV Contrib.
Is there any methods to add audio track to final mp4 video file?
Simple code where problem was found: ```package main import ( "fmt" "gocv.io/x/gocv" ) func main() { mat1 := gocv.NewMat() defer mat1.Close() mat2 := gocv.NewMat() mat1 = mat2 defer mat2.Close() }...
Add [FreeType2](https://docs.opencv.org/master/d9/dfa/classcv_1_1freetype_1_1FreeType2.html).
This patch solves the use-case when there is a mix of native code that uses opencv and gocv. In case that native code that utilizes opencv creates a CvMat and...
This pull request adds VideoWriter_OpenCap that accepts apiPrefrence. To create a VideoWriter with apiPreference, the function VideoWriterCap has been exposed to accept the apiPreference. A test has been added to...
Video Writer Ptr() add This function can tell the `nil` state of VideoWriter
some refactor with defer calls
In my program gocv.SeamlessClone(img,nRgba,imgGray,image.Pt(0,0),&nRgba,gocv.MixedClone) img rows: 1362 cols: 1021 nRgba rows: 1362 cols: 1021 imgGray rows: 1362 cols: 1021 libc++abi: terminating with uncaught exception of type cv::Exception: OpenCV(4.5.5) /tmp/opencv-20220225-96709-1prwnhc/opencv-4.5.5/modules/core/src/matrix.cpp:811: error:...