-
Notifications
You must be signed in to change notification settings - Fork 20
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
Float32 array returns zeroed out values past index 128 on each row #40
Comments
Huh - interesting. iOS or Android? |
Observed on iOS |
Hey - can you send me a link to a public github repo where I can also see this appear on the left side? That'd help me debug. |
I'm not sure if you mean me, but here I have created a demo repository which visualizes the image stream via skia (not really stable, but is suitable for debugging). |
yep perfect, thanks! I'll take a look next week or so :) |
Hey - is this still an issue? cc @rodgomesc |
Hi, I'm trying to pipe vision camera output into a tflite face detection model that requires 128x128x3 float32 input. Here's the relevant code:
I was noticing that my face would only be detected if it was in the left side of the screen. Upon inspecting the resized array, I noticed that only the first 128 indices from each row had values:
This did not happen when I changed
![Screenshot 2024-02-21 at 2 22 02 PM](https://private-user-images.githubusercontent.com/6730148/306792502-89d124dd-5653-4287-a87a-3c64372a368a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMDkzOTksIm5iZiI6MTcyNDEwOTA5OSwicGF0aCI6Ii82NzMwMTQ4LzMwNjc5MjUwMi04OWQxMjRkZC01NjUzLTQyODctYTg3YS0zYzY0MzcyYTM2OGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTlUMjMxMTM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWViNWNkNmNmZjkyNTg3YTNmMjE4YzczNDM1NDBjNjk2ZmM5YTM4MGE0MjNjY2UxZjJmMDE0MDljMTUyNDBhMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.cq-Sy47WXbvwKahi6sYdqVeLfPC1TPIzI9Fcddyrh1M)
dataType
touint8
:Am I missing something? Thanks!
The text was updated successfully, but these errors were encountered: