SDKs.DjiImage.Net48 1.3.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package SDKs.DjiImage.Net48 --version 1.3.1
NuGet\Install-Package SDKs.DjiImage.Net48 -Version 1.3.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SDKs.DjiImage.Net48" Version="1.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SDKs.DjiImage.Net48 --version 1.3.1
#r "nuget: SDKs.DjiImage.Net48, 1.3.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SDKs.DjiImage.Net48 as a Cake Addin
#addin nuget:?package=SDKs.DjiImage.Net48&version=1.3.1

// Install SDKs.DjiImage.Net48 as a Cake Tool
#tool nuget:?package=SDKs.DjiImage.Net48&version=1.3.1
SDKs.DjiImage

https://github.com/Jazous/SDKs-DjiImage

1、Nuget 安装:
PM> Install-Package SDKs.DjiImage.Net48
2、下载 Dji TSDK 添加到项目中:

https://www.dji.com/cn/downloads/softwares/dji-thermal-sdk

dji_thermal_sdk_v1.3_20220517.zip

Windows 环境

libdirp.dll、libv_dirp.dll、ibv_girp.dll、libv_iirp.dll、libv_list.ini

Linux 环境

libdirp.so、libv_dirp.so、libv_girp.so、libv_iirp.so、libv_list.ini

下载后将对应的 .dll 或 .so 文件拷贝到执行程序根目录下

3、使用方法:
byte[] data = System.IO.File.ReadAllBytes("1.JPG");
using (var img = RJPEG.FromBytes(data))
{
    AreaTemperature at = img.GetTempRect(0, 0, 100, 100);
    Console.WriteLine($"MinTemp={at.MinTemp} ,MaxTemp={at.MaxTemp}");
}
Console.ReadKey();
License

https://github.com/Jazous/SDKs-DjiImage/blob/main/LICENSE.txt

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.2 185 4/11/2023
1.4.1 224 2/10/2023
1.4.0 243 1/30/2023
1.3.2 361 8/13/2022
1.3.1 366 7/31/2022

修复浮点类型温度精度问题,只保留1位小数