增加了图像缩放的支持
This commit is contained in:
@@ -169,7 +169,10 @@ namespace SHH.CameraSdk
|
||||
try
|
||||
{
|
||||
// 深拷贝帧数据:原帧属于解码线程,必须克隆后移交 UI 线程
|
||||
frameClone = frame.InternalMat.Clone();
|
||||
if (frame.TargetMat != null)
|
||||
frameClone = frame.TargetMat.Clone();
|
||||
else
|
||||
frameClone = frame.InternalMat.Clone();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user