Author Topic: Yet another cheap thermal imager incoming.. Seek Thermal  (Read 1012975 times)

0 Members and 4 Guests are viewing this topic.

Offline methael

  • Newbie
  • Posts: 3
  • Country: ca
  • Physics student at york university
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2375 on: August 23, 2018, 09:23:15 pm »
Hello everyone,

I have looked at the code for seek thermal compact, and everyone seemed to have written their code interfacing the iAP interface. I am wondering why this interface and not the other that is available?
https://github.com/sgstair/winusbdotnet

If you look at the lsusb that was posted here(in the link below) it says that theres another interface available. (the interface is called com.thermal.pir206)
https://github.com/zougloub/libseek

I am wondering this because i had to write c++ code to communicate with this camera and i also used winusb to do it. I decided to use iAP interface cause everyone else used it. I want to be able to run 2 seek thermal cameras in parallel.  I have done that using multi-threading however i realized that there seems to be some sort of race condition. When using winusb_readpipe function with two seek thermal cameras, the function sends the data to a unique winusb_interface_handle however the PipeID remains the same. So i think that two threads might be racing for this function. So i was thinking to communicate with the second camera run on the other interface because it has another pipeID. However when i do winusb_controltransfer/winusb_writepipe/winusb_readpipe using the second interface i will get windows errors like "Invalid access to memory location",A device attached to the system is not functioning" and "The parameter is incorrect". I am confused as to why?

Any help is appreciated thank you!

Edit:
I found this link on endpoints and pipes.
https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-endpoints-and-their-pipes
It makes me think that my conclusion on the problem is correct. As there are 2 devices hence 2 endpoints but only 1 pipe. So my 2 threaded readpipe functions are just racing for the pipe.
« Last Edit: August 24, 2018, 02:30:01 pm by methael »
 

Offline IwuzBornanerd

  • Frequent Contributor
  • **
  • Posts: 318
  • Country: us
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2376 on: August 25, 2018, 07:28:38 am »
I'm not clear from your post whether you are actually getting data from both cameras.  Are you getting images from both cameras but erratically?  What do you observe that makes you think there is a race.  One pipe for two distinct devices seems crazy and makes me wonder if you got 2 handles to the same device (which does not make sense to me either but might be more likely than the one pipe for 2 devices).

I have run 3 Seeks simultaneously using 3 separate instances of my C/C++ code and did not notice any problems, but that is using libusb under Debian Linux and I have not tried running multiple cameras in separate threads of one program.  i also don't process many errors...
I am not opposed to exercise, unless it is an exercise in futility.
 

Offline meanie2

  • Contributor
  • Posts: 32
  • Country: au
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2377 on: October 07, 2019, 08:31:47 pm »
It seems some people are using hti apk on the seek...

http://4pda. ru/forum/index.php?showtopic=851614&st=960#entry88641913
http://htimeter.m.icoc. me/en/h-col-103.html

 

Offline Uho

  • Frequent Contributor
  • **
  • Posts: 256
  • Country: ua
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2378 on: October 07, 2019, 08:50:15 pm »
The inclusion of an additional menu. Now you can see the frame rate.
https://youtu.be/5ZnWuD_yQ2I
 

Offline tonykids

  • Regular Contributor
  • *
  • Posts: 79
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2379 on: October 08, 2019, 01:19:54 am »
It seems some people are using hti apk on the seek...

http://4pda. ru/forum/index.php?showtopic=851614&st=960#entry88641913
http://htimeter.m.icoc. me/en/h-col-103.html
I tried that ,it did work ^-^
 

Offline pauledd

  • Regular Contributor
  • *
  • Posts: 77
  • Country: de
  • Riesige Gepanzerte Luftschiffe
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2380 on: October 08, 2019, 10:06:57 am »
It seems some people are using hti apk on the seek...

http://4pda. ru/forum/index.php?showtopic=851614&st=960#entry88641913
http://htimeter.m.icoc. me/en/h-col-103.html

