AVCaptureMetadataOutput rectOfInterest
来源:互联网 发布:创维网络电视直播软件 编辑:程序博客网 时间:2024/06/07 10:28
AVCaptureMetadataOutput 中的属性rectOfInterest 看起来是CGRect类型, 结果让你填写一个比例, 当你填写比例是你会发现还是有各种问题, 最后总结一下, 加入你的屏幕的frame 为 x , y, w, h, 你要设置的矩形快的frame 为 x1, y1, w1, h1. 那么你的rectOfInterest 应该设置为 CGRectMake(y1/y, x1/x, h1/h, w1/w), 不知道苹果的工程师怎么想的, 为什么坐标系搞这么复杂.直接设置实际大小 多好ne
0 0
- AVCaptureMetadataOutput rectOfInterest
- AVCaptureMetadataOutput rectOfInterest
- 坑爹的rectOfInterest
- [问题] [AVCaptureMetadataOutput setMetadataObjectTypes:] - unsupported type found.
- 条形d码扫描之rectOfInterest
- rectOfInterest 感兴趣区域的设置问题
- iOS 原生扫描rectOfInterest扫描区域详解
- 二维码扫描之AVCaptureMetadataOutput setMetadataObjectTypes: unspported type found
- iOS-87-解决相机扫码报错*** -[AVCaptureMetadataOutput setMetadataObjectTypes:] Unsupported type found
- iOS 原生二维码扫描crush([AVCaptureMetadataOutput setMetadataObjectTypes:] - unsupported type found. Use -)
- hash算法总结收集
- Android平台网络常用命令
- java的不同阶段
- 算法 蚂蚁 迷宫
- python tornado修改celery完成任务时的输出
- AVCaptureMetadataOutput rectOfInterest
- 让servlet session失效的几种方法
- 【NOIP2016】洛谷2831 愤怒的小鸟
- Hibernate 分页中,查询指定页面的数据
- java设计模式之外观模式
- 简单谈谈mybatis逆向工程
- ViewPager中做图片缩放遇到:java.lang.IllegalArgumentException: pointerIndex out of range
- CPU的核心数、线程数的关系和区别
- Cassandra_Cassandra研究报告