Save a Thermal Image from a camera |
This sample will save a Thermal Image from a connected camera using a simple Console project using FLIR Atlas SDK.
Use the project settings from Setting up a Visual Studio project
Add the following to Program.cs
using Flir.Atlas.Live; using Flir.Atlas.Live.Device; using Flir.Atlas.Image; namespace MyNamespace { class Program { static void Main(string[] args) { ThermalCamera cam = new ThermalCamera(); cam.Connect(@"[Camera IP address]"); while(!cam.ConnectionStatus.Equals(ConnectionStatus.Connected)) ; ImageBase image = cam.GetImage(); image.SaveSnapshot(@"[Path to Thermal Image]"); cam.Disconnect(); } } }