Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High Temperature Setting #8

Open
westiculo opened this issue Nov 20, 2023 · 2 comments
Open

High Temperature Setting #8

westiculo opened this issue Nov 20, 2023 · 2 comments

Comments

@westiculo
Copy link

The TC001 enables thermal imaging in two different temperature ranges -20-150 and 150-550 [C].
The camera defaults to the low temperature range - is it possible to set it to the high range? Right now the camera fails to read above 220C (and is likely inaccurate above 150).

@noloader
Copy link

noloader commented Nov 21, 2023

@westiculo,

I've been wondering about the same thing.

While poking around with the camera on Ubuntu 22.04, I noticed this when running ffplay:

topdon-camera-ubuntu-22-04--2

The image is 256x384, which is twice the resolution of 256x192 stated in the Topdon literature. So I am thinking there are two images in the stream. One is low temperature (the top part of the image), and the second is high temperature (the bottom part of the image).

And here is some info from ffplay. Notice the 256x384 instead of 256x192. But ffplay got 25 fps correct, so I don't think the image is being sliced incorrectly.

$ ffplay /dev/video0
ffplay version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2003-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
...
Input #0, video4linux2,v4l2, from '/dev/video0':B sq=    0B f=0/0   
  Duration: N/A, start: 9923.884284, bitrate: 39321 kb/s
  Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 256x384, 39321 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k tbc
11443.63 M-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

And I could be completely wrong...

@christosnc
Copy link

Hey!

The Topdon camera core is the same as Infiray (Xinfrared) P2 Pro.
You can find a lot of information for P2 Pro which applies to the Topdon camera as well:

https://www.eevblog.com/forum/thermal-imaging/infiray-and-their-p2-pro-discussion/msg4665403/#msg4665403

First half is the pre-processed frame (ready-to-show image, processed by the camera)
Bottom half is the raw temperature data (16 bits per pixel)

Now, for switching between high-temperature and low-temperature ranges (and for other things like shutter control), you want to send "special" usb control commands to the camera.

LeoDJ has done some initial work on this:
https://github.com/LeoDJ/P2Pro-Viewer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants