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 3770079 times)

0 Members and 7 Guests are viewing this topic.

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #3250 on: January 28, 2014, 01:07:16 am »
Got it, so it might be that actually my FLIR tools is not properly installed or I found another bug.

Reaching a state where flir tools are not installed properly is not all that hard to do. The standard installer is not very robust I noticed. What does help, is getting the .zip (instead of the .exe), then extract it, and take a look at the "prerequisites" directory. You can then run one or more installers from that dir, depending on what failed during automatic install. That did help in my case.
 

Offline Macnasien79

  • Contributor
  • Posts: 17
  • Country: tw
Re: Flir E4 Thermal imaging camera teardown
« Reply #3251 on: January 28, 2014, 01:12:52 am »
Got it, so it might be that actually my FLIR tools is not properly installed or I found another bug.

Reaching a state where flir tools are not installed properly is not all that hard to do. The standard installer is not very robust I noticed. What does help, is getting the .zip (instead of the .exe), then extract it, and take a look at the "prerequisites" directory. You can then run one or more installers from that dir, depending on what failed during automatic install. That did help in my case.

Thanks a lot for your tip. So will give it a try uninstall and try to re-install with the zip file.
I am running it in a Windows XP VM, so not sure if that might be a reason too.
Will keep everyone posted if I find out something.
 

Offline sosdd

  • Newbie
  • Posts: 4
Re: Flir E4 Thermal imaging camera teardown
« Reply #3252 on: January 28, 2014, 02:02:39 am »
Thats exactly what Im using, and what Im doing and it still won't work. Ive done it three times exactly as directed. I calculate the same CRC01 each time. It just doesn't work.
I guess I give up
suggestion: give EZCRC01 a try, ensure you do not pack your ZIP file too deep or copy the e8.conf (lowercase e) by FTP, don't forget battery-re-insert(cold boot)

You sir are awesome. That worked like a charm.

Thank you so much
 

Offline Petrolero

  • Newbie
  • Posts: 4
Re: Flir E4 Thermal imaging camera teardown
« Reply #3253 on: January 28, 2014, 02:27:44 am »
Received Flir E4 today from Grainger in Denver.  Took 3 business days to transfer from distribution center to the store.

Firmware:  1.19.8
Calibration Date:  January 7, 2014
S/N: 639117xx

Resolution mod successful!

A hearty thanks to Mike for posting this mod.  The availability of it definitely pushed me off the fence and caused me to buy a TIC.  Flir salesman of the year.

« Last Edit: January 28, 2014, 05:15:18 am by Petrolero »
 

Offline dtbp

  • Contributor
  • Posts: 12
Re: Re: Flir E4 Thermal imaging camera teardown
« Reply #3254 on: January 28, 2014, 03:38:31 am »
Received Flir E4 today from Grainger in Denver.  Took 3 business days to transfer from distribution center to the store.

Firmware:  1.19.8
Calibration Date:  January 7, 2014

Will modify it later, but looks like the firmware is the same as others so should be nbd.

A hearty thanks to Mike for posting this mod.  The availability of it definitely pushed me off the fence and caused me to buy a TIC.  Flir salesman of the year.

Would you be willing to post your partial serial number (with XX in place of last 2 or 3 numbers to hide identity) for reference on Aurora's thread? Yours is the most recent calibration date posted on here yet!
 

Offline Petrolero

  • Newbie
  • Posts: 4
Re: Re: Flir E4 Thermal imaging camera teardown
« Reply #3255 on: January 28, 2014, 04:24:02 am »
Received Flir E4 today from Grainger in Denver.  Took 3 business days to transfer from distribution center to the store.

Firmware:  1.19.8
Calibration Date:  January 7, 2014

Will modify it later, but looks like the firmware is the same as others so should be nbd.

A hearty thanks to Mike for posting this mod.  The availability of it definitely pushed me off the fence and caused me to buy a TIC.  Flir salesman of the year.

Would you be willing to post your partial serial number (with XX in place of last 2 or 3 numbers to hide identity) for reference on Aurora's thread? Yours is the most recent calibration date posted on here yet!

Done.
« Last Edit: January 28, 2014, 04:31:18 am by Petrolero »
 

Offline scientist

  • Frequent Contributor
  • **
  • !
  • Posts: 317
  • Country: 00
  • User banned.
Re: Flir E4 Thermal imaging camera teardown
« Reply #3256 on: January 28, 2014, 06:47:02 am »
Hey Tomas, you IM wizard, help me with this:

How can I convert an 8-bit PNG thermal image into a bar-shaped color lookup table? I want to steal some of the pre-release palettes that FLIR hinted at and use them in my images.
 

Offline Macnasien79

  • Contributor
  • Posts: 17
  • Country: tw
Re: Flir E4 Thermal imaging camera teardown
« Reply #3257 on: January 28, 2014, 08:33:16 am »
I did a factory reset on my E4 and even used FLIR's 1.18.7 FW, so it is a clean install.
After that I removed the battery and restarted the CAM.
Was on an original E4 again with all FLIR logo and so on.
Than I proceeded with the e8.cfg, which worked fine too.
After reboot the resolution came back at 320*240, but the Camera information still shows a E4 1.1
not sure if I did something wrong.

Does anyone has a 1.19.8 build Software and can pass it to me, so I can upgrade to the latest FW.
I was not able to download 1.19.8 from FLIR US.
Not sure what I do wrong, but FLIRInstalNet.exe also provides no error.

Below what FLIRInstallNet.exe is showing:

Received shell command message:
FLIR Command Line Interpreter
Version 0.4.3 running on WinCE 6.0

\>
Connected
Installation started...
Adding flashfs/system/appcore.d/factory.d/zrndis.rsc
Camera update completed

Ok

Any one any idea???
 

Offline H.O

  • Frequent Contributor
  • **
  • Posts: 807
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #3258 on: January 28, 2014, 08:59:09 am »
Quote
After reboot the resolution came back at 320*240, but the Camera information still shows a E4 1.1
Yes, because the camera IS an E4. Apparently you CAN make it present itself as an E8 by editing the EEPROM but I don't really see the point. You've got the 320*240 resolution, you know it "behaves" like an E8, why is it important for you that it says E8?
 

Offline Macnasien79

  • Contributor
  • Posts: 17
  • Country: tw
Re: Flir E4 Thermal imaging camera teardown
« Reply #3259 on: January 28, 2014, 09:23:21 am »
Quote
After reboot the resolution came back at 320*240, but the Camera information still shows a E4 1.1
Yes, because the camera IS an E4. Apparently you CAN make it present itself as an E8 by editing the EEPROM but I don't really see the point. You've got the 320*240 resolution, you know it "behaves" like an E8, why is it important for you that it says E8?

Actually it is not important, just wanted to be sure that I did everything right, as said it should show E8.
Thanks for your input.
 

Offline H.O

  • Frequent Contributor
  • **
  • Posts: 807
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #3260 on: January 28, 2014, 10:16:56 am »
Hi,
I might be wrong but since you've got the 320*240 resolution and it sticks thru power cycles I'm pretty sure you've done everything right related to the original hack by Mike. Where does it say that it should show E8?
 

Offline Macnasien79

  • Contributor
  • Posts: 17
  • Country: tw
Re: Flir E4 Thermal imaging camera teardown
« Reply #3261 on: January 28, 2014, 10:50:06 am »
Actually it had been stated in couple post before.
I used the mod provided by Mike, why i try to figure out if it suppose to show or not.
Hi,
I might be wrong but since you've got the 320*240 resolution and it sticks thru power cycles I'm pretty sure you've done everything right related to the original hack by Mike. Where does it say that it should show E8?
 

Offline daves

  • Regular Contributor
  • *
  • Posts: 103
  • Country: cz
Re: Flir E4 Thermal imaging camera teardown
« Reply #3262 on: January 28, 2014, 01:40:42 pm »
New version of BFIC available. Now you can enjoy thermal fusion and thermal opacity/transparency with your E4.

You will find download link at my footer. Any bug report or suggestions to PM or email, please.

« Last Edit: January 28, 2014, 07:00:09 pm by daves »
Batch Thermal Images Editor (JPG, BMT, SNP, IRI, ISI, IS2, PGM, TIF, IMG, BMP):  https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg350556/#msg350556
 

Offline Macnasien79

  • Contributor
  • Posts: 17
  • Country: tw
Re: Flir E4 Thermal imaging camera teardown
« Reply #3263 on: January 28, 2014, 02:09:32 pm »
Just for everyone who is looking for the recording function with FLIR TOOLS+, I checked with FLIR and got below reply:
Recording is not possible using an E4. FLIR Tools can only display the live image from this camera model. You would need an E40 or higher to enable the recording feature.
 

Offline Scutarius

  • Regular Contributor
  • *
  • Posts: 105
  • Country: ca
Re: Flir E4 Thermal imaging camera teardown
« Reply #3264 on: January 28, 2014, 03:46:19 pm »
For mac you can use ScreenFlow (select Record Video From) to record video, even if your FLIR tools doesn't detect the camera.

 

Offline Macnasien79

  • Contributor
  • Posts: 17
  • Country: tw
