Skip to content

text to image arraybuffer to imageData #92

Closed

Description

@hpssjellis

@coyotte508 @radames any suggestions for converting the text to image arrayBuffer to an imageData object. This does not seem to have the correct dimensions


      let UAC = new Uint8ClampedArray( objectDetectionRes, 768, 768);
      let imageData = new ImageData(UAC, 768, 768);

Activity

  1. coyotte508 commented on Mar 13, 2023

    @coyotte508
    Member

    Hi @hpssjellis feel free to use discussions. @TimMikeladze what do you think about returning a blob instead from @huggingface/inference, it will then contain the mime type of the image as well?

  2. locked and limited conversation to collaborators on Mar 13, 2023
  3. converted this issue into a discussion #93 on Mar 13, 2023
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions