Skip to content

ModuleNotFoundError: 'Vision' when using apple_ocr.ocr #3

@jaydip-tss

Description

@jaydip-tss

I'm trying to use the apple_ocr.ocr module for Optical Character Recognition (OCR). However, I'm encountering a ModuleNotFoundError: No module named 'Vision'.

Steps to Reproduce:

Install apple_ocr (if not already installed).
Import OCR from apple_ocr.ocr and Image from PIL.
Open an image using Image.open("image_filename.jpeg").
Try creating an OCR instance: ocr_instance = OCR(image=image).

Expected Behavior:

The OCR class from apple_ocr.ocr should be created successfully.

Actual Behavior:

A ModuleNotFoundError: No module named 'Vision' is raised.

Additional Information:

Running on Google Colab

If you have any insights into the missing Vision module, mention them here.

Request:

Could you please investigate why the Vision module is not found?
Are there specific installation instructions for apple_ocr that include this dependency?

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