-
Notifications
You must be signed in to change notification settings - Fork 4
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
Example gathering raw data & processing separately? #3
Comments
On the surface, it sounds doable, but I'm a little concerned that you can't even run this library in the first place on the device. That device should have enough RAM: looking at the product sheet, it has 520KB, and this library should only need around 12KB of active memory to work (all that being said, I haven't used this on an embedded device yet, but I do have a few sitting around I just haven't gotten around to using). Backing up a bit, the major limiting factors with this library on an embedded device are
For the application you're describing point 1 can be simplified a bit as you only need the one frame of data to be stored at a time. Points 2 and 3 might be difficult as you're also having to turn around and transfer the data off of the device using nimble (no idea how fast nimble is), but depending on the frame rate you're using you might run out of time before you need to start loading the next frame of data off the camera. For the temperatures -> RGB (and generation of an image, etc) I'm doing that in r-u-still-there (note, the license for r-u-still-there is AGPL) with colorous and some super basic drawing into a buffer, converting to JPEG with mozjpeg, and serving it up as MJPEG with hyper. |
Thanks for the reply, after a bit more prodding around I have realised the most of my available memory is already taken by Yet to get a hello_world thermal frame as of yet, will post here with more experience :) |
Hello,
Thank you for taking the time to write a Rust implementation of the MLX90640 @paxswill! It has saved me potentially days of time and is allowing me to refactor some slow micro python code (using Adafruit MLX90640 implementation here ported to micro python, not easy)
I have a "strange" use case for this library.
I am targeting a low memory device (Adafruit ESP32 Feather HUZZAH32) with the rate limiting factor being memory not computational speed.
Aim
I could dig around in the source code of this library for a while and eventually devise a solution, but I wanted to raise this as an issue first.
Is this possible with the current state of the project?
Thanks for any help
(How this fits into my personal project as a whole:)
rgb
values using ffmpeg (calling CLI API directly from Rust, no wrappers) into images / videoThe text was updated successfully, but these errors were encountered: