条形码与二维码检测识别
| 项目 | 数量 |
|---|---|
| 公开函数 | 15 |
| 公开类型 | 6 |
| 常量 | 0 |
| 错误类型 | 0 |
pub(all) struct BarcodeConfig {
pub(all) struct BarcodeResult {
pub(all) enum BarcodeType {
pub(all) enum Code128Charset {
pub(all) struct QrDecodeResult {
pub(all) struct QrFinderPattern {pub fn barcode_default_config() -> BarcodeConfig
pub fn decode_barcode(@types.Image, config? : BarcodeConfig) -> Array[BarcodeResult] raise @types.LoadError
pub fn decode_code128(@types.Image) -> BarcodeResult? raise @types.LoadError
pub fn decode_code39(@types.Image) -> BarcodeResult? raise @types.LoadError
pub fn decode_ean13(@types.Image, config? : BarcodeConfig) -> BarcodeResult? raise @types.LoadError
pub fn decode_linear_barcode(@types.Image) -> Array[BarcodeResult] raise @types.LoadError
pub fn decode_qrcode(@types.Image, config? : BarcodeConfig) -> BarcodeResult? raise @types.LoadError
pub fn decode_qrcode_full(@types.Image) -> QrDecodeResult? raise @types.LoadError
pub fn decode_upca(@types.Image) -> BarcodeResult? raise @types.LoadError
pub fn detect_qr_finder_patterns(@types.Image) -> Array[QrFinderPattern] raise @types.LoadError
pub fn reed_solomon_decode(Array[Int], Int) -> (Array[Int], Int)
pub fn BarcodeType::equal(Self, Self) -> Bool
pub fn BarcodeType::not_equal(Self, Self) -> Bool
pub fn Code128Charset::equal(Self, Self) -> Bool
pub fn Code128Charset::not_equal(Self, Self) -> Boolpub(all) struct BarcodeResult {
barcode_type : BarcodeType
data : String
confidence : Double
x : Int
y : Int
width : Int
height : Int
} derive(Eq, Debug)fn decode_barcode(img : core/types.Image, config? : BarcodeConfig) -> Array[BarcodeResult] raise core/types.LoadErrorfn decode_ean13(img : core/types.Image, config? : BarcodeConfig) -> BarcodeResult? raise core/types.LoadErrorfn decode_qrcode(img : core/types.Image, config? : BarcodeConfig) -> BarcodeResult? raise core/types.LoadErrorfn detect_qr_finder_patterns(img : core/types.Image) -> Array[QrFinderPattern] raise core/types.LoadErrorInstall
Download zipMoonBit image codec: pure MoonBit backend for 18+ image formats, color, metadata, barcode.