OCR
class OCR
Tencent AI OCR 能力.
Traits
Image
OCR
Constants
BASE_URL |
|
ID_CARD |
|
BUSINESS_CARD |
|
DRIVE |
|
BIZ |
|
CREDIT_CARD |
|
GENERAL |
|
PLATE |
|
HAND_WRITING |
|
Methods
array
mixed
businessCard(mixed $image)
名片识别.
array
driverLicense(mixed $image)
驾驶证识别.
array
drivingLicense(mixed $image)
行驶证识别.
mixed
bizLicense(mixed $image)
营业执照识别.
mixed
creditCard(mixed $image)
银行卡识别.
mixed
general(mixed $image)
通用识别.
mixed
plate($image, bool $isUrl = false)
车牌 OCR.
mixed
handwriting($image, bool $isUrl = false)
手写体 OCR.
Details
at line 48
array
idCard(string|SplFileInfo $image, bool $front = true)
身份证识别.
at line 68
mixed
businessCard(mixed $image)
名片识别.
at line 101
array
driverLicense(mixed $image)
驾驶证识别.
at line 115
array
drivingLicense(mixed $image)
行驶证识别.
at line 131
mixed
bizLicense(mixed $image)
营业执照识别.
at line 147
mixed
creditCard(mixed $image)
银行卡识别.
at line 163
mixed
general(mixed $image)
通用识别.
at line 180
mixed
plate($image, bool $isUrl = false)
车牌 OCR.
at line 197
mixed
handwriting($image, bool $isUrl = false)
手写体 OCR.