-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
340 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
target | ||
Cargo.lock | ||
Cargo.lock | ||
often_used_cmds.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,19 @@ | |
|
||
MLX90640 for RPi in Rust | ||
|
||
<img src="doc/prototype_setup.jpg" width="30%"> | ||
|
||
## Infos | ||
|
||
### Camera image | ||
|
||
640x480 pGAA works (SGRBG10P) -> buffer size 384000 => 10bit raw bayer packed, 5 bytes for every 4 pixels | ||
First run libcamera-vid | ||
|
||
### Startup | ||
|
||
Add startx /usr/bin/thermocam to .bashrc | ||
|
||
## Cross-Compile for RPi | ||
|
||
### Model 1 | arm (32-bit) | ||
|
@@ -32,20 +45,3 @@ cargo build --target aarch64-unknown-linux-gnu | |
``` | ||
|
||
Further hints here: https://chacin.dev/blog/cross-compiling-rust-for-the-raspberry-pi | ||
|
||
### OpenCV Error | ||
|
||
apt install libstdc++-12-dev | ||
|
||
|
||
### Startup | ||
|
||
scp target/armv7-unknown-linux-gnueabihf/release/thermocam [email protected]:/usr/bin/thermocam | ||
scp [email protected]:/home/dan/Bilder/test.jpg . | ||
scp [email protected]:/home/dan/Bilder/test.avi . | ||
Add startx /usr/bin/thermocam to .bashrc1^ | ||
|
||
1296x972 pGAA works (SGRBG10P) | ||
640x480 pGAA works (SGRBG10P) -> buffer size 384000 => 10bit raw bayer packed, 5 bytes for every 4 pixels | ||
YUV420 | ||
648x486 |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.