I tried that hti APK on my Android with my CompactPro but it was quite disappointing... The Seek Software is much more sophisticated and they also seem not to handle deadpixel substraction. I discovered
four dead pixels with their app which I've never seen on the seek app...

Would be interesting to know how it comes that they seem to use the same Software to Hardware communication as the seek devices... Maybe the are just selling rebranded Seek devices?
human being - without Windows® - excuse my bad english
 

Offline tonykids

  • Regular Contributor
  • *
  • Posts: 79
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2381 on: October 08, 2019, 12:22:05 pm »
It seems some people are using hti apk on the seek...

http://4pda. ru/forum/index.php?showtopic=851614&st=960#entry88641913
http://htimeter.m.icoc. me/en/h-col-103.html

I tried that hti APK on my Android with my CompactPro but it was quite disappointing... The Seek Software is much more sophisticated and they also seem not to handle deadpixel substraction. I discovered
four dead pixels with their app which I've never seen on the seek app...

Would be interesting to know how it comes that they seem to use the same Software to Hardware communication as the seek devices... Maybe the are just selling rebranded Seek devices?
SEEK modules "C2 Starter Kit" https://detail.1688.com/offer/580307068706.html
it seems that
HT-101=SEEK COMPACT
HT-101=SEEK COMPACT PRO
HT-A1=SEEK SHOT
HT-A2=SEEK SHOT PRO
it's interesting that HT-101/A1 is 220*160 but seek is 206*156
HT-301=xinfrared T3S :)
 

Offline Cat

  • Regular Contributor
  • *
  • Posts: 96
  • Country: de
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2382 on: October 08, 2019, 06:29:29 pm »
HT-101=SEEK COMPACT PRO
Should probably be HT-201 = SEEK COMPACT PRO ;)
On the Internet, nobody knows you're a cat.
 

Offline meanie2

  • Contributor
  • Posts: 32
  • Country: au
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2383 on: October 10, 2019, 08:37:26 am »
Anyone can advise if the pc cable for seek compact is available on amazon.com?
Or advise how to DIY a pc cable?
I only saw the YCS extension cable there.

Seek Compact Camera Cable
http://www.ivytools. com/v/vspfiles/photos/seek-compact-cable-2.jpg
https://seekreveal.com/
http://www.ivytools.com/


There is even a holder with tripod mount for the Seek Compact.
Seek Compact Camera Clip
http://www.ivytools. com/v/vspfiles/photos/seek-compact-clip-4T.jpg
« Last Edit: October 10, 2019, 08:39:18 am by meanie2 »
 

Offline rev0

  • Contributor
  • Posts: 11
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2384 on: March 17, 2020, 05:42:19 am »
Sorry to revive an old thread, I was wondering if anyone has been able to make an adapter to use the iOS/lightning connector version on PC. I bought one of these at a better price for iOS at the time, and only just discovered these awesome PC apps and would love to give that a try. I'm an Android user and basically only have an iPhone dedicated for when I use my thermal cam which is a bit silly.

I attempted to use an old iPhone power bank PCB and wire up a USB cable to its female lightning connector but nothing is detected on PC. I have GND (pin 1), D-, D+, NC, and 5V (pin 5) connected, following this for reference: https://www.quora.com/Are-pins-1-5-on-the-Apples-Lightning-Connector-used-to-pass-the-dc-voltage-to-charge-iphone-ipad
« Last Edit: March 17, 2020, 05:45:32 am by rev0 »
 

Offline tonykids

  • Regular Contributor
  • *
  • Posts: 79
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2385 on: March 17, 2020, 01:55:02 pm »
Sorry to revive an old thread, I was wondering if anyone has been able to make an adapter to use the iOS/lightning connector version on PC. I bought one of these at a better price for iOS at the time, and only just discovered these awesome PC apps and would love to give that a try. I'm an Android user and basically only have an iPhone dedicated for when I use my thermal cam which is a bit silly.