Re: Flir E4 Thermal imaging camera teardown
« Reply #3265 on: January 28, 2014, 04:57:40 pm »
For mac you can use ScreenFlow (select Record Video From) to record video, even if your FLIR tools doesn't detect the camera.

thanks for your suggestion. will give it a try.
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #3266 on: January 28, 2014, 06:35:28 pm »
@tomas123:
Does the 16-bit radiometric video work on E4? Or was that only on the E40 and up? I recall your posts about the .seq file, but IIRC that was on your E40. But if there is some way to get 16-bit radiometric video on the E4 that would be really neat!

ok, I tested all known variants

FlirTools+ can connect the E40 as video or signal (signal = RAW 16 bit)
see pull-down menu on screenshot

there is an corresponding E40 resources key
Code: [Select]
.caps.config.uvcstreaming: (2)
r---r--------- 0 root   root   <b> enabled                     true
r---r--------- 0 root   root   <b> radiometric16               true



FlirTools+ can connect the E4 only as video (a live view)
see screenshot


but you can write with a remote command a (short) E4 raw video stream

first check current status
Code: [Select]
\>rls -r -l .image.services.rtrecord.
.image.services.rtrecord: (6)
rw--rw------1- 0 root   root   <a> action                  "RECORD"
                 ["RECORD" "PLAYBACK"]
rw--rw------1- 0 root   root   <b> active                     false
rw--rw------1- 0 root   root   <i> count                         16
                 [2, 1000]
rw--rw-------- 1 root   root   <a> filename        "\Temp\default.seq"
rw--rw------1- 0 root   root   <d> frequency                     10
                 [0.01, 60]
rw--rw------1- 0 root   root   <b> store                      false

now let's go on:
Code: [Select]
//set file name
rset .image.services.rtrecord.filename \FlashIFS\001.seq
//activate recording to memmory
rset .image.services.rtrecord.active true
//wait a moment while rcording
//now save video to flash
rset .image.services.rtrecord.store true

connect E4 as USB Drive and open the RAW video file 001.seq with Flir Tools+ and you can play the E4 RAW video




more informations about the RAW video file (out of memory)
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg363898/#msg363898

how to decode the RAW video with with Exiftool (without FlirTools+)
http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,5279.msg25567.html?PHPSESSID=rmdb6aq89be16ms2rrhci3n9a4#msg25567



split the E4 raw video with this perl script in single frames (see link above)
Code: [Select]
#!/usr/bin/perl
undef $/;
$_ = <>;
$n = 100;
# FLIR camera E40         
$pat="\x46\x46\x46\x00\x00\x00";
# Flir Tools (comment out)
#$pat = "\x46\x46\x46\x00\x43\x41\x50";
for $content (split(/(?=$pat)/)) {
        open(OUT, ">seq" . ++$n . ".fff");
        binmode OUT;
        print OUT $content;
        close(OUT);
}

we get the 16 frames from our settings
Code: [Select]
\>rls -r -l .image.services.rtrecord.count
rw--rw------1- 0 root   root   <i> count                         16
                 [2, 1000]

exiftool list the real frame rate of the E4
Code: [Select]
>exiftool -datetime* seq*.fff
======== seq101.fff
Date/Time Original              : 2014:01:28 19:17:49.808+00:00
======== seq102.fff
Date/Time Original              : 2014:01:28 19:17:50.358+00:00
======== seq103.fff
Date/Time Original              : 2014:01:28 19:17:50.858+00:00
======== seq104.fff
Date/Time Original              : 2014:01:28 19:17:51.190+00:00
======== seq105.fff
Date/Time Original              : 2014:01:28 19:17:51.591+00:00
======== seq106.fff
Date/Time Original              : 2014:01:28 19:17:51.974+00:00
======== seq107.fff
Date/Time Original              : 2014:01:28 19:17:52.375+00:00
======== seq108.fff
Date/Time Original              : 2014:01:28 19:17:52.757+00:00
======== seq109.fff
Date/Time Original              : 2014:01:28 19:17:53.157+00:00
======== seq110.fff
Date/Time Original              : 2014:01:28 19:17:53.558+00:00
======== seq111.fff
Date/Time Original              : 2014:01:28 19:17:53.957+00:00
======== seq112.fff
Date/Time Original              : 2014:01:28 19:17:54.441+00:00
======== seq113.fff
Date/Time Original              : 2014:01:28 19:17:54.842+00:00
======== seq114.fff
Date/Time Original              : 2014:01:28 19:17:55.224+00:00
======== seq115.fff
Date/Time Original              : 2014:01:28 19:17:55.641+00:00
======== seq116.fff
Date/Time Original              : 2014:01:28 19:17:56.125+00:00
   16 image files read
