Commit 19022025

This commit is contained in:
2025-02-19 10:14:10 +07:00
parent 64f5b619b7
commit b248c59e32
8 changed files with 24886 additions and 251 deletions

View File

@@ -361,6 +361,17 @@ public class SomeCodes {
return null;
}
public static boolean Save(UMat source, String filename, int[] param){
if (source!=null && !source.empty() && ValidString(filename)){
try{
return opencv_imgcodecs.imwrite(filename, source, param);
} catch (Exception e){
Logger.error("Error saving file: "+filename+", Msg : "+e.getMessage());
}
}
return false;
}
/**
* Concatenate byte arrays
* @param args byte arrays