I attempted to use an old iPhone power bank PCB and wire up a USB cable to its female lightning connector but nothing is detected on PC. I have GND (pin 1), D-, D+, NC, and 5V (pin 5) connected, following this for reference: https://www.quora.com/Are-pins-1-5-on-the-Apples-Lightning-Connector-used-to-pass-the-dc-voltage-to-charge-iphone-ipad
IOS does not use pin 5 to provide power to otg device,it uses pin4 and/or pin 8,you should connect USB's 5V to SEEK's pin 8 or pin 5(do your own risk)
I opened the SEEK camera and direct solder the wire on PCB(IOS and android PCB are the same ),it work well
 

Offline RoshV

  • Newbie
  • Posts: 4
  • Country: de
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2386 on: April 14, 2020, 07:37:16 pm »
Sorry for reviving this old thread, I am new to using SEEK thermal and have been getting nowhere with available python codes on Github.
I am trying to run it on RPI4, with python 3.7 and SEEK thermal compact XR

I get this error:

 File "seek.py", line 150, in <module>
    disp_img = get_image()
  File "seek.py", line 104, in get_image
    send_msg(0x41, 0x53, 0, 0, '\xC0\x7E\x00\x00')
  File "seek.py", line 32, in send_msg
    assert (dev.ctrl_transfer(bmRequestType, bRequest, wValue, wIndex, data_or_wLength, timeout) == len(data_or_wLength))
  File "/home/pi/codes/lib/python3.7/site-packages/usb/core.py", line 1043, in ctrl_transfer
    self.__get_timeout(timeout))
  File "/home/pi/codes/lib/python3.7/site-packages/usb/backend/libusb1.py", line 883, in ctrl_transfer
    timeout))
  File "/home/pi/codes/lib/python3.7/site-packages/usb/backend/libusb1.py", line 595, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 32] Pipe error

The C++ version from https://github.com/maartenvds/libseek-thermal works well.

Many thanks for your help
 

Offline jumpy9734

  • Contributor
  • Posts: 25
  • Country: ro
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2387 on: April 14, 2020, 10:30:08 pm »
I've wanted to ask, are there any Linux binaries of SeekOFix?
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2388 on: April 15, 2020, 11:50:47 am »
I've wanted to ask, are there any Linux binaries of SeekOFix?
Emm no... But something usefull could be on github: https://github.com/search?q=seek+thermal
 

Offline nikitasius

  • Regular Contributor
  • *
  • Posts: 174
  • Country: fr
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2389 on: July 31, 2020, 12:30:24 pm »
Thanks to everyone for an awesome topic for reading 👍🏻
It was very interresting to know how this product changed and how people are changed too (talks about ≥9 Hz etc).

This thead is very useful !
There are idlers that want to have money without working and fools that are ready to work without becoming rich.
 

Offline nikitasius

  • Regular Contributor
  • *
  • Posts: 174
  • Country: fr
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2390 on: July 31, 2020, 01:10:40 pm »
I removed my Posts about the 30FPS Mode.

I better be  :-X than  :blah: and get law Problems  :scared:

I think best way is contact a lawyer and check if german constitution can protect you well and your rights.
Acceptance of US (or no matter which else) limitations without any explanations just because of fear ruins the progress of an Opensource (and not only) community.

I know well, what in France, as an example, i have right to disassemble anything without any actions against me and modify it as i wish and tell/show to anyone what i did (the result). Can i share a "solution"? Dépends of the subject.

I appréciate your software, but knowing your rights and US limits will boost it with 300%.
There are idlers that want to have money without working and fools that are ready to work without becoming rich.
 

Offline jaofilipe

  • Newbie
  • Posts: 1
  • Country: pt
Re: Yet another cheap thermal imager incoming.. Seek Thermal
« Reply #2391 on: November 12, 2021, 03:17:51 am »
Thank you all for this amazing topic.
I am in need of a cheap thermal camera (thinking about SEEK) and this topic was a huge help.
Thank you for your teardowns, tests, android app unpacking, programs and the discovery of seek easter eggs  >:D (the java files told me everything)
Been researching this topic for 8 hours straight, currently 3 AM in Portugal.  :palm:  :=\

As for the laws involved on said easter eggs, better safe than sorry.
Kudos to everyone involved in this project.  :clap:

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf