Skip to content

[UIImage g8_grayScale]: unrecognized selector sent to instance 0x1c00ad860' #2

@Rufy86

Description

@Rufy86

I've reproduced the app WhichFont using Tesseract Without CocoaPods. The problem is it goes in crash in CameraViewControler File

if let rec = recognition { switch rec { case .grayscale: img = img.g8_grayScale() //<-- here goes in crash an there is a warning that say this method is deprecated case .blackwhite: img = img.g8_blackAndWhite() //here too } }

how Can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions