public void videoSourcePlayer_NewFrame(object sender, ref Bitmap image)
{
if (image != null)
{
RotateFlipType pType = RotateFlipType.RotateNoneFlipNone;
if (dAngle == 0)
{
pType = RotateFlipType.RotateNoneFlipNone;
}
else if (dAngle == 90)
{
//
pType = RotateFlipType.Rotate90FlipNone;
}
else if (dAngle == 180)
{
pType = RotateFlipType.Rotate180FlipNone;
}
else if (dAngle == 270)
{
pType = RotateFlipType.Rotate270FlipNone;
}
// 实时按角度绘制
image.RotateFlip(pType);
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
c#winform窗体应用实现摄像头翻转代码项目
共1个文件
txt:1个
1星 需积分: 0 2 下载量 149 浏览量
2023-07-03
16:54:23
上传
评论
收藏 379B ZIP 举报
温馨提示
c# winform 界面设计AFORGE实现摄像头旋转代码设计
资源推荐
资源详情
资源评论
收起资源包目录
AFORGE.zip (1个子文件)
AFORGE
new 1.txt 902B
共 1 条
- 1
资源评论
- csdn_fh2023-12-19别下载,啥用没有。 #毫无价值
淡泊无以明志
- 粉丝: 11
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功