I’ve been working on a specific project involving using a third-party API. After talking a while with @George I received a snippet of code that should help me, but unfortunately it seems like I’m missing an important library or something.
When I launch it on desktop, the console gives me an error regarding Z.DataTexture.toArrayBuffer():
I have no idea what causes this to not work, especially because it looks like Zappar’s missing a definition for what a DataTexture is or DataTexture is missing the toArrayBuffer() function.
I also encountered issues with other parts of the same code, specifically a line assigning the image’s format before sending it to the API:
saying that it doesn’t recognize “ImageFormat.jpg”
I’m thoroughly lost. All I wanted to do is take a photo and remove the photo’s background using any sort of segmentation and it seems I’ve stumbled upon an iceberg of an issue.