groupgets / LeptonModule

Code for getting started with the FLIR Lepton breakout board
https://groupgets.com/manufacturers/flir/products/flir-lepton
BSD 2-Clause "Simplified" License
317 stars 197 forks source link

I wrote a v4l2capture utility, should I add a pull request? #68

Closed The-Oracle closed 4 years ago

The-Oracle commented 4 years ago

I wrote a Lepton 3.x compatible v4l2 capture utility for Raspberry Pi. It captures SPI data from the Lepton 3.x on one thread and colorizes the frame, then it passes that frame buffer to a separate thread where libjpegturbo encodes the buffer to JPG and outputs to a v4l2 sink device (v4l2loopback). My intent of this capture utility was for streaming via mjpeg-streamer, which it works flawlessly with. Via command line parameters, the SPI chip select port is selectable and so is the V4L2 device. I am willing to share the source code of the project if this be of interest to the community.