crow-misia / libyuv-android

LibYUV for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uint8 to float32?

mrousavy opened this issue · comments

Hey - thanks for this - I really appreciate this being published.

Quick question; is it possible to convert buffers (e.g. AbgrBuffer) to float values?

I have a TensorFlow Lite model which does not work with uint8 (0...255), but instead requires float32 (0.0 ... 1.0) inputs.

Thanks!

Conversion functionality is not provided.
PR is welcome.