Skip to content

ocr 添加景象适配

Compare
Choose a tag to compare
@MJLblabla MJLblabla released this 18 Jan 08:00
· 40 commits to main since this release
1f54d04
QNOCRDetector.run(localVideoTrack, OCRDetectParam().apply {
                // 当前图片是不是镜像
                // 在没有调整的情况下 通常前置摄像头是镜像图片,后置摄像头不是
                isMirror =true
            }, QNOCRDetector.QNOCRDetectorCallback {
                tvText.text = Json.encode(it)
            })