增加VideoCapture

This commit is contained in:
2025-03-17 15:55:43 +08:00
parent f58f29404e
commit 2a980fbdf8
17 changed files with 862 additions and 449 deletions

View File

@ -27,7 +27,7 @@ DEFINE_FUNCTION(GetFontScaleFromHeight)
return Number::New(info.Env(), cv::getFontScaleFromHeight(fontFace, pixelHeight, thickness));
}
void InitProcAPI(Napi::Env env, Napi::Object exports)
void InitUtilAPI(Napi::Env env, Napi::Object exports)
{
auto obj = Object::New(env);
ADD_PROC_FUNCTION(GetTextSize);