Skip to content

请问ocr_image传入的image_data是什么样的数据结构? #5

@wy19910222

Description

@wy19910222

您好,我看到您提供的接口除了ocr_file还有ocr_image,请问ocr_image里的image_data参数,传入的应该是什么样的数据结构?是直接从文件里读取出来的bytes,还是以rgba或者别的什么顺序排列的逐像素颜色?
另外:
ocr_file接口的最后一个参数,应该是result_size吧?用file_size容易误解。
ocr_image接口的最后一个参数,好像没有用到。

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