收藏
回答

小程序中tf插件的tf.browser.fromPixels()不支持canvas创建的image?

pixels passed to tf.browser.fromPixels() must be either an HTMLVideoElement, HTMLImageElement, HTMLCanvasElement, ImageData in browser, or OffscreenCanvas, ImageData in webworker or {data: Uint32Array, width: number, height: number}, but was ImageData
Error: pixels passed to tf.browser.fromPixels() must be either an HTMLVideoElement, HTMLImageElement, HTMLCanvasElement, ImageData in browser, or OffscreenCanvas, ImageData in webworker or {data: Uint32Array, width: number, height: number}, but was ImageData
回答关注问题邀请回答
收藏

1 个回答

  • 艮山
    艮山
    2021-01-27

    我也遇见了这个问题 大佬问题解决了吗


    2021-01-27
    有用
    回复
登录 后发表内容
问题标签