Author Topic: Seek thermal compact pro FF, with Android box  (Read 3674 times)

0 Members and 1 Guest are viewing this topic.

Offline KristofBremenTopic starter

  • Newbie
  • Posts: 5
Seek thermal compact pro FF, with Android box
« on: October 03, 2018, 09:07:49 pm »
Hi,

I tried to connect the seek thermal to an raspberry pi 2, running Android 6 and to and TV box running Android 7.

But the seek thermal app always stayed black. When clicking the record button, an image was captured and visible in the gallery.

I am looking for a very small device to connect my seek thermal compact Pro to.

Thanks a lot in advance for your help,
 Regards Kristof
 

Offline IwuzBornanerd

  • Frequent Contributor
  • **
  • Posts: 318
  • Country: us
Re: Seek thermal compact pro FF, with Android box
« Reply #1 on: October 05, 2018, 06:59:37 am »
Interesting; how did you get Android 6 running on a Pi?  Did you build it yourself?  I found a version of "LineageOS" built for a Pi3 (says it won't work on a Pi3B+).  I put it on my Pi3B and it ran the Seek app about like you say.  No image is displayed unless I bring up the palette selection.  Then "live" images are displayed as palette selections at about 5-10 seconds per frame.  It would save still images but no videos (or maybe I just didn't wait long enough).  Like most of my attempts at doing something with Android it was a huge waste of time.

A "smartphone" isn't small enough for you?  I can run my Pro on a PIZero at a whopping 4fps with my own code, but with the 4 AA NiMH batteries it isn't any smaller than a phone.  A LiPo battery would help, of course.
I am not opposed to exercise, unless it is an exercise in futility.
 

Offline KristofBremenTopic starter

  • Newbie
  • Posts: 5
Re: Seek thermal compact pro FF, with Android box
« Reply #2 on: October 06, 2018, 04:11:48 pm »
Hi Iwuz,

Regarding to the pi, I found a ready to run image.
Good to hear that you had the same issues with the blank image.

I want to mount the camera on a drone, so raspberry size would be great.

Which board (rpi?) and which software can you recommend?
I have read so much and understood so few. Is there any good tutorial?

I would like to transfer the thermal image via a FPV transmitter.

Regards
Kristof
 

Offline KristofBremenTopic starter

  • Newbie
  • Posts: 5
Re: Seek thermal compact pro FF, with Android box
« Reply #3 on: October 07, 2018, 08:07:21 pm »
Hi,

I got the ssek thermal working with a pi zero now.

I have two questions:

1. The seek thermal pro ff is able to output 15fps - but I cannot get more than 7fps - is this a hardware (raspberry) or software limitation?

2. How can I stream the thermal image to a network device? ffmpeg?

Thanks a lot in advance

regards
Kristof
 

Offline IwuzBornanerd

  • Frequent Contributor
  • **
  • Posts: 318
  • Country: us
Re: Seek thermal compact pro FF, with Android box
« Reply #4 on: October 07, 2018, 10:52:11 pm »
I am amazed that you can get even 7fps from a Pro on a PiZero, unless maybe the software is just grabbing and displaying frames with no corrections.  Did you write your own code or find something somewhere?  Any 3rd party software will likely not enable fast-frame because publishing it would be a violation of export control laws in most countries.  My code gets consistently 9fps on this 2.4GHz multi-core laptop even though (as you see in the image above) he Seek app identifies the camera as FF, so I am sure it requires certain instruction codes to enable FF.

I thought for your FPV system you would feed the NTSC/PAL output from the Pi into the FPV (No?).  I would like to stream the video or data via either wifi or bluetooth but have not had time to figure out how.

I don't know of any tutorials on running Seek on a Pi & the only software I know of that yields clean images on a Pi is the stuff I wrote.  What I showed above is not yet ready for release and the Python code I posted on this board 2 years ago does not run the Pro.
I am not opposed to exercise, unless it is an exercise in futility.
 

Offline KristofBremenTopic starter

  • Newbie
  • Posts: 5
Re: Seek thermal compact pro FF, with Android box
« Reply #5 on: October 07, 2018, 10:56:14 pm »
Hi,

I am just using the libseek-thermal that can be found on github.
It says 7fps after startup - not sure if this is true. :-//

I soldered an rca cable to the raspberry pi zero and have av out now.

How can I start the seek_viewer so that it autostarts in fullscreen mode on bootup?

Thanks a lot in advance
 

Offline IwuzBornanerd

  • Frequent Contributor
  • **
  • Posts: 318
  • Country: us
Re: Seek thermal compact pro FF, with Android box
« Reply #6 on: October 07, 2018, 11:35:49 pm »
I have seen that code before.  Taking a quick look at it I can see that it does the frame3 minus frame1 correction but not the pixel scaling ("gain" or non-uniformity-correction)--unless you do the "additional flat field correction".  Try applying that additional flat-field correction & see if it reports a lower frame rate.  It is quite possible that the OpenCV functions are faster than my pixel-by-pixel computation loops.  If so, I should look into that.

As far as making it go full frame I don't know.  He must be using OpenCV to display the images, but I don't understand C++ well enough to find it in that source code.  My head hurts when I read C++.  |O
I am not opposed to exercise, unless it is an exercise in futility.
 

Offline tonykids

  • Regular Contributor
  • *
  • Posts: 79
Re: Seek thermal compact pro FF, with Android box
« Reply #7 on: October 08, 2018, 01:19:19 am »
Hi,

I am just using the libseek-thermal that can be found on github.
It says 7fps after startup - not sure if this is true. :-//

I soldered an rca cable to the raspberry pi zero and have av out now.

How can I start the seek_viewer so that it autostarts in fullscreen mode on bootup?

Thanks a lot in advance
I am also playing the seek with a Pi(but not zero) these days ;D
I use a 2.4G FM video transmitter to send the video wirelessly.
I set the  RCA output 800*600 and use this command to get a 640*480 output:
seek_viewer -t seekpro -r 0 -s 2 -F seekpro_ffc.png
almost the fullscreen.
Then,I have not try this ,but it should work,put the output window to (0,0):
Modify the seek_viewer.cpp,add this before the main loop(around line 158):
Code: [Select]
namedWindow("SeekThermal");
cvMoveWindow("SeekThermal",0,0);
« Last Edit: October 09, 2018, 02:34:27 pm by tonykids »
 

Offline KristofBremenTopic starter

  • Newbie
  • Posts: 5
Re: Seek thermal compact pro FF, with Android box
« Reply #8 on: October 09, 2018, 01:25:10 pm »
Hi Tony,
doesn't seem to work for me ;(

I have some questions:

- How did you set the RCA output to 800x600?
- Do you autostart the binary on bootup?
- Could you please provide your sourcecode from the seek_viewer cpp, it didn't work for me ;(

Regards
Kristof

 

Offline tonykids

  • Regular Contributor
  • *
  • Posts: 79
Re: Seek thermal compact pro FF, with Android box
« Reply #9 on: October 09, 2018, 02:26:41 pm »
My Pi is not Rasbian Pi and the resolution doesn't  matter,if it's 1920*1080,just set the scale number higher.
I tried the code today and it did work ,but I did not autostart it on boot up because I do not know how to :palm:(but it's easy , i think,on linux).
Just add the two line of code in the seek_viewer.cpp and rebuild/make/install it.
My seek pro is not here,so I tried seek XR instead ,they are the same ,I use:
Code: [Select]
seek_viewer -t seek -r 0 -s 3.8 -F seek_ffc.png
-s: scale number
and i get it in full-screen.

EDIT:
The code is:
Code: [Select]
namedWindow("SeekThermal");
cvMoveWindow("SeekThermal",0,0);
« Last Edit: October 09, 2018, 02:39:36 pm by tonykids »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf