Poll

Has the hackabiliy of the E4 made you buy one :  

Yes, I was already looking at the competition at a similar price, but the hack swung it to E4
274 (27.9%)
Yes, I'd not considered buying a TIC before, but 320x240 resolution at this price justifies it (as either tool or toy!)
444 (45.3%)
Yes, I was going to buy an E5/6/8 class of unit but will now get the E4
49 (5%)
No, but am looking out for a cheap i3 to hack
50 (5.1%)
Not yet, but probably will if now that a closed-box hack becomes is possible
164 (16.7%)

Total Members Voted: 803

Author Topic: Flir E4 Thermal imaging camera teardown  (Read 3790516 times)

0 Members and 4 Guests are viewing this topic.

Offline plesa

  • Frequent Contributor
  • **
  • Posts: 965
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #2050 on: December 02, 2013, 03:26:35 pm »
Did someone encoutered issue - when Flir E4 camera is connected to PC it is unable to boot?
I would like to aks is is possible to modify the camera settings to set the black background to some transparency level?
« Last Edit: December 02, 2013, 03:34:11 pm by plesa »
 

Offline jdesbonnet

  • Newbie
  • Posts: 7
Re: Flir E4 Thermal imaging camera teardown
« Reply #2051 on: December 02, 2013, 04:24:11 pm »
Encountered a weird one this morning: it failed to warm boot while disconnected from USB (FLIR logo would appear and thermal for a brief instant, then off). Tried twice.  I had it in webcam mode last night (using VLC). My first thought was battery was low, but plugged USB cable ... indicated a full charge. But it *did* boot while plugged in. And it's been fine so far (plugged and unplugged).
« Last Edit: December 02, 2013, 04:26:22 pm by jdesbonnet »
 

Offline Mr-Beamer

  • Contributor
  • Posts: 18
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #2052 on: December 02, 2013, 05:04:11 pm »
I've had this problem several times.
A cold boot solved the problem.
 

Offline Taucher

  • Frequent Contributor
  • **
  • Posts: 456
  • Country: de
  • 1DsaYDGWXEYhEKL rfrbFyYsehaAtfBWawf
Re: Flir E4 Thermal imaging camera teardown
« Reply #2053 on: December 02, 2013, 05:13:04 pm »
Did someone encoutered issue - when Flir E4 camera is connected to PC it is unable to boot?
I would like to aks is is possible to modify the camera settings to set the black background to some transparency level?
I've already tried making the buttons transparent - little (read:no) success - the binary probably doesn't load the menu images in alpha enabled mode (in order to conserve processing power?) - the numbers (incl. design) are probably just hardcoded ... but I'd be glad to be proven wrong on this.

Offline plesa

  • Frequent Contributor
  • **
  • Posts: 965
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #2054 on: December 02, 2013, 06:42:15 pm »
I've had this problem several times.
A cold boot solved the problem.

I mean the PC boot, not the camera itself, so it is different issue I suppose.

Did someone encoutered issue - when Flir E4 camera is connected to PC it is unable to boot?
I would like to aks is is possible to modify the camera settings to set the black background to some transparency level?
I've already tried making the buttons transparent - little (read:no) success - the binary probably doesn't load the menu images in alpha enabled mode (in order to conserve processing power?) - the numbers (incl. design) are probably just hardcoded ... but I'd be glad to be proven wrong on this.

Thanks for info. It will be nice feature.
« Last Edit: December 02, 2013, 06:43:47 pm by plesa »
 

Online Fraser

  • Super Contributor
  • ***
  • Posts: 13165
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #2055 on: December 02, 2013, 06:55:06 pm »
For those asking about transparent background for the on screen information, I have tried that mode on my PM695 and I can report that I found it vey hard to see the readings against some backgrounds so quickly reverted to the opaque background. Just my 2 Cents worth.

I will take a PM695 thermal image in the two modes and attach it to this message later for information.

