WeChatQRCodeDetector

微信二维码检测器

Author

Jenly

Follow me

Functions

Link copied to clipboard
open fun detectAndDecode(bitmap: Bitmap): List<String>
open fun detectAndDecode(img: Mat): List<String>
open fun detectAndDecode(bitmap: Bitmap, points: List<Mat>): List<String>
open fun detectAndDecode(img: Mat, points: List<Mat>): List<String>
Both detects and decodes QR code.
Link copied to clipboard
open fun getScaleFactor(): Float
get scale factor
Link copied to clipboard
open fun init(context: Context)
初始化
Link copied to clipboard
open fun setScaleFactor(scalingFactor: Float)
set scale factor QR code detector use neural network to detect QR.