EEVblog Electronics Community Forum
Products => Thermal Imaging => Topic started by: flyingfishfinger on December 19, 2019, 11:23:28 pm
-
Hey,
I forked this repo (https://github.com/maartenvds/libseek-thermal/tree/master/examples) to add a bit of functionality that I wanted. My changes can be found here: https://github.com/rsend/libseek-thermal (https://github.com/rsend/libseek-thermal)
As I'm not a software engineer, I can't possibly hope to match even a subset of joe-c's excellent work, but I did add the following functionality to the seek_viewer example according to my own usage model:
- Cycle through color maps with the 'c' key
- Manually adjust brightness & contrast using w/a/s/d if invoked with "-n 1".
- Rotate through 0/90/270 degrees with 'r'
- Move the window with arrow keys (currently only tested on Ubuntu; apparently scan codes for the arrow keys vary significantly across platforms and frontends)
- Scale the output using + & - (i,e Shift + "=" for plus and just - for minus). Numpad +/- return different scancodes, not implemented at the moment but easy to add if desired
If you find this useful and have a chance to test it on other Unixes, please comment on what works / doesn't. It'll probably be a matter of keyboard scancodes.
Enjoy,
Rafael