result: 2,38 frames/second

see this tutorial for converting the .fff frames in colored images
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg342072/#msg342072

exiftool can read the *.fff frames
Code: [Select]
>exiftool seq101.fff
ExifTool Version Number         : 9.47
...
Raw Thermal Image Width         : 320
Raw Thermal Image Height        : 240
Raw Thermal Image Type          : TIFF
Raw Thermal Image               : (Binary data 153804 bytes, use -b option to extract)

convert frames with ffmpeg in a coloured video
« Last Edit: January 28, 2014, 08:53:54 pm by tomas123 »
 

Offline scientist

  • Frequent Contributor
  • **
  • !
  • Posts: 317
  • Country: 00
  • User banned.
Re: Flir E4 Thermal imaging camera teardown
« Reply #3267 on: January 28, 2014, 06:36:45 pm »
Hey Tomas, you IM wizard, help me with this:

How can I convert an 8-bit PNG thermal image into a bar-shaped color lookup table? I want to steal some of the pre-release palettes that FLIR hinted at and use them in my images.

For those wondering,

take a grayscale thermal image original.jpg

take a palette image (looks like the blended color stripe on the side of FLIR images) palette.jpg

blank output file output.jpg

type into console after installing ImageMagick

convert -clut C:\pics\original.jpg C:\pics\palette.jpg C:\pics\output.jpg
 

Offline scientist

  • Frequent Contributor
  • **
  • !
  • Posts: 317
  • Country: 00
  • User banned.
Re: Flir E4 Thermal imaging camera teardown
« Reply #3268 on: January 28, 2014, 06:40:31 pm »
Hi,
I might be wrong but since you've got the 320*240 resolution and it sticks thru power cycles I'm pretty sure you've done everything right related to the original hack by Mike. Where does it say that it should show E8?

The guy may want to sell his E4 as an E8...
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #3269 on: January 28, 2014, 06:51:31 pm »
Hey Tomas, you IM wizard, help me with this:

How can I convert an 8-bit PNG thermal image into a bar-shaped color lookup table? I want to steal some of the pre-release palettes that FLIR hinted at and use them in my images.
see my post
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg348398/#msg348398

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #3270 on: January 28, 2014, 07:35:32 pm »
Hi,
I might be wrong but since you've got the 320*240 resolution and it sticks thru power cycles I'm pretty sure you've done everything right related to the original hack by Mike. Where does it say that it should show E8?

The guy may want to sell his E4 as an E8...
In related news: all mammals are cows! If you read the rest of his posts, I think you'll find that the main reason he's concerned about the E4 vs E8 thing is functionality of Flir Tools based on how said Flir Tools detects the camera.
 

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Developing applications for the E4
« Reply #3271 on: January 28, 2014, 09:15:43 pm »
@Taucher
EDIT: Also tested with PocketPC 2003 SDK - works fine too - example exe (hello world - no additional benefit) is attached.

You search a nice new menu feature?

Save a short video sequence on a E4 as I am discriped here
Code: [Select]
//set file name
rset .image.services.rtrecord.filename \FlashIFS\001.seq
//activate recording to memmory
rset .image.services.rtrecord.active true
//wait a moment while rcording
//now save video to flash
rset .image.services.rtrecord.store true

or write a fast sequence of images (while the trigger button is pressed) with this (repeated) command
Code: [Select]
store -j \FlashIFS\myfolder\0####.jpgthis needs no RAM as buffer memory and you can write about 10.000 frames until the Flash is full
« Last Edit: January 28, 2014, 09:56:42 pm by tomas123 »
 

Offline Scutarius

  • Regular Contributor
  • *
  • Posts: 105
  • Country: ca
Re: Flir E4 Thermal imaging camera teardown
« Reply #3272 on: January 28, 2014, 09:52:37 pm »
New version of BFIC available. Now you can enjoy thermal fusion and thermal opacity/transparency with your E4.

You will find download link at my footer. Any bug report or suggestions to PM or email, please.




I am really  impressed by your software, FLIR should be consider hiring you. This is, in my opinion, as useful as the hack itself, for me this E4+ is just a toy but for many people is the daily tool that potentially can be a real difference.

Thanks again.
 

Offline ixfd64

  • Frequent Contributor
  • **
  • Posts: 345
  • Country: us
    • Facebook
Re: Flir E4 Thermal imaging camera teardown
« Reply #3273 on: January 28, 2014, 10:01:51 pm »
Consider making it open source!

Offline tomas123

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir E4 Thermal imaging camera teardown
« Reply #3274 on: January 28, 2014, 10:08:03 pm »
Consider making it open source!
Yes!!!


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf