How groupgets/purethermal1-uvc-capture works
Project type and purpose
• This is an open-source collection of cross-platform UVC capture examples for the PureThermal 1/2 FLIR Lepton boards.
• It’s not a single monolithic app but rather a suite of small demo tools showing how to stream or snapshot thermal data via USB on macOS, Windows, Linux, and via Python.
File structure
• Top-level directories correspond to platforms or interfaces:
– avfoundation: a macOS Objective-C Xcode project using AVFoundation.
– mediafoundation: a Windows C++ solution illustrating Media Foundation + UVC extension units.
– python: cross-platform Python scripts using OpenCV or ctypes+libuvc.
– v4l2: Linux C examples (autotools) for direct V4L2 capture and uvcdynctrl control definitions.
• Build/deploy configs:
– avfoundation/PT1Recorder.xcodeproj, .xcworkspace for macOS build.
– mediafoundation/PureThermal.sln and .vcxproj for Windows.
– v4l2/autogen.sh + configure.ac + Makefile.am for Linux.
– python scripts have no build step but depend on OpenCV or libuvc.
Extract README insights
• Describes capture formats (BGR, RGB16, GRAY8, Y16 raw IR).
• Lists external dependencies: gstreamer, guvcview, python-opencv, libuvc, Windows SDK, v4l-utils, uvcdynctrl.