In this guide, we will introduce the Lepton Windows SDK. The Lepton SDK is written in .NET but for the purpose of this guide we will be using a package called
pythonnet. Using it will allow us to interface with it using Python. The benefit of using Python to interface with the SDK is that Python is very quick to get started with.
There will be an introduction to some of the code used to interface with the SDK and we’ll be using Jupyter Labs to display the output from the Lepton camera. By the end of this guide, you will have an environment to communicate with and display a Lepton camera’s output.
- A Windows 10 PC that is connected to the internet
- The guide will show you how to install Python, but a link to download it can be found here.
- The Windows 10 SDK, download the Lepton Windows SDK here
- The Windows SDK is bundled with the Python example code.
- A Lepton camera (A Lepton 3.5 was used for this guide), find out where you can get one
- A PureThermal 2 board, they can be found here
What are pythonnet, jupyterlab, numpy and matplotlib? Where can I download them?
- Although the aren’t required for using the SDK, they help with the purpose of this demo. In the guide, a command is run in powershell
pip install pythonnet jupyterlab numpy matplotlibwhich will download and install them automatically – as long as your computer is connected to the internet.