Skip to content

Basic example for opencv.js doesn't work with version 4.11.0 and later #27129

@freealise

Description

@freealise

System Information

iOS 15.8.3, both Chrome and Safari

Detailed description

TypeError: cv.imread is not a function. (In 'cv.imread(imgElement)', 'cv.imread' is undefined)

Steps to reproduce

https://docs.opencv.org/4.11.0/d0/d84/tutorial_js_usage.html

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions