Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kostas-jonauskas opened this issue Jun 27, 2022 · 0 comments

Comments

@kostas-jonauskas
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant