Coder Social home page Coder Social logo

getthermal's People

Contributors

2ynn avatar griffin175 avatar hugolm84 avatar kekiefer avatar probonopd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

getthermal's Issues

libusb-1.0 development package not found

Ubuntu 18.04.2 LTS
4.15.0-46-generic
x86_64 GNU/Linux
qt opensource-linux-x64-5.12.2

libusb is located at:
./usr/include/libusb-1.0/libusb.h
./home/thomasd/Qt5.12.2/5.12.2/Src/qtwebengine/src/3rdparty/chromium/third_party/libusb/src/libusb/libusb.h

After run the Project I get an error: libusb-1.0 development package not found

Mac OS failure to see image

Hello,

I downloaded the binary file for Mac Os, opened GetThermal; however, I am not seeing an image. I verified that I could see an image on a windows machine so I am sure the that the Lepton 3.5 is seated properly. Also on the Mac OS, if you look at the camera Info it is showing the wrong device (Pure Thermal 1 vs. what I have is a PureThermal2). But if I look at the usb connection in Mac OS it shows the right device and firmware. What could be preventing me from viewing imagery on the Mac?

GetThermal get's stuck on Raspberry PI 3 B+

I'm running the GetThermal App on my Rasberry PI 3 B+. It all works fine, but after a while the image freezes. The command line keeps on outputting: -9UVC_GetAttribute failed
I'm using the Purethermal2 board with a FLIR Lepton 2.5

recipe for target 'release/GetThermal' failed

Hi I am trying to install GetThermal in Ubuntu 18.04. I installed everything but the make command for .../GetThermal/build is throwing following error. I could not find any solution for it.

/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:274: recipe for target 'release/GetThermal' failed
make: *** [release/GetThermal] Error 1

Any kind of suggestions / references will be helpful to me.
Thank you.

PureThermal mini

I have been trying to use this with the PureThermal mini, I know that it doesn't specify compatibility with this version of the PureThermal board. But I thought it may anyway because they're both made by GroupGets.

NVIDIA TX2 + Boson 320

error1_getthermal
error2_getthermal

Hello,

I built GetThermal for NVIDIA TX2, running Ubuntu 16.04(x64) and Qt 5.9.5.
When start as a normal account, it cannot display video.
But as a sudo, it cannot show gage.

I attach screenshots as follow, and wait for any helpful advice.
Thanks,

Thermal Image not loading

I've followed all the instructions for building GetThermal with a Raspberry Pi and the GetThermal window opens.

However, the thermal image is missing when I do so. I've probably missed something simple, but was wondering if you have any advice?
2017-07-05-134318_1920x1080_scrot

CMake Warning ...JPEG not found

Error

cmake ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No build type selected, default to Release
-- No target type selected, default to shared library
CMake Warning at CMakeLists.txt:58 (message):
  JPEG not found.  libuvc will not support JPEG decoding.


-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/GetThermal/libuvc/build

Problem

if(JPEG_FOUND)
  message(STATUS "Building libuvc with JPEG support.")
  include_directories(${JPEG_INCLUDE_DIR})
  SET(LIBUVC_HAS_JPEG TRUE)
  SET(SOURCES ${SOURCES} src/frame-mjpeg.c)
else()
  message(WARNING "JPEG not found. libuvc will not support JPEG decoding.")
endif()

Proof of libjpeg* install

pi@raspberrypi:~/GetThermal/libuvc/build $ sudo apt policy libjpeg*
libjpeg-dev:
  Installed: 1:1.5.2-2
  Candidate: 1:1.5.2-2
  Version table:
 *** 1:1.5.2-2 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        100 /var/lib/dpkg/status
libjpeg62-turbo-dev:
  Installed: 1:1.5.2-2+b1
  Candidate: 1:1.5.2-2+b1
  Version table:
 *** 1:1.5.2-2+b1 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        100 /var/lib/dpkg/status
libjpeg8:
  Installed: 8d1-2
  Candidate: 8d1-2
  Version table:
 *** 8d1-2 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        100 /var/lib/dpkg/status
libjpeg62-turbo:
  Installed: 1:1.5.2-2+b1
  Candidate: 1:1.5.2-2+b1
  Version table:
 *** 1:1.5.2-2+b1 500
        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        100 /var/lib/dpkg/status

Segmentation fault on pi4 with Lepton3.5&pt2

Hi,

I have builded the software on to my raspberry pi4 following the steps, and running the script is resulting in a segmentation failure and it is not working. It does say the script found and opened the device. Following are copied lines from the terminal:

./GetThermal
qt5ct: using qt5ct plugin
UVC initialized
Device found
Device opened
DEVICE CONFIGURATION (1e4e:0100/v1.1.0) ---
Status: idle
VideoControl:
bcdUVC: 0x0100
VideoStreaming(1):
bEndpointAddress: 129
Formats:
UncompressedFormat(1)
bits per pixel: 16
GUID: 5559565900001000800000aa00389b71 (UYVY)
default frame: 1
aspect ratio: 0x0
interlace flags: 00
copy protect: 00
FrameDescriptor(1)
capabilities: 02
size: 160x120
bit rate: 2764800-2764800
max frame size: 38400
default interval: 1/9
interval[0]: 1/9
UncompressedFormat(2)
bits per pixel: 16
GUID: 5931362000001000800000aa00389b71 (Y16 )
default frame: 1
aspect ratio: 0x0
interlace flags: 00
copy protect: 00
FrameDescriptor(1)
capabilities: 02
size: 160x120
bit rate: 2764800-2764800
max frame size: 38400
default interval: 1/9
interval[0]: 1/9
FrameDescriptor(2)
capabilities: 02
size: 160x122
bit rate: 2810880-2810880
max frame size: 39040
default interval: 1/9
interval[0]: 1/9
UncompressedFormat(3)
bits per pixel: 8
GUID: 5938202000001000800000aa00389b71 (Y8 )
default frame: 1
aspect ratio: 0x0
interlace flags: 00
copy protect: 00
FrameDescriptor(1)
capabilities: 02
size: 160x120
bit rate: 1382400-1382400
max frame size: 19200
default interval: 1/9
interval[0]: 1/9
UncompressedFormat(4)
bits per pixel: 16
GUID: 5247425000001000800000aa00389b71 (RGBP)
default frame: 1
aspect ratio: 0x0
interlace flags: 00
copy protect: 00
FrameDescriptor(1)
capabilities: 02
size: 160x120
bit rate: 2764800-2764800
max frame size: 38400
default interval: 1/9
interval[0]: 1/9
UncompressedFormat(5)
bits per pixel: 24
GUID: 7deb36e44f52ce119f530020af0ba770 (}�6�OR��S)
default frame: 1
aspect ratio: 0x0
interlace flags: 00
copy protect: 00
FrameDescriptor(1)
capabilities: 02
size: 160x120
bit rate: 4147200-4147200
max frame size: 57600
default interval: 1/9
interval[0]: 1/9
END DEVICE CONFIGURATION
Initializing lepton SDK with UVC backend...
Using GroupGets PureThermal 1 with firmware v1.1.0
OK
Found extension unit ID 3, controls: 000fffff, GUID: 70 74 31 2d 6c 65 70 2d 61 67 63 2d 30 30 30 30
Found extension unit ID 4, controls: 7fffffbf, GUID: 70 74 31 2d 6c 65 70 2d 6f 65 6d 2d 30 30 30 30
Found extension unit ID 5, controls: 3ffcffc81ffffff, GUID: 70 74 31 2d 6c 65 70 2d 72 61 64 2d 30 30 30 30
Found extension unit ID 6, controls: 007fffff, GUID: 70 74 31 2d 6c 65 70 2d 73 79 73 2d 30 30 30 30
Found extension unit ID 7, controls: 00003fff, GUID: 70 74 31 2d 6c 65 70 2d 76 69 64 2d 30 30 30 30
Found extension unit ID 21, controls: 07ff9ff9, GUID: 70 74 31 2d 6c 65 70 2d 72 61 64 32 30 30 30 30
Found extension unit ID 254, controls: 0000003f, GUID: 70 74 31 2d 6c 65 70 2d 63 75 73 74 30 30 30 30
bmHint: 0000
bFormatIndex: 2
bFrameIndex: 1
dwFrameInterval: 1111111
wKeyFrameRate: 0
wPFrameRate: 0
wCompQuality: 0
wCompWindowSize: 0
wDelay: 0
dwMaxVideoFrameSize: 38400
dwMaxPayloadTransferSize: 962
bInterfaceNumber: 1
Estimated / selected altsetting bandwith : 18 / 962.
start_streaming: Unknown error (-99)
Device closed
Segmentation fault

Radiometry on Boson isn't obvious, switch to hw color mode and suppor…

Hi,

great work ported and run also on Jetson NVidia TX1.
not sure I understand your comment on Getthermal.pro - radiomentry of boson:
Radiometry on Boson isn't obvious, switch to hw color mode and suppor…

what do you mean? how to switch to hw color? if so why did not force it in the code :)
is it a sort of mimic radiometry with boson?

thanks
mm

If no camera connected or detected then no warning/error presented to user

If there is no Lepton or Boson connected by USB then there is no warning or error presented to the user. If the app binary is launched directly from the terminal the following errors are printed:

$ ./GetThermal.app/Contents/MacOS/GetThermal  
UVC initialized
uvc_find_device: No such device (-4)
Surface set. Supported formats: 18 19 22 23 20 21 3 1 10 8 5
qrc:/controls/CameraControls.qml:56: TypeError: Cannot read property 'objectName' of null
Surface supports format 0 width -1 height -1qrc:/controls/VideoRoi.qml:18: TypeError: Cannot read property 'height' of undefined
qrc:/controls/VideoRoi.qml:17: TypeError: Cannot read property 'width' of undefined
qrc:/controls/VideoRoi.qml:16: TypeError: Cannot read property 'y' of undefined
qrc:/controls/VideoRoi.qml:15: TypeError: Cannot read property 'x' of undefined
qrc:/ViewerForm.ui.qml:57: TypeError: Cannot read property 'radSpotmeterRoi' of null
qrc:/ViewerForm.ui.qml:53: TypeError: Cannot read property 'supportsRadiometry' of null
qrc:/ViewerForm.ui.qml:69: TypeError: Cannot read property 'supportsRadiometry' of null
qrc:/controls/SpotInfo.qml:11: TypeError: Cannot read property 'radTLinearResolution' of null
qrc:/controls/SpotInfo.qml:46: TypeError: Cannot read property 'radSpotmeterInKelvinX100' of null
qrc:/controls/RangeDisplay.qml:11: TypeError: Cannot read property 'radTLinearResolution' of null

README.md build instructions: qmake requires shadow build

Attempting to follow the instructions to build on on macOS resulted in the following error:

$ qmake
Info: creating stash file /Users/harrison/Eio/Boson320-GetThermal/.qmake.stash
Project ERROR: You must use shadow build (e.g. mkdir build; cd build; qmake ../GetThermal.pro).

However this worked fine:

$ mkdir build; cd build; qmake ../GetThermal.pro
$ make

Use appimagetool or linuxdeployqt

Hi, I noticed you are using AppImageAssistant. It has been replaced by appimagetool. Overall an approach using Travis CI and then bundling the build artifacts like in these examples (using functions.sh which abstracts away all the hard work) seems easiest to me.

When you use generate_type2_appimageinstead of generate_appimage, then appimagetool is automatically used in the process.

For Qt applications, linuxdeployqt might also be worth a try. These projects are already using Travis CI and linuxdeployqt to provide AppImages of their builds:

No video on the GUI

Hi all,

I'm using a lepton 2.0, the pt2 and an ubuntu laptop.

I successfully compiled GetThermal after a lot of issues and missing dependencies with qt. When I open the device using VLC it does work and I can see the thermal image from /dev/video1, but when I execute:

sudo ./GetThermal

I see the next screen:

error-getthermal

The output in the terminal is:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
UVC initialized
Device found
Device opened
DEVICE CONFIGURATION (1e4e:0100/8011002a-5119-3138-3931-383900000000) ---
Status: idle
VideoControl:
	bcdUVC: 0x0100