Update: Pictures uploaded. Some provide clear text against the background, others not so clear. With a solid background the text is very clear in all cases. It is a matter of personal choice, but I use a solid background with the reduced (single tier) data block rather than the 3 tier extended data block. I am surprised that the Ex series does not offer a choice of on screen data display preferences, but I have to remind myself that it is the basic entry level series aimed at simple use..
« Last Edit: December 03, 2013, 12:21:47 am by Aurora »
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Offline georges80

  • Frequent Contributor
  • **
  • Posts: 912
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #2056 on: December 02, 2013, 07:08:54 pm »
I've had this problem several times.
A cold boot solved the problem.

I mean the PC boot, not the camera itself, so it is different issue I suppose.


With the E4 plugged into your PC it will appear as a storage class device. If your PC won't boot when the E4 is plugged in then you need to go into the PC bios and disable booting via USB etc. i.e. the issue is your PC, not the E4...

cheers,
george.
 

Offline plesa

  • Frequent Contributor
  • **
  • Posts: 965
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #2057 on: December 02, 2013, 07:22:40 pm »
I've had this problem several times.
A cold boot solved the problem.

I mean the PC boot, not the camera itself, so it is different issue I suppose.


With the E4 plugged into your PC it will appear as a storage class device. If your PC won't boot when the E4 is plugged in then you need to go into the PC bios and disable booting via USB etc. i.e. the issue is your PC, not the E4...

cheers,
george.

No it is different, with plugged USB drive it boots-up normally and doe not matter if the camera is set to RNDIS or UVC.
 

Offline georges80

  • Frequent Contributor
  • **
  • Posts: 912
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #2058 on: December 02, 2013, 08:07:19 pm »
I've had this problem several times.
A cold boot solved the problem.

I mean the PC boot, not the camera itself, so it is different issue I suppose.


With the E4 plugged into your PC it will appear as a storage class device. If your PC won't boot when the E4 is plugged in then you need to go into the PC bios and disable booting via USB etc. i.e. the issue is your PC, not the E4...

cheers,
george.

No it is different, with plugged USB drive it boots-up normally and doe not matter if the camera is set to RNDIS or UVC.

My opinion is:

Your PC is seeing a boot partition or boot information inside the E4 so is trying to boot from it. Disable the USB boot option in your bios to verify if that is the case.The E4 is appearing as a storage class and your PC is trying to boot from it since it sees something that looks bootable (given there's a wince file system in the E4).

cheers,
george.
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #2059 on: December 02, 2013, 08:10:22 pm »
Since that sort of behaviour depends on many things, your logic ==> arrow is not logical enough. Which is another way of asking: did you actually try 1) turning it off and on yet 2) disable USB boot in the bios. Because it is a pretty good candidate for the behavior you describe. That, and "but but USB disk #1 doesn't cause any problems" is really no guarantee that a totally different disk on a different port (potentially even a different chipset) will not cause issues.

So if you have not actually tested disabling USB boot in bios, then this would be a good idea to check.
 

Offline PedroDaGr8

  • Super Contributor
  • ***
  • Posts: 1283
  • Country: us
  • A sociable geek chemist
Re: Re: Flir E4 Thermal imaging camera teardown
« Reply #2060 on: December 02, 2013, 09:08:08 pm »
Since that sort of behaviour depends on many things, your logic ==> arrow is not logical enough. Which is another way of asking: did you actually try 1) turning it off and on yet 2) disable USB boot in the bios. Because it is a pretty good candidate for the behavior you describe. That, and "but but USB disk #1 doesn't cause any problems" is really no guarantee that a totally different disk on a different port (potentially even a different chipset) will not cause issues.

So if you have not actually tested disabling USB boot in bios, then this would be a good idea to check.
Also and more importantly most usb drives will not have a partition flagged as a boot partition because they are storage only. This camera on the other hand likely will. Since it needs to boot its firmware.

Sent from my EVO using Tapatalk

The very existence of flamethrowers proves that some time, somewhere, someone said to themselves, "You know, I want to set those people over there on fire, but I'm just not close enough to get the job done." -George Carlin
 

Offline jdesbonnet

  • Newbie
  • Posts: 7
Re: Flir E4 Thermal imaging camera teardown
« Reply #2061 on: December 03, 2013, 02:11:26 am »
Anyone got pointers on extracting radiometric data from the JPEG images using open source tools (or documentation that would enable me to write such software)?
 

Offline PedroDaGr8

  • Super Contributor
  • ***
  • Posts: 1283
  • Country: us
  • A sociable geek chemist
Re: Re: Flir E4 Thermal imaging camera teardown
« Reply #2062 on: December 03, 2013, 02:49:05 am »
Anyone got pointers on extracting radiometric data from the JPEG images using open source tools (or documentation that would enable me to write such software)?

For image data analysis in a lab setting in the past I've used ImageJ. It's open source, java based and very useful for performing a variety of measurements and data extractions. It's powerful but has a bit of a learning curve. Plus you can write plugins and macros for it.
 
Sent from my EVO using Tapatalk

« Last Edit: December 03, 2013, 02:54:27 am by PedroDaGr8 »
The very existence of flamethrowers proves that some time, somewhere, someone said to themselves, "You know, I want to set those people over there on fire, but I'm just not close enough to get the job done." -George Carlin
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #2063 on: December 03, 2013, 03:05:55 am »
Anyone got pointers on extracting radiometric data from the JPEG images using open source tools (or documentation that would enable me to write such software)?
Exiftool + ImageMagick.

Sample usage: https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg325366/#msg325366
 

Offline OrBy

  • Regular Contributor
  • *
  • Posts: 220
Re: Flir E4 Thermal imaging camera teardown
« Reply #2064 on: December 03, 2013, 05:45:44 am »
Anyone got pointers on extracting radiometric data from the JPEG images using open source tools (or documentation that would enable me to write such software)?
Exiftool + ImageMagick.

Sample usage: https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg325366/#msg325366

I found this worked quite well but I needed to add the full paths to convert.exe since Windows 7 has a command line tool named "convert" as well:

Code: [Select]
exiftool FLIR0010.jpg -RawThermalImage -b | C:\"Program Files"\ImageMagick-6.8.7-Q16\convert.exe - -interlace none -depth 16 r:- | C:\"Program Files"\ImageMagick-6.8.7-Q16\convert.exe -size 320x240 -interlace none -depth 16 -endian msb gray:- problem_solved.png
and

Code: [Select]
C:\"Program Files"\ImageMagick-6.8.7-Q16\convert.exe problem_solved.png -normalize -depth 8 raw_image_relative.png
worked for me.

I poked around a little bit so see if there was away to get some sort of colorized output aside from the grey scale but failed. (didn't try hard)

Results (try a guess at what that is) :

 

Offline ullki

  • Newbie
  • Posts: 4
  • Country: se
Flir E4 Thermal imaging camera teardown
« Reply #2065 on: December 03, 2013, 06:35:15 am »

Results (try a guess at what that is) :

The excellent resolution of FLIR TICs made this far too easy ;) It's a very central piece for a thing very central to people from (at least) the US, and without it, USA would literarily stop. (My European prejudices ;) )

Make and model is harder, but it seems like a V or boxer configuration and with a turbocharger.

/U
 


Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #2067 on: December 03, 2013, 10:53:00 am »
here you find a sample php script with all steps:
http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4898.msg24230.html#msg24230
( last version: http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4898.msg26102.html#msg26102 )
Ooooh, nice! Your script has a few steps I didn't have yet. Thank you! :)

I did something lame based on median + applying palette in a linear fashion. Generated surprisingly good results given the lameless, but still not perfect. Looks like you are doing it properly. :)

Must ... assimilate ...

 

Offline SPRX

  • Regular Contributor
  • *
  • Posts: 64
  • Country: au
Re: Flir E4 Thermal imaging camera teardown
« Reply #2068 on: December 03, 2013, 10:59:34 am »

I ordered my Flir E8 (formally known as E4) today to join the club..!   :-DD

Will see how it goes.....
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8264
Re: Re: Flir E4 Thermal imaging camera teardown
« Reply #2069 on: December 03, 2013, 11:54:56 am »
Also and more importantly most usb drives will not have a partition flagged as a boot partition because they are storage only. This camera on the other hand likely will. Since it needs to boot its firmware.
This camera is not a PC, its boot process is very different from a PC.

But your PC hanging because the camera is connected could be due to the USB enumeration that the BIOS does at bootup, either the camera returns something that confuses the BIOS or the BIOS sent something that confuses the camera and it's waiting for a response.
 

Offline OrBy

  • Regular Contributor
  • *
  • Posts: 220
Re: Flir E4 Thermal imaging camera teardown
« Reply #2070 on: December 03, 2013, 02:20:22 pm »

Results (try a guess at what that is) :

The excellent resolution of FLIR TICs made this far too easy ;) It's a very central piece for a thing very central to people from (at least) the US, and without it, USA would literarily stop. (My European prejudices ;) )

Make and model is harder, but it seems like a V or boxer configuration and with a turbocharger.

/U

Right on the 1st count, 2nd count not so much (cant fault ya - it's a oddball) - VW 2.0L 4cy with a supercharger. :)


@OrBy
after this simple convert, your grayscale is not linear to temperature

see this post:
http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4898.msg23972.html#msg23972

here you find a sample php script with all steps:
http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4898.msg24230.html#msg24230
( last version: http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,4898.msg26102.html#msg26102 )

Whoa - snazzy!

Here is my friends laser cat after running through tomas123's flir.php:
« Last Edit: December 04, 2013, 12:27:16 am by OrBy »
 

Offline Mavro

  • Contributor
  • Posts: 25
Re: Flir E4 Thermal imaging camera teardown
« Reply #2071 on: December 03, 2013, 04:10:58 pm »
Here is the lens holder 3d printed from Shapeways in black material with ZnSe 20mm x 2.5" lens (purchased from eBay).  It works pretty well!

1st Photo: Lens holder bottom view
2nd Photo: Lens holder top view
3rd Photo: No Lens approx. 6" away from Arduino Mega
4th Photo: Lens attached approx. 3" away from Arduino Mega
5th Photo: Lens holder attached to camera
« Last Edit: December 03, 2013, 04:21:57 pm by Mavro »
 

jlr134

  • Guest
Re: Flir E4 Thermal imaging camera teardown
« Reply #2072 on: December 03, 2013, 06:29:43 pm »
I want one
 

Offline keithu

  • Contributor
  • Posts: 10
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #2073 on: December 04, 2013, 12:02:56 am »
Inspired by the impressive work of Mike and other forum members I got myself an E4. Before I apply the hack though could anyone shed some light (so to speak) on the attached image? It's a capture from the visible light camera only, in lowish light levels, and shows some horizontal noise bands.

The image was taken before I had charged the battery for the first time and I haven't been able to reproduce it since giving it a charge so the obvious conclusion is that it was something that could be reasonably expected when operating with borderline battery voltage. My concern is that if it does indicate an incipient fault that would require warranty service somewhere down the line I could lose 'hackability'.

Just as another data point,
s/n: 63908xxx
f/w: 1.19.8
cal: Nov 29 2013
 

Online Fraser

  • Super Contributor
  • ***
  • Posts: 13165
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #2074 on: December 04, 2013, 12:46:46 am »
No such lines seen on my camera even when battery is low. Give your camera a good test over the next few days to see if it reproduces the symptom. If not, put it down to a glitch.
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf