free Linux application for the TE-Q1 camera - Page 1
Forum section: electronics / general

author: kirill_ka
author_rank: Frequent Contributor
timestamp: December 07, 2019, 10:56:09 pm
content: 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.gzFor 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:Code:mkdir tkthcamcd tkthcamtar xzf ../tkthcam.tar.gz./tkthcam.tclTcl/Tk 8.6 and libtk-img should be installed...Ok, I'd add some documentation if there's some interest.

author: Klaus
author_rank: Contributor
timestamp: August 09, 2020, 09:21:53 pm
content: Hi,I'm interessed in some more information.I can't start it

author: kirill_ka
author_rank: Frequent Contributor
timestamp: August 10, 2020, 07:31:09 am
content: Hi Klaus,Do you have some output in the terminal? Please, provide the exact sequence of commands you are entering and the output.

author: Klaus
author_rank: Contributor
timestamp: August 10, 2020, 09:16:08 pm
content: Hi kirill_ka,i tried this:root@raspberrypi:/home/pi/tkthcam# tclsh tkthcam.tclcouldn't load file "/tmp/libimgtools0.3.so": /tmp/libimgtools0.3.so: wrong ELF class: ELFCLASS64while 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

author: kirill_ka
author_rank: Frequent Contributor
timestamp: August 10, 2020, 09:48:50 pm
content: Quote from: Klaus on August 10, 2020, 09:16:08 pmAh, that binary release is for x86-64.I'd try to make a pi version if you want one. What do you think?

author: Klaus
author_rank: Contributor
timestamp: August 10, 2020, 09:59:58 pm
content: That would be nice!I'm using a RPi 3+

author: kirill_ka
author_rank: Frequent Contributor
timestamp: August 10, 2020, 10:15:55 pm
content: Quote from: Klaus on August 10, 2020, 09:59:58 pmIs it a 64bit ARM? I think I have an older pi which is 32bit... This makes things more complex.

author: puch650tr
author_rank: Newbie
timestamp: October 14, 2020, 08:51:27 pm
content: 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

author: kirill_ka
author_rank: Frequent Contributor
timestamp: October 15, 2020, 07:47:49 am
content: Hi Vincent,Yes, here are some "snips" from the i3systems' SDK installation scripts.Code:# move i3Vendor.rulesmv ./i3Vendor.rules /etc/udev/rules.d/Code:$ cat i3Vendor.rulesSUBSYSTEM=="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:Code:chown root teq1drvchmod u+s teq1drv

author: puch650tr
author_rank: Newbie
timestamp: October 15, 2020, 07:29:07 pm
content: 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 fineThanks 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

author: kirill_ka
author_rank: Frequent Contributor
timestamp: October 19, 2020, 08:01:45 pm
content: 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 everythingAlso 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.

author: kirill_ka
author_rank: Frequent Contributor
timestamp: October 19, 2020, 08:05:00 pm
content: Quote from: kirill_ka on August 10, 2020, 10:15:55 pmI realized that I do have a RPI3. So I can try to make a port for raspbian. Do you still want it?

author: puch650tr
author_rank: Newbie
timestamp: October 28, 2020, 04:40:14 pm
content: Here is the direct link to the camera at my site: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 germanQuoteNo problem, thats fine. Just work on it as long as you have fun with itAnd up to now, no bugs found.Greetings from Austria

author: Klaus
author_rank: Contributor
timestamp: November 01, 2020, 08:57:11 pm
content: Hi, that would be great! I want the RPi with the te-q1 to use as a thermal Web cam!

author: kirill_ka
author_rank: Frequent Contributor
timestamp: November 16, 2020, 09:07:48 pm
content: Quote from: Klaus on November 01, 2020, 08:57:11 pmTo match the pace of the thread it took me 2 weeks just to run make on my RPI 3Well, not quite, but anyway...https://github.com/KIrill-ka/tkthcam/releases/download/r0.5/tkthcam-raspbian.tar.gzIt works on my RPI3/raspbian jessie. It's likely to work on the newer 32-bit (armhf) releases.

author: Klaus
author_rank: Contributor
timestamp: December 27, 2020, 10:01:13 pm
content: Hi,i just testet your fine peace off software. Very nice stuff! Excelent!Now a litte web cam software would be fine.Best regards