Skip to content

Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data. #27

Description

@kostas-jonauskas

Hi there,

I am facing an issue with the Test project on the nude.js-master branch. I am getting an error message saying:

Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.

And the detection script doesn't work. I am running this test project on my local machine with the original images and did not change anything in the code. I am opening this file in my browser: nude.js-master\tests\index.html

image

Do you have any idea how can I solve this and get it running on my machine?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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