mirror of
https://github.com/u2takey/ffmpeg-go.git
synced 2025-10-05 07:56:51 +08:00
add example opencv
This commit is contained in:
@@ -25,3 +25,8 @@ func TestExampleReadFrameAsJpeg(t *testing.T) {
|
||||
func TestExampleShowProgress(t *testing.T) {
|
||||
ExampleShowProgress("./sample_data/in1.mp4", "./sample_data/out2.mp4")
|
||||
}
|
||||
|
||||
func TestExampleOpenCvFaceDetect(t *testing.T) {
|
||||
ExampleFaceDetection("./sample_data/head-pose-face-detection-male-short.mp4",
|
||||
"./sample_data/haarcascade_frontalface_default.xml")
|
||||
}
|
||||
|
Reference in New Issue
Block a user