'texImage2D' on 'WebGL2RenderingContext': Tainted ... - GitHub

文章推薦指數: 80 %
投票人數:10人

tfjs-core:17 Uncaught (in promise) DOMException: Failed to execute 'texImage2D' on 'WebGL2RenderingContext': Tainted canvases may not be loaded. Skiptocontent {{message}} tensorflow / tfjs Public Notifications Fork 1.8k Star 16.6k Code Issues 468 Pullrequests 140 Actions Projects 16 Security Insights More Code Issues Pullrequests Actions Projects Security Insights Newissue Haveaquestionaboutthisproject?SignupforafreeGitHubaccounttoopenanissueandcontactitsmaintainersandthecommunity. Pickausername EmailAddress Password SignupforGitHub Byclicking“SignupforGitHub”,youagreetoourtermsofserviceand privacystatement.We’lloccasionallysendyouaccountrelatedemails. AlreadyonGitHub? Signin toyouraccount Jumptobottom 'texImage2D'on'WebGL2RenderingContext':Taintedcanvasesmaynotbeloaded. #2871 Closed pamrutaopenedthisissue Mar12,2020 ·2comments Closed 'texImage2D'on'WebGL2RenderingContext':Taintedcanvasesmaynotbeloaded. #2871 pamrutaopenedthisissue Mar12,2020 ·2comments Assignees Labels type:support usersupportquestions Comments Copylink pamruta commented Mar12,2020 • edited RunningFacemeshinMozilla/Safarionmp4videofile..Itgivesthiserror: tfjs-core:17Uncaught(inpromise)DOMException:Failedtoexecute'texImage2D'on'WebGL2RenderingContext':Taintedcanvasesmaynotbeloaded. athttps://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core:17:215636 at$t(https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core:17:56257) atii(https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core:17:215608) att.uploadPixelDataToTexture(https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core:17:220462) atObject.kernelFunc(https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core:17:487966) atd(https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core:17:42635) athttps://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core:17:43329 att.scopedRun(https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core:17:41248) att.runKernelFunc(https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core:17:43141) att.runKernel(https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core:17:41685) Myhtml/Javascriptisreallysimple-

Canyouhelpdebugwhatmightbewrong?ItriedsettingcrossOrigin="anonymoys"aswellforvideoobjectbutstillsameerror.. Thetextwasupdatedsuccessfully,buttheseerrorswereencountered: Allreactions rthadur self-assignedthis Mar12,2020 rthadur added the type:support usersupportquestions label Mar12,2020 Copylink Collaborator rthadur commented Mar13,2020 Hello,thissortofquestionisbettersuitedforStackOverflow.Thisissueslistisforbugsandfeaturerequests.Thanksandpleaseusethetag'tensorflow.js'onyourStackOverflowquestiontomakessureit'sdiscoverable. 👎 3 jeremy-brcht,tw-evan,andTanay360reactedwiththumbsdownemoji Allreactions 👎 3reactions Sorry,somethingwentwrong. rthadur closedthisascompleted Mar13,2020 Copylink Greeeeyyyss commented Jul20,2020 GotthesameerrorbutitwasfixedwhenIaddedacrossOrigin='anonymous'beforesettingthesrcoftheimageorvideo. 👍 3 MOKuper,juane1000,andkostasxreactedwiththumbsupemoji ❤️ 1 kostasxreactedwithheartemoji Allreactions 👍 3reactions ❤️ 1reaction Sorry,somethingwentwrong. Signupforfree tojointhisconversationonGitHub. Alreadyhaveanaccount? Signintocomment Assignees rthadur Labels type:support usersupportquestions Projects Noneyet Milestone Nomilestone Development Nobranchesorpullrequests 3participants Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.


請為這篇文章評分?