EEVblog® Electronics Community Forum
Products => Thermal Imaging => Topic started by: kirill_ka on December 07, 2019, 10:56:09 pm
-
This is a basic thermal camera viewer application I wrote some time ago.
Now I'm releasing it for the case someone would find it useful.
https://github.com/KIrill-ka/tkthcam/releases/download/r0.5/tkthcam.tar.gz
For now it's not packaged. In the current state it's intended for people familiar with *nix command line.
Spells like this should get you started:
mkdir tkthcam
cd tkthcam
tar xzf ../tkthcam.tar.gz
./tkthcam.tcl
Tcl/Tk 8.6 and libtk-img should be installed...
Ok, I'd add some documentation if there's some interest.
-
Hi,
I'm interessed in some more information.
I can't start it :'(
-
Hi Klaus,
Do you have some output in the terminal? Please, provide the exact sequence of commands you are entering and the output.
-
Hi kirill_ka,
i tried this:
root@raspberrypi:/home/pi/tkthcam# tclsh tkthcam.tcl
couldn't load file "/tmp/libimgtools0.3.so": /tmp/libimgtools0.3.so: wrong ELF class: ELFCLASS64
while executing
"load $tmpFileName"
(file "./imgtools-0.3.tm" line 21)
invoked from within
"source -encoding utf-8 ./imgtools-0.3.tm"
("package ifneeded imgtools 0.3" script)
invoked from within
"package require imgtools"
(file "tkthcam.tcl" line 10)
Best Regards
-
couldn't load file "/tmp/libimgtools0.3.so": /tmp/libimgtools0.3.so: wrong ELF class: ELFCLASS64
Ah, that binary release is for x86-64.
I'd try to make a pi version if you want one. What do you think?
-
That would be nice!
I'm using a RPi 3+
-
That would be nice!
I'm using a RPi 3+
Is it a 64bit ARM? I think I have an older pi which is 32bit... This makes things more complex.
-
Hi,
just found your little Software for the TE-Q1 cam. Finally i can use it under Linux and don't have to boot Windows.
I have run the program at my testing/experimenting system. It's just an old laptop, but with an actual version of Debian Testing. Starts and runs fine, no issues so far.
But one question: When starting the program as normal (non root) user, the camera is not detected. As root it works fine (as mentioned above). But is there a way to get it working as a normal user?
The camera shows up with „lsusb“ but does not show up as a device in /dev. So for now i have no clue what i can do to get it detected by your program as non root user.
Thanks very much for your great work!
Vincent
-
Hi Vincent,
Yes, here are some "snips" from the i3systems' SDK installation scripts.
# move i3Vendor.rules
mv ./i3Vendor.rules /etc/udev/rules.d/
$ cat i3Vendor.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0547", MODE="0666"
SUBSYSTEM=="usb_device", ATTRS{idVendor}=="0547", MODE="0666"
Maybe you need to restart udev to apply the changes.
Alternatively you can make teq1drv setuid root.
Something like this:
chown root teq1drv
chmod u+s teq1drv
-
Hi,
thanks for your answer!
Just one hour ago i figured it out by myself. Now it's working fine.
Yesterday night as i tried to sleep i had an idea. I have another device which had the same issue but i was not sure about the root cause. Then after playing with the camera and instead of falling asleep i managed to connect the dots. Wrote some udev rules and now both devices are working fine :)
Thanks again for your work. I will mention it at my website (it's not big and only in german, so i guess nobody will see it. but who knows). I hope you keep on working at it, this would be great.
Have a nice evening,
Vincent
-
Thanks, Vincent.
I'm happy to know that you find my app useful. Feel free to post you suggestions and bug reports here or on the github.
Although, I can't promise to fix everything ;)
Also it would be nice if you share a link to your site.
EDIT: I realized that there's a link to your site in profile.
-
That would be nice!
I'm using a RPi 3+
Is it a 64bit ARM? I think I have an older pi which is 32bit... This makes things more complex.
I realized that I do have a RPI3. So I can try to make a port for raspbian. Do you still want it?
-
Here is the direct link to the camera at my site: https://www.vpippan.at/index.php?pid=Ausstattung_Hardware_DiversesWerkzeug_ThermokameraTeq1 (https://www.vpippan.at/index.php?pid=Ausstattung_Hardware_DiversesWerkzeug_ThermokameraTeq1).
This will be easier to find then going over the startpage, especially without speaking german :)
Although, I can't promise to fix everything
No problem, thats fine. Just work on it as long as you have fun with it :)
And up to now, no bugs found.
Greetings from Austria
-
Hi, that would be great! I want the RPi with the te-q1 to use as a thermal Web cam!
-
Hi, that would be great! I want the RPi with the te-q1 to use as a thermal Web cam!
To match the pace of the thread it took me 2 weeks just to run make on my RPI 3 :-DD
Well, not quite, but anyway...
https://github.com/KIrill-ka/tkthcam/releases/download/r0.5/tkthcam-raspbian.tar.gz
It works on my RPI3/raspbian jessie. It's likely to work on the newer 32-bit (armhf) releases.
-
Hi,
i just testet your fine peace off software. Very nice stuff! Excelent!
Now a litte web cam software would be fine.
Best regards