Skip to content

Pattern file image does not exist from webcam sample #12

@SimonDarksideJ

Description

@SimonDarksideJ

In the following line for the Markerless webcam sample

patternMat = Imgcodecs.imread(Application.persistentDataPath + "/patternImg.jpg");

The "patternImg.jpg" file does not exist in the project and thus is unable to be loaded and renders the sample unworkable.

patternMat = Imgcodecs.imread(Application.persistentDataPath + "/patternImg.jpg");

Can the sample be updated to be functional using the assets in the project?

It would also be preferable if:

  • The Texture2D samples was updated to be more functional, currently shows a static scene with no explaination
  • Update the WebCam sample to also accept a Texture2D rather than loading from file?

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