VideoStreaming(1):
	bEndpointAddress: 129
	Formats:
	UncompressedFormat(1)
		  bits per pixel: 16
		  GUID: 5559565900001000800000aa00389b71 (UYVY)
		  default frame: 1
		  aspect ratio: 0x0
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 02
			  size: 80x60
			  bit rate: 691200-691200
			  max frame size: 9600
			  default interval: 1/9
			  interval[0]: 1/9
	UncompressedFormat(2)
		  bits per pixel: 16
		  GUID: 5931362000001000800000aa00389b71 (Y16 )
		  default frame: 1
		  aspect ratio: 0x0
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 02
			  size: 80x60
			  bit rate: 691200-691200
			  max frame size: 9600
			  default interval: 1/9
			  interval[0]: 1/9
			FrameDescriptor(2)
			  capabilities: 02
			  size: 80x63
			  bit rate: 725760-725760
			  max frame size: 10080
			  default interval: 1/9
			  interval[0]: 1/9
	UncompressedFormat(3)
		  bits per pixel: 8
		  GUID: 5938202000001000800000aa00389b71 (Y8  )
		  default frame: 1
		  aspect ratio: 0x0
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 02
			  size: 80x60
			  bit rate: 345600-345600
			  max frame size: 4800
			  default interval: 1/9
			  interval[0]: 1/9
	UncompressedFormat(4)
		  bits per pixel: 16
		  GUID: 5247425000001000800000aa00389b71 (RGBP)
		  default frame: 1
		  aspect ratio: 0x0
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 02
			  size: 80x60
			  bit rate: 691200-691200
			  max frame size: 9600
			  default interval: 1/9
			  interval[0]: 1/9
	UncompressedFormat(5)
		  bits per pixel: 24
		  GUID: 7deb36e44f52ce119f530020af0ba770 (}�6�OR��S)
		  default frame: 1
		  aspect ratio: 0x0
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 02
			  size: 80x60
			  bit rate: 1036800-1036800
			  max frame size: 14400
			  default interval: 1/9
			  interval[0]: 1/9
END DEVICE CONFIGURATION
Initializing lepton SDK with UVC backend...
Using GroupGets PureThermal (fw:v1.3.0) with firmware 8011002a-5119-3138-3931-383900000000
OK
Found extension unit ID 3, controls: 000fffff, GUID: 70 74 31 2d 6c 65 70 2d 61 67 63 2d 30 30 30 30
Found extension unit ID 4, controls: 7fffffbf, GUID: 70 74 31 2d 6c 65 70 2d 6f 65 6d 2d 30 30 30 30
Found extension unit ID 5, controls: 3ffcffc81ffffff, GUID: 70 74 31 2d 6c 65 70 2d 72 61 64 2d 30 30 30 30
Found extension unit ID 6, controls: 007fffff, GUID: 70 74 31 2d 6c 65 70 2d 73 79 73 2d 30 30 30 30
Found extension unit ID 7, controls: 00003fff, GUID: 70 74 31 2d 6c 65 70 2d 76 69 64 2d 30 30 30 30
Found extension unit ID 21, controls: 07ff9ff9, GUID: 70 74 31 2d 6c 65 70 2d 72 61 64 32 30 30 30 30
Found extension unit ID 254, controls: 0000003f, GUID: 70 74 31 2d 6c 65 70 2d 63 75 73 74 30 30 30 30
bmHint: 0000
bFormatIndex: 5
bFrameIndex: 1
dwFrameInterval: 1111111
wKeyFrameRate: 0
wPFrameRate: 0
wCompQuality: 0
wCompWindowSize: 0
wDelay: 0
dwMaxVideoFrameSize: 14400
dwMaxPayloadTransferSize: 962
bInterfaceNumber: 1
UVC_GetAttribute failed: -9Estimated / selected altsetting bandwith : 13 / 642. 
Streaming...
QQmlExpression: Expression qrc:/ViewerForm.ui.qml:68:22 depends on non-NOTIFYable properties:
    LeptonVariation::supportsRadiometry
QQmlExpression: Expression qrc:/ViewerForm.ui.qml:53:30 depends on non-NOTIFYable properties:
    LeptonVariation::supportsRadiometry
UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9Surface set. Supported formats: 18 19 22 23 20 21 3 1 10 8 5
Surface supports format 3 width 80 height 60QQmlExpression: Expression qrc:/lepton/InfoControls.qml:51:23 depends on non-NOTIFYable properties:
    LeptonVariation::ptFirmwareVersion
QQmlExpression: Expression qrc:/lepton/InfoControls.qml:46:23 depends on non-NOTIFYable properties:
    LeptonVariation::oemDspSoftwareVersion
QQmlExpression: Expression qrc:/lepton/InfoControls.qml:41:23 depends on non-NOTIFYable properties:
    LeptonVariation::oemGppSoftwareVersion
QQmlExpression: Expression qrc:/lepton/InfoControls.qml:36:23 depends on non-NOTIFYable properties:
    LeptonVariation::sysFlirSerialNumber
QQmlExpression: Expression qrc:/lepton/InfoControls.qml:31:23 depends on non-NOTIFYable properties:
    LeptonVariation::oemFlirPartNumber
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcHeqNormalizationFactor value: 1
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcHeqEmptyCount value: 2
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcHeqMidPoint value: 128
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcHeqBinExtension value: 0
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcHeqClipLimitLow value: 512
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcHeqClipLimitHigh value: 4800
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcHeqMaxGain value: 1
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcHeqDampingFactor value: 64
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcLinearDampeningFactor value: 1
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcLinearMidPoint value: 128
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcLinearMaxGain value: 1
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcLinearHistogramClipPercent value: 0
qml: model: LeptonVariation(0x55ad490cadd0, "LeptonVariation") property: agcLinearHistogramTailSize value: 0
QQmlExpression: Expression qrc:/lepton/AgcControls.qml:11:14 depends on non-NOTIFYable properties:
    LeptonVariation::supportsRadiometry
QQmlExpression: Expression qrc:/lepton/VidControls.qml:69:22 depends on non-NOTIFYable properties:
    LeptonVariation::supportsRadiometry
QQmlExpression: Expression qrc:/lepton/VidControls.qml:62:22 depends on non-NOTIFYable properties:
    LeptonVariation::supportsRadiometry
QQmlExpression: Expression qrc:/lepton/VidControls.qml:47:22 depends on non-NOTIFYable properties:
    LeptonVariation::supportsHwPseudoColor
    LeptonVariation::supportsRadiometry
QQmlExpression: Expression qrc:/lepton/VidControls.qml:26:22 depends on non-NOTIFYable properties:
    LeptonVariation::supportsHwPseudoColor
    LeptonVariation::supportsRadiometry
qrc:/lepton/VidControls.qml:149: TypeError: Cannot read property 'data' of undefined
qrc:/lepton/VidControls.qml:143: TypeError: Cannot read property 'data' of undefined
UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_SetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9Done streaming.
Device closed
UVC exited

I'm not sure if its a problem of a missing qt dependency or a problem with the compilation or with my camera...

View radiometry

I want to see the temperature in thermal image.
圖片

But I use purethermal(v1.3.0) & lepton 3.5. It only show thermal image without most right side bar which shows temperature.
Is there any way to make GetThermal to show temperature?

Disabling video/GUI output for using the program via SSH on an Ubuntu Server

Hey everyone,

Maybe this is very easy, so I better start with an apology, because I just started recently being a programmer and I'm especially new to C++ :)

I really love the program and I want to make some experiments with it. So as the topic says, I try to disable the video output, so I can use it on an Ubuntu Server via SSH. If I try to run the program right now, it says "Could not connect to any X display.".

I tried to solve the problem, by removing/commenting the lines related to the uvcvideoproducer in the main.cpp and compiling it again, but it's still looking for a display and doesn't start via SSH. I really don't know where to continue from here in order to solve the issue I'm having.

Thanks a lot, in advance for any help! It's very appreciated!

video Freeze how to deal with it?

I use ubuntu os , the GetThermal Video Image Freeze sometimes , I close the window , Type c into PC USB again , open the software , it works. I shake the lepton board also freeze .

minPoint and maxPoint not properly mapped in dataformatter.cpp

for (uint32_t i = 0; i < input->height; i++)
{
for (uint32_t j = 0; j < input->width; j++)
{
uint16_t val;
void *elem = &((uint8_t*)input->data)[i * input->width * bytes_per_pixel + j * bytes_per_pixel];
if (bytes_per_pixel == 1)
val = *((uint8_t*)elem);
else
val = *((uint16_t*)elem);
if (val > maxVal)
{
maxVal = val;
maxPoint.setX(i);
maxPoint.setY(j);
}
if (val < minVal)
{
minVal = val;
minPoint.setX(i);
minPoint.setY(j);
}
}
}

i sweeps through the input's height (y direction) and j its width (x)

values passed to setX() and setY() should then be inverted

Thanks!

Unknown error on RPi 4

There was a change to the usb hardware on the Raspberry Pi 4, so it now uses a VL805 host controller and communicates via PCIe (see here). Despite my hopes that this would solve the current issue with using the PureThermal 2 on a RPi, this seems to have broken the current method for accessing stream data all together.

Here is error printout:

Estimated / selected altsetting bandwith : 18 / 962. 
start_streaming: Unknown error (-99)
Device closed
Segmentation fault

It looks like GetThermal is able to locate and identify the device, it only crashes on start_streaming(). Has anyone else encountered this issue?

Jetson nano + Lepton3.0 + purethermal2 breakout board.

Hi,
I have successfully built the Getthermal project in Jetson nano and observed the output is there.
Thanks for the great project.

My hardware is Jetson nano with Lepton3.0 sensor with purethermal2 breakout board.

Although i can see the video stream output is there but no temperature readings on GUI.
I understand purethermal2 board is generally recommended to be used with Lepton3.5 but is there any way/workaround to get the temperature readings with Lepton3.0 sensor? as i have Lepton3.0 and want to use purethermal board for USB interface.

I have also tested "https://github.com/groupgets/purethermal1-uvc-capture" and it also ran well but there temperature readings are way too off.
Any help in that also be appreciated.

Just for additional information-
I check the following link-
https://github.com/Myzhar/Lepton3_Jetson
This is based on GPIO based breakout with lepton3.0 sensor with jetson nano.
I can successfully see the decent calibrated temperature output also.

Let me know if any information is required from my end.
Thanks.

Please release Windows version

My PC is running Windows, not Linux. Please compile a Windows version for me. I'm considering buying the FLIR 3.5 with a USB interface board, and I need Windows software to use it. I won't buy it if I can't use it.

No image on both Windows 10 and Ubuntu 20.04 - PureThermal-2 with Lepton 3.5

Hi all,
I first tried on Windows 10 and I have the same issue as @nomad described here:
https://groups.google.com/g/flir-lepton/c/NnLDO1Ua4ss
Camera is visible in both CCI and Camera Feed selection, LED is lit constantly and shutter closes for a second periodically,
but there is no image, just grey square in the middle.

So I tired with Linux Ubuntu 20.04, I follow steps that are described in Readme file.
Everything goes through without any errors. I run:
sudo ./GetThermal - That is located in /GetThermal/build/release and this window opens:
Screenshot from 2022-07-12 12-33-15
Theres is no image, GetThermal returns onto terminal:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' UVC initialized Device found Device opened DEVICE CONFIGURATION (1e4e:0100/8005800e-5113-3238-3233-393800000000) --- Status: idle VideoControl: bcdUVC: 0x0100 VideoStreaming(1): bEndpointAddress: 129 Formats: UncompressedFormat(1) bits per pixel: 16 GUID: 5559565900001000800000aa00389b71 (UYVY) default frame: 1 aspect ratio: 0x0 interlace flags: 00 copy protect: 00 FrameDescriptor(1) capabilities: 02 size: 80x60 bit rate: 691200-691200 max frame size: 9600 default interval: 1/9 interval[0]: 1/9 UncompressedFormat(2) bits per pixel: 16 GUID: 5931362000001000800000aa00389b71 (Y16 ) default frame: 1 aspect ratio: 0x0 interlace flags: 00 copy protect: 00 FrameDescriptor(1) capabilities: 02 size: 80x60 bit rate: 691200-691200 max frame size: 9600 default interval: 1/9 interval[0]: 1/9 FrameDescriptor(2) capabilities: 02 size: 80x63 bit rate: 725760-725760 max frame size: 10080 default interval: 1/9 interval[0]: 1/9 UncompressedFormat(3) bits per pixel: 8 GUID: 5938202000001000800000aa00389b71 (Y8 ) default frame: 1 aspect ratio: 0x0 interlace flags: 00 copy protect: 00 FrameDescriptor(1) capabilities: 02 size: 80x60 bit rate: 345600-345600 max frame size: 4800 default interval: 1/9 interval[0]: 1/9 UncompressedFormat(4) bits per pixel: 16 GUID: 5247425000001000800000aa00389b71 (RGBP) default frame: 1 aspect ratio: 0x0 interlace flags: 00 copy protect: 00 FrameDescriptor(1) capabilities: 02 size: 80x60 bit rate: 691200-691200 max frame size: 9600 default interval: 1/9 interval[0]: 1/9 UncompressedFormat(5) bits per pixel: 24 GUID: 7deb36e44f52ce119f530020af0ba770 (}�6�OR��S) default frame: 1 aspect ratio: 0x0 interlace flags: 00 copy protect: 00 FrameDescriptor(1) capabilities: 02 size: 80x60 bit rate: 1036800-1036800 max frame size: 14400 default interval: 1/9 interval[0]: 1/9 END DEVICE CONFIGURATION Initializing lepton SDK with UVC backend... Using GroupGets PureThermal (fw:v1.3.0) with firmware 8005800e-5113-3238-3233-393800000000 OK Found extension unit ID 3, controls: 000fffff, GUID: 70 74 31 2d 6c 65 70 2d 61 67 63 2d 30 30 30 30 Found extension unit ID 4, controls: 7fffffbf, GUID: 70 74 31 2d 6c 65 70 2d 6f 65 6d 2d 30 30 30 30 Found extension unit ID 5, controls: 3ffcffc81ffffff, GUID: 70 74 31 2d 6c 65 70 2d 72 61 64 2d 30 30 30 30 Found extension unit ID 6, controls: 007fffff, GUID: 70 74 31 2d 6c 65 70 2d 73 79 73 2d 30 30 30 30 Found extension unit ID 7, controls: 00003fff, GUID: 70 74 31 2d 6c 65 70 2d 76 69 64 2d 30 30 30 30 Found extension unit ID 21, controls: 07ff9ff9, GUID: 70 74 31 2d 6c 65 70 2d 72 61 64 32 30 30 30 30 Found extension unit ID 254, controls: 0000003f, GUID: 70 74 31 2d 6c 65 70 2d 63 75 73 74 30 30 30 30 bmHint: 0000 bFormatIndex: 5 bFrameIndex: 1 dwFrameInterval: 1111111 wKeyFrameRate: 0 wPFrameRate: 0 wCompQuality: 0 wCompWindowSize: 0 wDelay: 0 dwMaxVideoFrameSize: 14400 dwMaxPayloadTransferSize: 962 bInterfaceNumber: 1 UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9Estimated / selected altsetting bandwith : 13 / 642. Streaming... QQmlExpression: Expression qrc:/ViewerForm.ui.qml:68:13 depends on non-NOTIFYable properties: LeptonVariation::supportsRadiometry QQmlExpression: Expression qrc:/ViewerForm.ui.qml:53:21 depends on non-NOTIFYable properties: LeptonVariation::supportsRadiometry UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9Surface set. Supported formats: 18 19 22 23 20 21 3 1 10 8 5 Surface supports format 3 width 80 height 60QQmlExpression: Expression qrc:/lepton/InfoControls.qml:51:17 depends on non-NOTIFYable properties: LeptonVariation::ptFirmwareVersion QQmlExpression: Expression qrc:/lepton/InfoControls.qml:46:17 depends on non-NOTIFYable properties: LeptonVariation::oemDspSoftwareVersion QQmlExpression: Expression qrc:/lepton/InfoControls.qml:41:17 depends on non-NOTIFYable properties: LeptonVariation::oemGppSoftwareVersion QQmlExpression: Expression qrc:/lepton/InfoControls.qml:36:17 depends on non-NOTIFYable properties: LeptonVariation::sysFlirSerialNumber QQmlExpression: Expression qrc:/lepton/InfoControls.qml:31:17 depends on non-NOTIFYable properties: LeptonVariation::oemFlirPartNumber qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqNormalizationFactor value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqEmptyCount value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqMidPoint value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqBinExtension value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqClipLimitLow value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqClipLimitHigh value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqMaxGain value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcHeqDampingFactor value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcLinearDampeningFactor value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcLinearMidPoint value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcLinearMaxGain value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcLinearHistogramClipPercent value: 0 qml: model: LeptonVariation(0x55b3e8c73950, "LeptonVariation") property: agcLinearHistogramTailSize value: 0 QQmlExpression: Expression qrc:/lepton/AgcControls.qml:11:5 depends on non-NOTIFYable properties: LeptonVariation::supportsRadiometry QQmlExpression: Expression qrc:/lepton/VidControls.qml:69:13 depends on non-NOTIFYable properties: LeptonVariation::supportsRadiometry QQmlExpression: Expression qrc:/lepton/VidControls.qml:62:13 depends on non-NOTIFYable properties: LeptonVariation::supportsRadiometry QQmlExpression: Expression qrc:/lepton/VidControls.qml:47:13 depends on non-NOTIFYable properties: LeptonVariation::supportsHwPseudoColor LeptonVariation::supportsRadiometry QQmlExpression: Expression qrc:/lepton/VidControls.qml:26:13 depends on non-NOTIFYable properties: LeptonVariation::supportsHwPseudoColor LeptonVariation::supportsRadiometry UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_SetAttribute failed: -9UVC_GetAttribute failed: -9UVC_SetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: qrc:/lepton/VidControls.qml:125: TypeError: Cannot read property 'data' of undefined qrc:/lepton/VidControls.qml:149: TypeError: Cannot read property 'data' of undefined qrc:/lepton/AgcControls.qml:263: TypeError: Cannot read property 'data' of undefined qrc:/lepton/VidControls.qml:143: TypeError: Cannot read property 'data' of undefined qrc:/lepton/AgcControls.qml:257: TypeError: Cannot read property 'data' of undefined -9UVC_SetAttribute failed: -9UVC_SetAttribute failed: -9UVC_SetAttribute

I also tried running GetThermal.pro with QT, which opens similar screen:
Screenshot from 2022-07-12 12-37-01

It seems like resolution might be the problem, which is 160x120 for Lepton 3.5 and software expects 80x60.
I have check the cable with a mobile phone and I am able to transfer data via it.

Raspberry Pi 4 build instructions

There have been several issues dealing with bugs related to the Raspberry Pi 4 including #29 and #23 . The wiki instructions have not been updated to reflect this. There seem to be specific steps that need to be taken such as building a non-master branch or applying a patch. These instructions should be incorporated into the wiki instructions.

Working on USb C-Thermals?

Hello Guys

Thanks for your Git in advance.
But, does anybody know if this works for USB C-Thermal Cams? For example the Infiray P2?

Issue Installing When Running Make in Build Folder

I follow the installation guide on my Mac running Monterey. However, when I get to the last step, running make in the created build folder after running qmake, I get the following message at the end:

23 warnings and 3 errors generated.
make: *** [obj/LEPTON_SDK.o] Error 1

Wondering what's causing this, and how it can be resolved, because when I try to open the GetThermal app, I get the following error:

You can’t open the application “GetThermal” because it may be damaged or incomplete.

Any help is appreciated!

Thanks.

unable to boot to DFU-mode

I'm using a Lepton 3.5 with a PureThermal mini pro JST-SR board, MacOS 10.14 AMD chip.
When I try to boot into DFU mode (as described here), the light turns off completely, and I'm unable to get my Mac to recognize the device. Before entering boot mode, the light blinks on and off.

I'm at a loss for trying to get any code onto this board, since I can't get my computer to recognize the device. Any advice at all is welcome.

Don't use the a USB hub

I had, as some users before, bigger problems with the software complaining about access rights.
I am using
Linux Mint 4.15.0-50-generic #54-Ubuntu SMP x86_64 GNU/Linux
with Purethermal2 connected to the PC via an USB hub.

Finally I connected the Lepton 2.5 / Purethermal2 directly to the PCs USB port w/o an USB hub and suddenly it works.
Markus

does not compile on Big Sur

Project MESSAGE: Qt version 5.14.0
Project MESSAGE: Mac build
Project MESSAGE: GetThermal version 0.1.4 build 1 describe Development master:36b8d17 2020-09-24 16:29:01 -0700
Project MESSAGE: Release flavor
Project WARNING: Qt has only been tested with version 10.15 of the platform SDK, you're using 11.1.
Project WARNING: This is an unsupported configuration. You may experience build issues, and by using
Project WARNING: the 11.1 SDK you are opting in to new features that Qt has not been prepared for.
Project WARNING: Please downgrade the SDK you use to build your app to version 10.15, or configure
Project WARNING: with CONFIG+=sdk_no_version_check when running qmake to silence this warning.

and with

qmake CONFIG+=sdk_no_version_check ../GetThermal.pro
Project MESSAGE: Qt version 5.14.0
Project MESSAGE: Mac build
Project MESSAGE: GetThermal version 0.1.4 build 1 describe Development master:36b8d17 2020-09-24 16:29:01 -0700
Project MESSAGE: Release flavor

nothing really happens

PS: binary isnt working either

Issue with Building for Raspberry Pi

I am trying to get a Lepton 3.5 on the PureThermal 2 - FLIR Lepton Smart I/O Module to simply take a picture so I can test it out this weekend in the field. Earlier today I tried to get the pylepton module to work but once I finally got opencv to work the example code does not seem to capture an image. So I thought if I could get the GetThermal software to work I could at least take an image then I would figure out the python module later but this is not working either. I can get all the way to the last step of Build getthermal then when I run make I get the error below.

pi@raspberrypi:~/GetThermal/build $ make
g++ -pipe -O2 -g -std=gnu++11 -flto=4 -fno-fat-lto-objects -fuse-linker-plugin -fPIC -o release/GetThermal obj/main.o obj/uvcvideoproducer.o obj/uvcacquisition.o obj/uvcbuffer.o obj/leptonvariation.o obj/abstractccinterface.o obj/LEPTON_AGC.o obj/LEPTON_OEM.o obj/LEPTON_RAD.o obj/LEPTON_SDK.o obj/LEPTON_SYS.o obj/LEPTON_VID.o obj/crc16fast.o obj/dataformatter.o obj/rangeprovider.o obj/bosonvariation.o obj/Client_API.o obj/Client_Dispatcher.o obj/Client_Packager.o obj/Example.o obj/Serializer_BuiltIn.o obj/Serializer_Struct.o obj/UART_Connector.o obj/flirChannels.o obj/flirCRC.o obj/libusb_binary_protocol.o obj/qrc_qml.o obj/moc_uvcvideoproducer.o obj/moc_uvcacquisition.o obj/moc_leptonvariation.o obj/moc_abstractccinterface.o obj/moc_leptonvariation_types.o obj/moc_dataformatter.o obj/moc_bosonvariation.o obj/moc_bosonvariation_types.o -L/home/pi/GetThermal/libuvc/build/ -luvcstatic -lusb-1.0 -lQt5Quick -lQt5Multimedia -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lGLESv2 -lpthread
obj/moc_leptonvariation.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
Makefile:259: recipe for target 'release/GetThermal' failed
make: *** [release/GetThermal] Error 1

I am running stretch:

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Any insight on how to get this working would be greatly appreciated.

v4l2 stream error: cannot open device '/dev/video0'

I have a PureThermal 2 with Lepton 3.5. Windows 10 VLC play the video stream, on Ubuntu 18.04 VLC can't play, the log show "v4l2 stream error: cannot open device '/dev/video0': Operation not permitted" and "audit: type=1400 audit(1553403072.607:47): apparmor="DENIED" operation="ptrace" profile="snap.v
lc.vlc" pid=2176 comm="vlc" requested_mask="trace" denied_mask="trace" peer="unconfined"".
Permision of /dev/video0 und /dev/bus/usb... is set to my username.

Impossible to reach the desired temp

Hi there,

I tested my Lepton Flir 3.5mm with the soft get Thermal and I cannot reach the dynamic range that was advertised by the manufacturer.
Indeed, this camera should be able to detect temperatures up to 400°C but the limit of the visualisation with this software in both high and low gain is of 181.35°C.
I just want to now if this issue is due to the software or to the camera that cannot transmit a higher level of intensity via the board.

Have a nice day,
Maxime B.

Repeatably Denied Access

Hello,

I am trying to use GetThermal on OpenSUSE 42.3. I have QT 5.11.1 installed and I am able to get the application to run, however, I am running Linux through Virtual Box. GetThermal builds correctly and reads the camera successfully but, no image is seen in the application. In the application output it reads, "uvc_open: Access denied (-3)".

Any help to solve this issue is appreciated. I have run qtcreator using the sudo command in the terminal but, it reports some text and is then aborted. I have also tried to run Virtual Box as an administrator on the computer I'm using and that has not helped. I have attached a screenshot of qtcreator and GetThermal as I was running Virtal Box using 'Run as Administrator'.

Thanks,
Jessie A
issue

Temperature values read but no videoOutput showing

Running Armbian on TinkerBoard S. Everything compiled fine
UVC device (Lepton 3.5) is found: Using GroupGets PureThermal (fw:v1.3.0) with firmware 00040014-5110-3538-3731-313200000000
Temperature values in SpotInfo also respond correctly but I get not image in the viewer.

Has anyone run into this issue before? Would it be possible it has something to do with the gstreamer1.0-plugins-[..] packages?

Note at startup I can get an image on VLC. After I have run GetThermal though, I can no longer open the capture preview on the same /dev/videoX (orange "waiting"bar moving back and forth). lsusb still shows ID 1e4e:0100 Cubeternet WebCam

Thank you so much!
qynn

UVC denied

Hej Guys,

thank you for all the supplied software.

when running GetThermal without root privileges my Q'T Creator Application Output states:
uvc_open: Access denied (-3)

I can launch sudo ~/GetThermal/build/release/GetThermal after manual build sucessfully, but would like not to do this by hand every time and waive on sudo.

I tried to sudo chown $USER:$USER /dev/usb/dev/002/002 to grant access to normal user on the usb device, but still no relieve.

Regards,
Jarvis

OS: Manjaro on x86_64
(as well on Ubuntu 18.04 on x86_64)

EDIT:
i chown'd the wrong device - works now

Enable to get image using Pure Thermal 2 camera

We're running VBox with openSuse 42 and we're unable to get an image from our Pure Thermal 2 camera with a Lepton 3.5 chip.

This is a screenshot of the console and terminal attempts to run the program. As you can see from the terminal we are getting a message saying, "No such device (-4)". We're running as sudo.

image

QQmlApplicationEngine failed to load component

Good afternoon when, trying too run the app in QT Created, getting the following error.

QQmlApplicationEngine failed to load component
qrc:/main.qml:11 Type Viewer unavailable
qrc:/Viewer.qml:2 module "QtMultimedia" is not installed

Please advise

[Request] Radiometric measurement points

On Lepton 2.5 and 3.5 devices users should be able to add measurement points to defined locations on the image. tCam has this functionality but unfortunately it does not support PureThermal boards.

tcam_macos_view

Missing radiometry from Lepton 3.0 on Ubuntu

Hello, I am using Lepton 3.0 with GetThermal on Ubuntu. Camera is correctly working as UVC when tested via browser on https://davidwalsh.name/demo/camera.php
On latest fw:v1.3.0, GetThermal was not displaying any video feed, only a lot of UVC_GetAttribute failed: -9 in console
After I downgraded firmware from v1.3.0 to v1.2.2, video feed is present but radiometric range is not displayed:
GetThermal v0 1 4

This is what GEtThermal app is logging to console:

$ ./GetThermal-v0.1.3-x86_64-Linux.AppImage 
UVC initialized
Device found
Device opened
DEVICE CONFIGURATION (1e4e:0100/005e0033-5107-3036-3331-303200000000) ---
Status: idle
VideoControl:
	bcdUVC: 0x0100
VideoStreaming(1):
	bEndpointAddress: 129
	Formats:
	UncompressedFormat(1)
		  bits per pixel: 16
		  GUID: 5559565900001000800000aa00389b71 (UYVY)
		  default frame: 1
		  aspect ratio: 0x0
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 02
			  size: 160x120
			  bit rate: 2764800-2764800
			  max frame size: 38400
			  default interval: 1/9
			  interval[0]: 1/9
	UncompressedFormat(2)
		  bits per pixel: 16
		  GUID: 5931362000001000800000aa00389b71 (Y16 )
		  default frame: 1
		  aspect ratio: 0x0
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 02
			  size: 160x120
			  bit rate: 2764800-2764800
			  max frame size: 38400
			  default interval: 1/9
			  interval[0]: 1/9
			FrameDescriptor(2)
			  capabilities: 02
			  size: 160x122
			  bit rate: 2810880-2810880
			  max frame size: 39040
			  default interval: 1/9
			  interval[0]: 1/9
	UncompressedFormat(3)
		  bits per pixel: 8
		  GUID: 5938202000001000800000aa00389b71 (Y8  )
		  default frame: 1
		  aspect ratio: 0x0
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 02
			  size: 160x120
			  bit rate: 1382400-1382400
			  max frame size: 19200
			  default interval: 1/9
			  interval[0]: 1/9
	UncompressedFormat(4)
		  bits per pixel: 16
		  GUID: 5247425000001000800000aa00389b71 (RGBP)
		  default frame: 1
		  aspect ratio: 0x0
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 02
			  size: 160x120
			  bit rate: 2764800-2764800
			  max frame size: 38400
			  default interval: 1/9
			  interval[0]: 1/9
	UncompressedFormat(5)
		  bits per pixel: 24
		  GUID: 7deb36e44f52ce119f530020af0ba770 (}�6�OR���S)
		  default frame: 1
		  aspect ratio: 0x0
		  interlace flags: 00
		  copy protect: 00
			FrameDescriptor(1)
			  capabilities: 02
			  size: 160x120
			  bit rate: 4147200-4147200
			  max frame size: 57600
			  default interval: 1/9
			  interval[0]: 1/9
END DEVICE CONFIGURATION
Initializing lepton SDK with UVC backend...
Using GroupGets PureThermal (fw:v1.2.2) with firmware 005e0033-5107-3036-3331-303200000000
OK
Found extension unit ID 3, controls: 000fffff, GUID: 70 74 31 2d 6c 65 70 2d 61 67 63 2d 30 30 30 30
Found extension unit ID 4, controls: 7fffffbf, GUID: 70 74 31 2d 6c 65 70 2d 6f 65 6d 2d 30 30 30 30
Found extension unit ID 5, controls: 3ffcffc81ffffff, GUID: 70 74 31 2d 6c 65 70 2d 72 61 64 2d 30 30 30 30
Found extension unit ID 6, controls: 007fffff, GUID: 70 74 31 2d 6c 65 70 2d 73 79 73 2d 30 30 30 30
Found extension unit ID 7, controls: 00003fff, GUID: 70 74 31 2d 6c 65 70 2d 76 69 64 2d 30 30 30 30
Found extension unit ID 21, controls: 07ff9ff9, GUID: 70 74 31 2d 6c 65 70 2d 72 61 64 32 30 30 30 30
Found extension unit ID 254, controls: 0000003f, GUID: 70 74 31 2d 6c 65 70 2d 63 75 73 74 30 30 30 30
bmHint: 0000
bFormatIndex: 5
bFrameIndex: 1
dwFrameInterval: 1111111
wKeyFrameRate: 0
wPFrameRate: 0
wCompQuality: 0
wCompWindowSize: 0
wDelay: 0
dwMaxVideoFrameSize: 57600
dwMaxPayloadTransferSize: 962
bInterfaceNumber: 1
UVC_GetAttribute failed: -9Estimated / selected altsetting bandwith : 18 / 962. 
Streaming...
QQmlExpression: Expression qrc:/ViewerForm.ui.qml:69:22 depends on non-NOTIFYable properties:
    LeptonVariation::supportsRadiometry
QQmlExpression: Expression qrc:/ViewerForm.ui.qml:53:30 depends on non-NOTIFYable properties:
    LeptonVariation::supportsRadiometry
UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9Surface set. Supported formats: 18 19 22 23 20 21 3 1 10 8 5
Surface supports format 3 width 160 height 120QQmlExpression: Expression qrc:/lepton/InfoControls.qml:51:23 depends on non-NOTIFYable properties:
    LeptonVariation::ptFirmwareVersion
QQmlExpression: Expression qrc:/lepton/InfoControls.qml:46:23 depends on non-NOTIFYable properties:
    LeptonVariation::oemDspSoftwareVersion
QQmlExpression: Expression qrc:/lepton/InfoControls.qml:41:23 depends on non-NOTIFYable properties:
    LeptonVariation::oemGppSoftwareVersion
QQmlExpression: Expression qrc:/lepton/InfoControls.qml:36:23 depends on non-NOTIFYable properties:
    LeptonVariation::sysFlirSerialNumber
QQmlExpression: Expression qrc:/lepton/InfoControls.qml:31:23 depends on non-NOTIFYable properties:
    LeptonVariation::oemFlirPartNumber
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcHeqNormalizationFactor value: 1
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcHeqEmptyCount value: 2
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcHeqMidPoint value: 128
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcHeqBinExtension value: 0
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcHeqClipLimitLow value: 512
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcHeqClipLimitHigh value: 4800
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcHeqMaxGain value: 1
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcHeqDampingFactor value: 64
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcLinearDampeningFactor value: 100
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcLinearMidPoint value: 128
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcLinearMaxGain value: 1
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcLinearHistogramClipPercent value: 0
qml: model: LeptonVariation(0xac8740, "LeptonVariation") property: agcLinearHistogramTailSize value: 0
QQmlExpression: Expression qrc:/lepton/AgcControls.qml:11:14 depends on non-NOTIFYable properties:
    LeptonVariation::supportsRadiometry
QQmlExpression: Expression qrc:/lepton/VidControls.qml:69:22 depends on non-NOTIFYable properties:
    LeptonVariation::supportsRadiometry
QQmlExpression: Expression qrc:/lepton/VidControls.qml:62:22 depends on non-NOTIFYable properties:
    LeptonVariation::supportsRadiometry
QQmlExpression: Expression qrc:/lepton/VidControls.qml:47:22 depends on non-NOTIFYable properties:
    LeptonVariation::supportsHwPseudoColor
    LeptonVariation::supportsRadiometry
QQmlExpression: Expression qrc:/lepton/VidControls.qml:26:22 depends on non-NOTIFYable properties:
    LeptonVariation::supportsHwPseudoColor
    LeptonVariation::supportsRadiometry
UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_SetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9UVC_GetAttribute failed: -9Done streaming.
Device closed
UVC exited

I have that on both latest releases: GetThermal-v0.1.3-x86_64-Linux.AppImageand GetThermal-v0.1.4-x86_64-Linux.AppImage

  • Will radiometric scale even work on Leptopn 3.0, and what firmware do I need for this?

Lepton Camera feed not available

Hi all,

Am not getting any video feed from the Lepton although the app is running. Please advise.

Output from QT 5.7:

Starting /home/prat96/Error in " Util.asciify("build-GetThermal-Desktop_Qt_5_7_1_GCC_64bit-Debug")": TypeError: Property 'asciify' of object Core::Internal::UtilsJsExtension(0xd2be10) is not a function/debug/GetThermal...
QML debugging is enabled. Only use this in a safe environment.
uvc_open
: Access denied (-3)
UVC initialized
Device found
Surface set. Supported formats: 18 19 22 23 3 1 10 8 5
Surface supports format 0 width -1 height -1qrc:/lepton/AgcControls.qml:276: TypeError: Type error
qrc:/lepton/AgcControls.qml:268: TypeError: Type error
qrc:/lepton/VidControls.qml:85: TypeError: Type error
qrc:/lepton/VidControls.qml:41: TypeError: Cannot read property 'vidPcolorLut' of null
qrc:/lepton/VidControls.qml:26: TypeError: Cannot read property 'supportsHwPseudoColor' of null
qrc:/lepton/VidControls.qml:47: TypeError: Cannot read property 'supportsHwPseudoColor' of null
qrc:/lepton/VidControls.qml:63: TypeError: Cannot read property 'vidSbNucEnableState' of null
qrc:/lepton/AgcControls.qml:11: TypeError: Cannot read property 'supportsRadiometry' of null
qrc:/lepton/AgcControls.qml:23: TypeError: Cannot read property 'agcEnable' of null
qrc:/lepton/AgcControls.qml:31: TypeError: Cannot read property 'agcCalcEnable' of null
qrc:/lepton/AgcControls.qml:53: TypeError: Cannot read property 'agcPolicy' of null
qrc:/lepton/AgcControls.qml:168: TypeError: Cannot read property 'agcHeqScaleFactor' of null
qrc:/lepton/InfoControls.qml:31: TypeError: Cannot read property 'oemFlirPartNumber' of null
qrc:/lepton/InfoControls.qml:36: TypeError: Cannot read property 'sysFlirSerialNumber' of null
qrc:/lepton/InfoControls.qml:41: TypeError: Cannot read property 'oemGppSoftwareVersion' of null
qrc:/lepton/InfoControls.qml:46: TypeError: Cannot read property 'oemDspSoftwareVersion' of null
qrc:/lepton/InfoControls.qml:51: TypeError: Cannot read property 'ptFirmwareVersion' of null
qrc:/ViewerForm.ui.qml:61: TypeError: Cannot read property 'supportsRadiometry' of null
UVC exited
/home/prat96/Error in " Util.asciify("build-GetThermal-Desktop_Qt_5_7_1_GCC_64bit-Debug")": TypeError: Property 'asciify' of object Core::Internal::UtilsJsExtension(0xd2be10) is not a function/debug/GetThermal exited with code 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.