Skip to content

How to import the openCV face class through Python-for-Android #2527

@SonofPoseidon1982

Description

@SonofPoseidon1982

I asked on reddit about whether it was possible to import the face class by changing the opencv recipe and I was told it should be relatively straightforward. However, I've tried multiple times and keep getting the following error message on the android log: "Attribute Error: module 'cv2' has no attribute face". I understand that the face class is now packaged under opencv-contrib, but this adds extra confusion about its viability. I would greatly appreciate if someone would give some kind of hint of how I would import it.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidquestion (invalid tracker)ask questions and other "no action" items here: https://forum.opencv.org/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions