EEVblog Electronics Community Forum

Products => Thermal Imaging => Topic started by: tomas123 on November 16, 2014, 05:12:04 pm

Title: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 16, 2014, 05:12:04 pm
in the current Flir One thread https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/ (https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/)
the  thread holder can't create a link list to the important posts

So I start a new thread and I will try to collect some links for the Flir one

for hacking the Flir Ex (Flir E4, E5, E6, E8) and the Exx (Flir E30, E40,  E50, E60)
see here https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/ (https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/)


Link list for Flir One Generation One Flir1G1 

Mike
Flir One teardown part 1
https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/msg502599/#msg502599 (https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/msg502599/#msg502599)

Flir One teardown part 2
https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/msg504750/#msg504750 (https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/msg504750/#msg504750)

Mike's self made mini thermal camera with lepton sensor
https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/msg507550/#msg507550 (https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/msg507550/#msg507550)
http://hackaday.com/2014/09/07/building-the-worlds-smallest-thermal-camera/ (http://hackaday.com/2014/09/07/building-the-worlds-smallest-thermal-camera/)

Mike's Flir Lepton reverse-engineering page
http://www.electricstuff.co.uk/lepton.html (http://www.electricstuff.co.uk/lepton.html)

Lepton sensor
Lepton software command spec at the Pure Engineering site
http://www.pureengineering.com/projects/lepton (http://www.pureengineering.com/projects/lepton)

vincentwrath
palettes and emissivities hacks in flir one app
https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/msg547670/#msg547670 (https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/msg547670/#msg547670)

devilmastah
hack to unlock a temperature range of -40 to 150 degrees C in the iPhone app
https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/msg553481/#msg553481 (https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/msg553481/#msg553481)


Link list for Flir One Generation Two Flir1G2 

full datasheet for Lepton 3
http://media.wix.com/ugd/53cdb6_5191be73d1c943d78d2e1a095cb7f3b8.pdf (http://media.wix.com/ugd/53cdb6_5191be73d1c943d78d2e1a095cb7f3b8.pdf)

Lepton 160x120 is cropped to 120x90 in Flir One
https://www.eevblog.com/forum/thermal-imaging/actual-resolution-of-flir-one-v2/msg797429/#msg797429 (https://www.eevblog.com/forum/thermal-imaging/actual-resolution-of-flir-one-v2/msg797429/#msg797429)
https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/msg799649/#msg799649 (https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/msg799649/#msg799649)

images from disassembly
https://www.eevblog.com/forum/testgear/new-flir-products/msg750181/#msg750181 (https://www.eevblog.com/forum/testgear/new-flir-products/msg750181/#msg750181)

a working SDK sample with the extracted java.class
https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg799634/#msg799634 (https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg799634/#msg799634)

Flir One Android with Linux
general setup with v4l2loopback kernel driver: https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg832208/#msg832208 (https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg832208/#msg832208)
last code: https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg840976/#msg840976 (https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg840976/#msg840976)
endpoint 0x85
https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg822120/#msg822120 (https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg822120/#msg822120)

compare the image quality between Flir One G1, Flir One G2, Flir Ex, Flir Exx
https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg802245/#msg802245 (https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/msg802245/#msg802245)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 16, 2014, 05:13:02 pm
a sensitivity test

For comparing the quality of the flir lepton sensor with the Flir Ex / Exx I shot sample images from a (uncooled) beer crate and two bottles of champagne with the same FOV.

Knowingly I shot a image with minimal temperature differences (only 1 Kelvin).
Please note the different temperature scales!

All screenshots from FlirTools after pressing the Auto-Range Button. (without MSX)

Flir E40 (hacked 320x240), Germanium (?) lens
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118921;image)

Flir E4 (hacked 320x240),  Chalcogenide Glass lens
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118923;image)

Flir One => Lens FOL 2 (80x60)
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118925;image)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 16, 2014, 05:14:15 pm
check for fake noise

in the post above you can see in the Flir One image mystery artifacts (vertical lines)

Let's start the next experiment to analyse the temperature sensitivity with stacking 30 images from the Flir One

I choose an image with 2 Kelvin temperature gradient: a candle lantern on a underfloor heating.

First compare the image from the Flir One with  Flir E40 (hacked to 320x240)
For better comparing I took screenshots  from Flir tools

E40
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118927;image)

Flir One (slightly another angle, flir one has wide-angle focal length)
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118929;image)

please note the temperature scale (2 Kelvin)


I shot 30 photos from the same subject with the Flir One.

following the code for converting the RAW data of the 30 Flir One images (IMG_*.JPG) and generating the attached images
(use imagemagick and exiftool)
Code: [Select]
$ exiftool -b -RawThermalImage IMG_*.JPG -w _%f.png

$ convert -version
Version: ImageMagick 6.8.9-1 Q16 x86_64 2014-07-08 http://www.imagemagick.org

$ convert  -define png:swap-bytes=on *.png    -set filename:fname 'R%t' +adjoin '%[filename:fname].png'

// find max/min RAW value
$ identify -verbose R_*.png | grep -n3 statist | grep min | sort -k 3 | head -n 1
10409-      min: 13272 (0.202518)

$ identify -verbose R_*.png | grep -n3 statist | grep max | sort -k 3 | tail -n 1
376-      max: 13658 (0.208408)

//stretch level und resize for stacking
convert R_*.png -level 13250,13700 -resize 320x -set filename:fname 'S%t' +adjoin '%[filename:fname].png'

// calc average
$ convert  -average SR_*.png stack.png

// mosaic
$ montage SR*.png -tile 6x5 -geometry +2+2  tile_6x5.jpg

//animated gif
$ montage SR*.png -tile 1x1 -geometry +0+0 tile_1x1.gif

see the stacked image
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118933;image)
There are no visible sensor disturbances. If you have a good monitor, you can see on the right side the diagonal line of flagstone!!
this image says: "Yes I can 50mK"

The data sheet of the Flir Lepton sensor give a sensitivity of 50mK (like the sensor of a hacked Exx/Ex).
I think, that the Flir App overlays a dirty noise, like on an unhacked Flir Ex/Exx 

look at the movements of the fake(?) noise:
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118935;image)

I see vertical and horizontal lines
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118937;image)

...and on some images are partly visible patterns!
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118931;image)


I know, there is a temperature drift. I haven't wait long enough...

Formerly I made the same experiment with a Flir E4.
I the E4 is unhacked, then the stacking magnificent remove the noise.
But with a hacked E4 you can not mentionable improve the s/n-value of the image with stacking.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 16, 2014, 05:15:09 pm
after the sensitivity tests above it's time to make a resolution test

I used a 0,2mm heating wire and take some photos from 1m distance of the diagonal wire.
To avoid optical crosstalk I only heated the wire 5 Kelvin.
 
First the screenshots from Flir Tools. Here you can check the minor temperature differences (crosstalk)

E40 (hacked to 320x240 pixel)
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118907;image)


Flir One (80x60 pixel)
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118909;image)
we can see, that the noise level from the Flir One by a 6 Kelvin scale is very good (compared to the Seek Thermal infrared camera) 
please note the cold spots around the wire (artefacts from upscaling to 160x120??)



now some steps with imagemagick and exiftool to extract the raw values
As overlay a grid, to show the real size of one sensor pixel.
For better viewing I resize a sensor pixel to 8x8 screen pixels

Flir E40 (image IR_3115.jpg with 320x240 sensor pixels)

Code: [Select]
//extract RAW
$ exiftool -b -RawThermalImage IR_3115.jpg > IR_3115.tif

//auto-level and resize (without interpolation!) to 8x8 pixel size
$ convert IR_3115.tif -auto-level -filter point -resize 2560x wire6.png

//draw one square with size 8x8
$ convert -size 8x8 xc:none -stroke gray -strokewidth 0  -draw "line 0,0 0,7"  -draw "line 0,0 7,0"  1.png

//enlarge to 320x240 squares of size 8x8
$ convert -size 2560x1920 tile:1.png 320x240.png

//overlay grid with image
$ convert wire6.png 320x240.png  -compose overlay -composite IR_3115ov.png

//crop a part of 640x480 => 80x60 sensor pixel
$ convert IR_3115ov.png -crop 640x480+800+700 IR_3115ov-crop.png

this is a crop with the size of 80x60 sensor pixels ( crop to same size like Flir One)
(the full image download as attachment)
one square = one sensor pixel of Flir Exx
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118919;image)
the result is really sharp (thanks to good optics of the Flir Exx)
Wow



Now process the image from the Flir One ( IMG_3353.JPG )
Flir converts the RAW values of the Lepton Sensor from 80x60 to 160x120 Pixel.
I still make a overlay grid of 80x60 Pixel. As result you see 4 extrapolated pixels in one 8x8 sensor square.

Code: [Select]
//extract RAW
$ exiftool -b -RawThermalImage IMG_3353.JPG > wire.png

//change byte order, auto-level and resize (without interpolation) to 8x8 pixel size
$ convert  -define png:swap-bytes=on wire.png -auto-level -filter point -resize 640x IMG_3353.png

//draw one square with size 8x8
$ convert -size 8x8 xc:none -stroke gray -strokewidth 0  -draw "line 0,0 0,7"  -draw "line 0,0 7,0"  1.png

//enlarge to 80x60 sensor pixel squares
$ convert -size 640x480 tile:1.png 80x60.png

//overlay grid with image
$ convert IMG_3353.png 80x60.png -compose overlay -composite IMG_3353ov.png

one square = one sensor pixel of Flir One
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118913;image)
Well, the result is definite poorer, as the 80x60 crop of the Exx ...
... but the Exx is a reference design.

I think this a good result for the price of the Flir One.
Please note the above described cold spots around the wire.

Edit 19.11.2014
better use this code with transparent png's
Code: [Select]
$ convert -size 8x8 xc:none -stroke gray -strokewidth 0  -draw "line 0,0 0,7"  -draw "line 0,0 7,0"  1.png
$ convert -size 640x480 tile:1.png -transparent white grid.png
$ convert largeimage.png grid.png -flatten overlay.png
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 16, 2014, 09:52:36 pm
the Ipod touch 5th generation fits great in the Flir One hardcase

but the flir one app doesn't run

Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Bud on November 16, 2014, 11:10:09 pm
You mean iPod Touch ? I do not think there is iPhone Touch.

Even on iPhone, as far as I remember you need OS version 6 or higher.

EDIT: iOS 7 or higher
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 17, 2014, 06:36:48 am
Yes
Ipod touch 5G with IOS 8 doesn't work
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: vincentwrath on November 17, 2014, 06:53:28 am
then how can we remove the " Flir App overlays a dirty noise" you mentioned?  :)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 17, 2014, 07:16:26 am
I don't know.

Mike read out the Lepton Sensor with the raw stream of 80x60 pixels.
https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/msg507550/#msg507550 (https://www.eevblog.com/forum/testgear/flir-one-personal-thermal-imaging-device-for-your-iphone5-5s/msg507550/#msg507550)
He can confirm, if the mystery artefacts are created by firmware or by Flir app software.

If I look at this great video from Lepton Sensor
http://www.pureengineering.com/projects/lepton (http://www.pureengineering.com/projects/lepton)
then I can't see artefacts and all pixels are really sharp.

I think, it's from software.
Maybe, the noise is not added with intent and a side effect of a bad extrapolation to 160x120  with an magic flir filter

In real live with a large (>5K) temperature scale , the artefacts are not visible!
You cant shrink the temperature scale in Flir App to less as 8 Kelvin (only automatic).
Therefore  you never see the noise in the flir app.
You must load the image in the Flir Tools app and manual edit the scale ...

if you simple delete the SuperResDenoise.plist nothing changes :(
I think devilmastah can better look inside the code of the flir one app
inside the Flir One app I found the interesting file SuperResDenoise.plist

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Date</key>
<date>2014-03-12T22:10:38Z</date>
<key>Deblur_PSD</key>
<dict>
<key>ht1_1x8x8</key>
<array>
--- snip ---
</dict>
<key>Denoise_Parameters</key>
<dict>
<key>dn_dctBlkStepSz</key>
<integer>4</integer>
<key>dn_motionThreshold</key>
<real>0.20000000000000001</real>
<key>dn_smoothing</key>
<integer>50</integer>
</dict>
<key>Description</key>
<string>Flir One Parameters for SuperResolution, Denoise and Deblur.</string>
<key>PSD</key>
<dict>
--- snip ---
<key>Revision_number</key>
<integer>0</integer>
<key>Super_Resolution_Parameters</key>
<dict>
<key>sr_alpha</key>
<real>0.59999999999999998</real>
<key>sr_bestQuality</key>
<true/>
<key>sr_beta</key>
<integer>10</integer>
<key>sr_bilinearUpscale</key>
<false/>
</dict>
</dict>
</plist>

see my posts for details about superresolution:
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg363688/#msg363688 (https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg363688/#msg363688)
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg363213/#msg363213 (https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg363213/#msg363213)

you can see this effect on the pins of the LQFP64 (pin-distance: 0.5mm)

single image (see left side of chip - pins are different blurred)
(https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/?action=dlattach;attach=75389;image)

stacked image (all pins are sharp)
(https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/?action=dlattach;attach=75391;image)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: eneuro on November 17, 2014, 08:40:51 am
stacked image (all pins are sharp)
(https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/?action=dlattach;attach=75391;image)
This is result of superresolution algorithm only or stacked means many single images were merged together eg. 8 size moving weighted average while thermal camera were mounted on tripot to avoid any sensor movements relative to thermal scene?
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 17, 2014, 09:07:35 am
see here for details about this stacked image
connect with telnet to shell of Flir E40 camera and take a RAW sequence of 90 frames
I used a tripod and moved the cam a little while recording.
...
now stack all png images with free tool Registax  http://www.astronomie.be/registax/ (http://www.astronomie.be/registax/) and save as 16 bit tif image

Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: eneuro on November 17, 2014, 09:22:46 am
Thanks for those hints.
However it looks like there is no source code and only wine tools under Linux http://www.astronomie.be/registax/linux.html to test it.
Need to find algorithm used there itself while I want implement this with OpenCV support and include to native C/C++ code for Seek Thermal output images enhancements after its calibration frames gradient corrections are made  ;)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 17, 2014, 10:08:18 am
Which camera do you use?
How do you get the frames for stacking?

I succesfull tested thermal image stacking with

- Photoshop CS3 -> HDR
- Registax (Wavelets)
- AviStack  (Wavelets)

Registax and AviStack works fine under wine
but no open source

I think, Hugin (GPL) can also used for stacking images (align_image_stack, not tested)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 17, 2014, 10:27:23 am
Need to find algorithm used there itself while I want implement this with OpenCV support and include to native C/C++ code for Seek Thermal output images enhancements after its calibration frames gradient corrections are made  ;)

suggest for Quick-and-dirty Linux stacking with imagemagick

Variant A - tripod no movements
simple avarege the samples
see sample https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/msg551881/#msg551881 (https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/msg551881/#msg551881)
sharp the averaged image

Variant B - minor movements
1. select a reference image
2. find the best fit offset for every frame with imagemagick "compare -metric"
     see sample http://studio.imagemagick.org/discourse-server/viewtopic.php?f=1&t=23318#p97884 (http://studio.imagemagick.org/discourse-server/viewtopic.php?f=1&t=23318#p97884)
   hint: "compare -metric rmse -subimage-search" is very slow, better check discrete every the pixel inside the (goal) area with ""compare -metric"
3. average the images with best fit offset
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: mikeselectricstuff on November 17, 2014, 11:01:47 am
Before getting heavily into image stacking on the F1, bear in mind that they use the fact that the image is moving to do automatic nonuniformity correction, so using lots of frames from a stationary mount will almost certainly not give as much improvement as you might otherwise expect. At the very least you may need to do a manual nonuniformity cal at the start & end of the image sequence. 
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 17, 2014, 11:28:21 am
you are right, stacking terrible postprocessed single images of the F1 is not useful

It surprises me, that here in the F1 thread asked someone for stacking, after I posted some (great  ;) ) solutions for the Flir Ex and Exx to record a raw video sequence
see
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg377140/#msg377140 (https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg377140/#msg377140)
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg363898/#msg363898 (https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg363898/#msg363898)
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg363213/#msg363213 (https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg363213/#msg363213)

PS: it's nice to see the temperature drift in my 30 manual triggered F1 shots (without manual NUC between images)
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118937;image)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: eneuro on November 17, 2014, 11:43:53 am
This image enhancement will be made for Seek Thermal Android dongle, but principles should be the same.
Maybe there is different shutter technology used, but for thermal camera for security system it will be most of the time not moving, but I might want the feature that if it detects suspicious thermal object it will track this object using step motors, so I will have source of thermal image frames when camera is not moveing and in movement too.
Tracking feature is addon to this system, so for the moment probably will use only moving weighted averaging for not moveing fixed Seek Thermal camera to get downgraded output to 1Hz from 9Hz max available, so about 8 image frames back  8)

This has to work in realtime so it have to be optimized for speed C/C++ code  ;)
Imagemagic only can be used as source code hint.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 17, 2014, 12:59:35 pm
another thoughts to Flir Lepton and the noise filtering >:D  in the Flir One App

FLIR TG165 with lepton microbolometer
http://flir.com/uploadedFiles/Instruments/Products/TG165/FLIR-TG165-Datasheet.pdf (http://flir.com/uploadedFiles/Instruments/Products/TG165/FLIR-TG165-Datasheet.pdf)
Thermal Imaging Sensitivity: 150mK

Flir One  with lepton sensor
http://www.flir.com/flirone/explore.cfm (http://www.flir.com/flirone/explore.cfm)
Sensitivity: ability to detect temperature differences as small as 0.18 °F ( 100 mK)

LEPTON Longwave Infrared (LWIR) Camera Module
http://www.flir.com/uploadedFiles/CVS_Americas/Cores_and_Components_NEW/Products/Uncooled_Cores/Lepton/FLIR-Lepton-DataBrief.pdf (http://www.flir.com/uploadedFiles/CVS_Americas/Cores_and_Components_NEW/Products/Uncooled_Cores/Lepton/FLIR-Lepton-DataBrief.pdf)
Thermal sensitivity: <50 mK

from the Flir Ex / Exx we know the switch:
Code: [Select]
rset .image.flow.digitalFilter.noiseGen.enabled true/false
rset .image.flow.digitalFilter.noiseGen.level 150 (mK)

Quote
.caps.config.image.targetNoise.enabled bool true
.caps.config.image.targetNoise.targetNoiseMk int32 135
It could actually be noise reduction or shaping - maybe this is a threshold to decide when to apply noise reduction, i.e. adjust filter until noise is below the target value.  "Mk" - mask? Perhaps something like a hysteresis function?

targetNoiseMk is a noise generator in mK (conforming with NETD/ thermal sensity in Flir Datasheets of the selected cam)
Formerly I stacked some noisy images with Registax or AviStax  to subtract out the randomly noise and it works great!!

after setting targetNoiseMk to zero, stacking of images don't improve results  :(

here a sample from a Flir E40 (old cam hacked formerly from 160x120 to 320x240)
in service menu I can measuring the noise

Code: [Select]
rset .caps.config.image.targetNoise.targetNoiseMk  60 (MilliKelvin)

 Temporal noise        MilliKelvin      Digital Units
Pixel Noise      61.28      12.13
Row Noise        14.84      2.94
Column Noise     13.67      2.71

Spatial noise        MilliKelvin      Digital Units
Pixel Noise      25.69      5.09
Row Noise         7.08      1.40
Column Noise      7.82      1.55
Uniformity      198.23     39.25

Total noise        MilliKelvin      Digital Units
Pixel Noise       67.01     13.27
Row Noise          9.71      1.92
Column Noise      10.10      2.00


and now without noise (cam temperature is 25 Grad):
Code: [Select]
rset .caps.config.image.targetNoise.targetNoiseMk  0 (MilliKelvin)

 Temporal noise        MilliKelvin      Digital Units
Pixel Noise      19.85      3.93
Row Noise         6.39      1.26
Column Noise      8.64      1.71

Spatial noise        MilliKelvin      Digital Units
Pixel Noise      18.98      3.76
Row Noise         4.70      0.93
Column Noise      5.54      1.10
Uniformity      210.23      41.63

Total noise        MilliKelvin      Digital Units
Pixel Noise      28.96      5.73
Row Noise         5.76      1.14
Column Noise      7.66      1.52


see the differences (NETD is 0,03 °C @ 25°C)

Quote
http://gs.flir.com/surveillance-products/surveillance-technology/imaging-technotes/IR_Technology_Parameters (http://gs.flir.com/surveillance-products/surveillance-technology/imaging-technotes/IR_Technology_Parameters)
Uncooled infrared cameras systems are typically a little noisier, in the range of 30 - 120mK. Noise in an image can be spatial or temporal.
Spatial noise is noise across the image at any given point in time. It is perceived as an unchanging fixed pattern on top of the image.
Temporal noise is noise at any point in the image over time. It is perceived as the static that moves in an image.
NETD is typically the measure of both these noise types.

remarkably Flir dont't disable the noise generator at the top cams of a serie (Flir E4 -> E8 , Flir E30 -> E60)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: devilmastah on November 18, 2014, 02:20:09 pm

if you simple delete the SuperResDenoise.plist nothing changes :(
I think devilmastah can better look inside the code of the flir one app


Make shure that the file is chmodded correctly! else it wont be deleting it for real. I can make changes in the file and the image of my camera changes as well.
I can take a look inside the code later this week, i am quite busy with work at the moment :(
But i am shure the file gets used! I can try what happens if i delete it later today.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: devilmastah on November 18, 2014, 06:27:36 pm

if you simple delete the SuperResDenoise.plist nothing changes :(
I think devilmastah can better look inside the code of the flir one app


i had a little play with the SuperResDenoise,plist.

First of all, the app seems to be perfectly fine with missing that file (as i delete it the app still works).
Furthermore weird, there seems to be a reference to the file in the code so i dont really get why it doesnt just crash.

Then, it does something with the values of it and puty them in a function Write_4x4x8_PSD.
i am pretty shure i have seen a file or reference to  4x4x8 psd somewhere but cant find it right now.

Now the nice thing, i removed the file and made some pictures, see the attatchment, right onces are without the file!
Left ones with. One of them is a shot accross my bed to the window (i should fix the isolation of that), and the other one is a uniform tabletop with the camera directly on it.
Both images have the normal picture removed with flir tools.
The sharpness of the ir image itself does not seem to be really affected as in its not burryer, looks more crisp overall.

I archieved this by doing the following.
1. I chmodded the file via ssh terminal to 777, "chmod 777 SuperResDenoise.plist"
2. After that you are able to rename or delete it, if you dont own or have rights to the file the file will not get delted or modified!
3. Then i rebooted the app, make shure its not running in the background (double click home button)! Thats really important as the file wil be in memory when the app is in background, hence you see no change.

tip, im not shure if this is needed, i already own all the files as root. You could chown the file to root. I dont think its needed.


EDIT 1:
As to the
from the Flir Ex / Exx we know the switch:
rset .image.flow.digitalFilter.noiseGen.enabled true/false
rset .image.flow.digitalFilter.noiseGen.level 150 (mK)

values, the enable disable does seem to live in camerafiles/system/calib.rsc - however i did not notice any change (maybe thats due to the lack of my SuperResDenoise).
Another thing i noticed is their reference:
"## NO VALUES READ FROM .calib.detector. ATM. Everything is set in ifc_detector_dummy.cpp in appcore." that is on line 175 for me.

*goes back at decomping app*


EDIT 2


i found some references to toggle MSX mode and other stuff, i will now boot my mac to take a look at the other screensets that are in the app :)
Maybe those are some future items they want to include, but would be nice to have them now
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Starman on November 18, 2014, 08:57:58 pm
i'm wondering if perhaps since Flir have been in the thermal buisness so long, they just took big chunks of code they had for say the E4, and ported it for use with the Lepton module and Flir One. Hence why so many things are disabled or unused.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: devilmastah on November 18, 2014, 10:12:35 pm
It seems like that, since you can find lots of references to other cameras if you look closeley in some of the code :P
The app however seems quite clean since thats propably the first one.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 18, 2014, 10:40:46 pm
great images, how do you shot exact the same crop?

and the best is, there is a conf.cfg like in Ex/Exx firmware

/FLIR ONE 1.1.3/Payload/Rosebud.app/CameraFiles/system/appcore.d/config.d/conf.cfg
Code: [Select]
#
# Generated at  2014-05-27
#
.caps entry
.caps.config entry
.caps.config.name text "app super"
.caps.config.revision text "1.1"
.caps.config.image entry
.caps.config.image.framegrab entry
.caps.config.image.framegrab.fusion entry
.caps.config.image.framegrab.fusion.enabled bool true
.caps.config.image.framegrab.fusion.pip entry
.caps.config.image.framegrab.fusion.pip.enabled bool true
.caps.config.image.framegrab.fusion.hcf entry
.caps.config.image.framegrab.fusion.hcf.enabled bool true
.caps.config.image.services entry
.caps.config.image.services.store entry
.caps.config.image.services.store.enabled bool true
.caps.config.image.services.store.radiometric entry
.caps.config.image.services.store.radiometric.enabled bool true
.caps.config.image.services.store.incompatible entry
.caps.config.image.services.store.incompatible.enabled bool false
.caps.config.image.services.store.incompatible.level int32 0
.caps.config.image.settings entry
.caps.config.image.settings.enabled bool true
.caps.config.image.settings.IRwidth int32 320
.caps.config.image.settings.IRheight int32 240
.caps.config.image.sysimg entry
.caps.config.image.sysimg.alarms entry
.caps.config.image.sysimg.alarms.enabled bool false
.caps.config.image.sysimg.alarms.measfunc entry
.caps.config.image.sysimg.alarms.measfunc.enabled bool false
.caps.config.image.sysimg.alarms.measfunc.maxCount int32 3
.caps.config.image.sysimg.alarms.humidity entry
.caps.config.image.sysimg.alarms.humidity.enabled bool false
.caps.config.image.sysimg.alarms.humidity.maxCount int32 1
.caps.config.image.sysimg.alarms.insulation entry
.caps.config.image.sysimg.alarms.insulation.enabled bool false
.caps.config.image.sysimg.alarms.insulation.maxCount int32 1
.caps.config.image.sysimg.gps entry
.caps.config.image.sysimg.gps.enabled bool true
.caps.config.image.sysimg.irMarkers entry
.caps.config.image.sysimg.irMarkers.enabled bool false
.caps.config.image.sysimg.irMarkers.spot entry
.caps.config.image.sysimg.irMarkers.spot.enabled bool false
.caps.config.image.sysimg.irMarkers.spot.maxCount int32 0
.caps.config.image.sysimg.irMarkers.arrow entry
.caps.config.image.sysimg.irMarkers.arrow.enabled bool true
.caps.config.image.sysimg.irMarkers.arrow.maxCount int32 0
.caps.config.image.sysimg.irMarkers.box entry
.caps.config.image.sysimg.irMarkers.box.enabled bool false
.caps.config.image.sysimg.irMarkers.box.maxCount int32 0
.caps.config.image.sysimg.measureFuncs entry
.caps.config.image.sysimg.measureFuncs.enabled bool true
.caps.config.image.sysimg.measureFuncs.diff entry
.caps.config.image.sysimg.measureFuncs.diff.enabled bool true
.caps.config.image.sysimg.measureFuncs.diff.maxCount int32 1
.caps.config.image.sysimg.measureFuncs.diff.calcMask int32 65526
.caps.config.image.sysimg.measureFuncs.isotherm entry
.caps.config.image.sysimg.measureFuncs.isotherm.enabled bool true
.caps.config.image.sysimg.measureFuncs.isotherm.calcMask int32 20
.caps.config.image.sysimg.measureFuncs.isotherm.dual bool false
.caps.config.image.sysimg.measureFuncs.isotherm.fixScale bool false
.caps.config.image.sysimg.measureFuncs.isotherm.interval bool true
.caps.config.image.sysimg.measureFuncs.isotherm.invInterval bool false
.caps.config.image.sysimg.measureFuncs.isotherm.maxCount int32 1
.caps.config.image.sysimg.measureFuncs.mbox entry
.caps.config.image.sysimg.measureFuncs.mbox.enabled bool true
.caps.config.image.sysimg.measureFuncs.mbox.calcMask int32 1924
.caps.config.image.sysimg.measureFuncs.mbox.maxCount int32 5
.caps.config.image.sysimg.measureFuncs.mcircle entry
.caps.config.image.sysimg.measureFuncs.mcircle.enabled bool true
.caps.config.image.sysimg.measureFuncs.mcircle.calcMask int32 1924
.caps.config.image.sysimg.measureFuncs.mcircle.maxCount int32 5
.caps.config.image.sysimg.measureFuncs.mline entry
.caps.config.image.sysimg.measureFuncs.mline.enabled bool true
.caps.config.image.sysimg.measureFuncs.mline.calcMask int32 1924
.caps.config.image.sysimg.measureFuncs.mline.maxCount int32 1
.caps.config.image.sysimg.measureFuncs.reftemp entry
.caps.config.image.sysimg.measureFuncs.reftemp.enabled bool true
.caps.config.image.sysimg.measureFuncs.reftemp.calcMask int32 1924
.caps.config.image.sysimg.measureFuncs.reftemp.maxCount int32 1
.caps.config.image.sysimg.measureFuncs.script entry
.caps.config.image.sysimg.measureFuncs.script.enabled false
.caps.config.image.sysimg.measureFuncs.script.maxCount int32 0
.caps.config.image.sysimg.measureFuncs.spot entry
.caps.config.image.sysimg.measureFuncs.spot.enabled bool true
.caps.config.image.sysimg.measureFuncs.spot.calcMask int32 514
.caps.config.image.sysimg.measureFuncs.spot.maxCount int32 10
.caps.config.image.sysimg.visualMarkers entry
.caps.config.image.sysimg.visualMarkers.enabled bool false
.caps.config.image.sysimg.visualMarkers.spot entry
.caps.config.image.sysimg.visualMarkers.spot.enabled bool false
.caps.config.image.sysimg.visualMarkers.spot.maxCount int32 0
.caps.config.image.sysimg.visualMarkers.arrow entry
.caps.config.image.sysimg.visualMarkers.arrow.enabled bool false
.caps.config.image.sysimg.visualMarkers.arrow.maxCount int32 0
.caps.config.image.sysimg.visualMarkers.box entry
.caps.config.image.sysimg.visualMarkers.box.enabled bool false
.caps.config.image.sysimg.visualMarkers.box.maxCount int32 0
.caps.config.image.targetNoise entry
.caps.config.image.targetNoise.enabled bool false
.caps.config.image.targetNoise.targetNoiseMk int32 0
.caps.config.image.zoom entry
.caps.config.image.zoom.enabled bool false
.caps.config.image.zoom.maxFactor double 8
.caps.config.system entry
.caps.config.system.focus entry
.caps.config.system.focus.laser entry
.caps.config.system.focus.laser.updateFocus entry
.caps.config.system.focus.laser.updateFocus.enabled bool false
.caps.config.ui entry
.caps.config.ui.fusion entry
.caps.config.ui.fusion.PIP entry
.caps.config.ui.fusion.PIP.enabled bool true
.caps.hw entry
.caps.hw.sdcard entry
.caps.hw.sdcard.enabled bool false
# ID *
# CRC01 b114169e

but this this the "app super" config file for calibration purpose and not for working
on Exx the path for "app super"  is \FlashFS\system\service\appcore.d\config.d\conf.cfg

i'm wondering if perhaps since Flir have been in the thermal buisness so long, they just took big chunks of code they had for say the E4, and ported it for use with the Lepton module and Flir One.
you are right, the file above says:
Code: [Select]
.caps.config.image.settings.IRwidth int32 320
.caps.config.image.settings.IRheight int32 240
:(
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: devilmastah on November 18, 2014, 10:43:51 pm
do you have info on what does what in that config ?
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 18, 2014, 10:51:18 pm
as I wrote above, this is a service file and for Flir One (80x60 instead of 320x240 ?? )

for editing, you need a CRC01 keygen
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg321956/#msg321956 (https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg321956/#msg321956)
Code: [Select]
mac osx
// verbose: g++ -v
$ g++  *.cpp -o crc01

$ ./crc01
Usage: ./crc01 infile.txt


CRC32 in *.rsc files is regular CRC32
a crc32 sample on command line
Code: [Select]
// count lines
$ wc -l FlashFS/system/calib.rsc
     801 FlashFS/system/calib.rsc

//print last line
$ tail -n1  FlashFS/system/calib.rsc
# CRC32 ef8f7e0e

//calc a new crc32 for 801-1=800 lines
$ crc32 <(head -n 800 FlashFS/system/calib.rsc)
ef8f7e0e
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: devilmastah on November 18, 2014, 10:53:54 pm
ah i must have skipped that,

i writing a tutorial for the temprature mod at the moment :)
Maybe you can include it in the opening post later on (quote it)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 18, 2014, 11:03:56 pm
Sure!

many users have trouble with using of mikes crc01

Taucher wrote a simplified version
EzCRC01
I took the liberty and made a simplified version of CRC01 - called EzCRC01
Just extract the attached zip archive, doubleclick EzCRC01.exe and follow the on screen instructions
edit3: To complete the process your e8.conf (lowercase "e" important) needs to be placed on the camera (via .FIF or RNDIS+FTP) - then cold boot your cam (battery removal)

It's intended as supplement to Mikes files and as a codebase for an in-place-crc01-updater.

EDIT2: Replaced with static version (64 bit)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: mikeselectricstuff on November 18, 2014, 11:10:04 pm
Just noticed the Flir lepton page is now showing a 25 deg lens option (presumably as used in the security camera product)  and a shutter (as used in TG165)
http://www.flir.com/cores/content/?id=66257 (http://www.flir.com/cores/content/?id=66257)
 
Also can't see mention of the 1000 MOQ that I'm sure was there, so maybe moving towards becoming more available...?
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: eneuro on November 18, 2014, 11:45:08 pm
i found some references to toggle MSX mode and other stuff, i will now boot my mac to take a look at the other screensets that are in the app :)
Do you have source code of this Flir's MSX implementation or only make changes to some app config files to tweak its parameters?
Probably DFT will do the job in my OpenCV based Seek Thermal app, but it would be nice to see code how Flir makes this fusion of IR & visual in their products  >:D
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 18, 2014, 11:48:57 pm
Do you have source code of this Flir's MSX implementation or only make changes to some app config files to tweak its parameters?
Probably DFT will do the job in my OpenCV based Seek Thermal app, but it would be nice to see code how Flir makes this fusion of IR & visual in their products  >:D

Flir MSX it's simple, see my IM scripts here
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg342072/#msg342072 (https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg342072/#msg342072)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 18, 2014, 11:58:56 pm
Just noticed the Flir lepton page is now showing a 25 deg lens option (presumably as used in the security camera product)  and a shutter (as used in TG165)

off topic on

Code: [Select]
Datasheet TG165:
Saved Image Format: Bitmap (BMP) Image with Temperature and Emissivity

BMP is a crippled image format.
Until now, Flir never saved BMP (Images without radiometric raw data)

I love the Flir One for the embedded raw data.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 19, 2014, 12:14:40 am
 :-+ :-+ :-+
Now the nice thing, i removed the file and made some pictures, see the attatchment, right onces are without the file!
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=119300;image)

I archieved this by doing the following.
1. I chmodded the file via ssh terminal to 777, "chmod 777 SuperResDenoise.plist"
2. After that you are able to rename or delete it, if you dont own or have rights to the file the file will not get delted or modified!
3. Then i rebooted the app, make shure its not running in the background (double click home button)! Thats really important as the file wil be in memory when the app is in background, hence you see no change.

untested:
you don't need a jailbrooken iphone
download the FLIR ONE 1.1.3.ipa with Itunes and delete the file SuperResDenoise.plist inside the zip container
then upload the patched ipa with Itunes to Iphone


edit 20.11.2014
it does'nt work:
after deleting the SuperResDenoise.plist  iTunes can install the ipa but the icon on the iphone hangs by "installing"

because signature of SuperResDenoise.plist in  Rosebud.app\_CodeSignature\CodeResources
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: eneuro on November 19, 2014, 12:16:28 am
Flir MSX it's simple, see my IM scripts here
Just looking into this  flir.php from zip'ed flir-scriptV3.zip and it looks like there is only one input file:
Code: [Select]
-i ir_file.jpg      flir radiometric image
but there is attached real image and a few thermal ones-in one of them those contours from visual already applied, but how real visual light image is passed to this program to make MSX like Ir & visual fusion?  :-//
Never easy understand ImageMagic tricks made there  ;)

BTW: I use 16bit grayscale PNGs for raw sensor output from Seek Thermal dongle and 8bit channels RGBA PNGs for postprocessed output thermal images with 16bit Iron LUT applied on double (real) numbers scaled to 0.0...1.0 normalized values  :-/O
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 19, 2014, 12:19:41 am
sorry, flir saves the real and radiometric values in one jpg file

read the simple php script and then you understand the simple  IM syntax

embedded.png = real image
raw.png = 16 Bit thermal image (dark)
ir.png = 16 Bit thermal image (fixed level, i.e. auto-level )

Code: [Select]
exec($convert." raw.png -fx \"($B/ln($R1/($R2*(65535*u+$O))+$F)-$Smin)/$Sdelta\" ir.png");
...

    if ( !isset($options['msx']) && !isset($options['shade']) )
    {
   exec($convert." ir.png $crop +repage ".$resize." $pal -clut embedded.png +swap -gravity Center -geometry $geometrie -compose over -composite -background ".$frame_color." -flatten +matte gradient.png -gravity East +append ".$destimg);
    }else{
       $cropx=$resizepercent*$exif[0]['RawThermalImageWidth']/100;
       $cropy=$resizepercent*$exif[0]['RawThermalImageHeight']/100;
       // $escape: bash/win have different brackets
       if ( isset($options['msx']) )
       {
          // high pass to real image and crop to IR size
          exec($convert." embedded.png -gravity center -crop {$cropx}x{$cropy}{$geometrie} $escape( -clone 0 -blur 0x3 $escape) -compose mathematics -define compose:args=0,-1,+1,0.5 -composite -colorspace gray -sharpen 0x3 -level 30%,70%! embedded1.png");
       }else{
          // shade filter to real image and crop to IR size
          exec($convert." embedded.png -gravity center -crop {$cropx}x{$cropy}{$geometrie} -auto-level -shade 45x30 -auto-level embedded1.png");
          $gamma=exec($convert." embedded1.png -format \"%[fx:mean]\" info:");
          $gamma=log($gamma)/log(0.5);
          exec($convert." embedded1.png -gamma $gamma embedded1.png");
       }
       // overlay real with IR
       exec($convert." ir.png ".$resize." $pal -clut embedded1.png +swap -compose overlay -composite ir2.png");
       echo "\n";
       #echo($convert." ir.png $crop +repage ".$resize." $pal -clut embedded1.png +swap -gravity Center -geometry $geometrie -compose overlay -composite ".$destimg);
       exec($convert." embedded.png ir2.png -gravity Center -geometry $geometrie -compose over -composite -background ".$frame_color." -flatten +matte gradient.png -gravity East +append ".$destimg);
    }

try this for understanding and testing your parameters
replace in bash ( with \(
Code: [Select]
convert real.png ( -clone 0 -blur 0x3 ) -compose mathematics -define compose:args=0,-1,+1,0.5 -composite -colorspace gray -sharpen 0x3 1.jpg
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: eneuro on November 19, 2014, 12:28:02 am
Thx, now can try do the same using OpenCV only and compare results  with this magic MSX implementation :-+
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: devilmastah on November 19, 2014, 12:36:56 am
EDIT:
Get clutch version 1.4.7 or higher! the lower one doesnt seem to work

Not for the faint hearted!
I dont want to upload a cracked file, so you guys can have a bit of fun and learn in the process of having fun.
Also i should propably say that its up to you what you do with your modified files (as in keep it legal) and you do this at your own risk :)
Let me know if it did or didnt work.

The images help with the txt step by step instruction i wrote the past two hours.

Something i want to know while someone trys this.
If you open the decrypted Rosebud in the hex editor please go to Analysis -> Checksums and run MD-5 before editing the file!
This gives a checksum at the bottom: It should be F16037A3DBE0E8D4C2A7900F3BC204DC
Else i have something to work out and this might not work. I tried this with my original clutched ipa file and the Rosebud i end up with works perfectly :)


Also i want to give a shoutout to Jenkins, who seems to have made the app (seems to be the username of the MAC that was used) Great app now give us all the things that are hidden in there :P
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 19, 2014, 11:11:29 am
there is a new firmware 1.0.9.  for flir one

(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=119418;image)

Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: vincentwrath on November 19, 2014, 11:47:58 am
 :palm:   Dear Mr devilmastah , clutch can't crack flir one app  “error: Cannot crack ARMV7 portion of fat binary. error: Could not crack binary  Failed. "  and  the data of original rosebud can't match your description.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 19, 2014, 12:42:54 pm
The sharpness of the ir image itself does not seem to be really affected as in its not burryer, looks more crisp overall.

I archieved this by doing the following.
1. I chmodded the file via ssh terminal to 777, "chmod 777 SuperResDenoise.plist"
2. After that you are able to rename or delete it, if you dont own or have rights to the file the file will not get delted or modified!
3. Then i rebooted the app, make shure its not running in the background (double click home button)! Thats really important as the file wil be in memory when the app is in background, hence you see no change.

I can't confirm the SuperResDenoise.plist hack.
You shot the images with a larger temperature scale.




I gone with ssh on my Iphone and deleted the SuperResDenoise.plist
Code: [Select]
chmod 777 SuperResDenoise.plist
 mv SuperResDenoise.plist SuperResDenoise.bak
 rm SuperResDenoise.bak
then I rebooted the Iphone and took 10 images with the Flir One App without SuperResDenoise.plist

Screenshot from Flir Tools with 1 Kelvin
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=119437;image)

the 10 images animated (code below)
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=119423;image)




- now I deleted the (hacked) Flir One App and installed it from Appstore new
- repeated the 10 images from the same scene

Screenshot from Flir Tools with 1 Kelvin
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=119435;image)

the 10 images animated
Code: [Select]
>convert  -define png:swap-bytes=on *.png    -set filename:fname R%t +adjoin %[filename:fname].png

>identify -verbose R_*.png | grep -n4 statist | grep max | C:\util\GnuWin32\bin\sort -k 3 | tail -n 1
230-      max: 13145 (0.20058)

>identify -verbose R_*.png | grep -n3 statist | grep min | C:\util\GnuWin32\bin\sort -k 3 | head -n 1
1889-      min: 12895 (0.196765)

>convert R_*.png -level 12850,13250 -resize 320x -set filename:fname "S%t" +adjoin "%[filename:fname].png"

>montage SR*.png -tile 1x1 -geometry +0+0 A-Superes.gif
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=119427;image)




I see no differences (use 1 Kelvin for High/Low)
there are the same artefacts and not the mystery grain like in your images




Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: devilmastah on November 19, 2014, 04:21:59 pm
:palm:   Dear Mr devilmastah , clutch can't crack flir one app  “error: Cannot crack ARMV7 portion of fat binary. error: Could not crack binary  Failed. "  and  the data of original rosebud can't match your description.

What ios version are you on? And which version of clutch, i use version 1.4.7 on ios 7.1.2.
Ios 8 changed a lot and clutch is broken on 8 or higher!

@Tomas,
Maybe it sees the difference because my app is fully decrypted and all files are decrypted, i see a huge difference and also see difference when changing values in tha SuperResDenoise. It also reads that file in the app.
What do you do in flir tools for your pictures, mine where just standard pictures with the msx turned off ?

General:
Has anybody upgraded the firmware?
If yes are there changes?
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: vincentwrath on November 19, 2014, 04:46:26 pm
:palm:   Dear Mr devilmastah , clutch can't crack flir one app  “error: Cannot crack ARMV7 portion of fat binary. error: Could not crack binary  Failed. "  and  the data of original rosebud can't match your description.

What ios version are you on? And which version of clutch, i use version 1.4.7 on ios 7.1.2.
Ios 8 changed a lot and clutch is broken on 8 or higher!

@Tomas,
Maybe it sees the difference because my app is fully decrypted and all files are decrypted, i see a huge difference and also see difference when changing values in tha SuperResDenoise. It also reads that file in the app.
What do you do in flir tools for your pictures, mine where just standard pictures with the msx turned off ?

General:
Has anybody upgraded the firmware?
If yes are there changes?

thanks, mine are  ios 7.1.1 and clutch 1.2.4, now I know where the problem is and I have upgrade flir 1 firmware, only thing get my attention is the time of reading temperature before manual calibration is largely reduced,  need to calibrate more often.

one more thing, I opened flir tool app and find 10 palettes they are almost the same compared to these from flir one app, then I add lava...3 new palettes. these two app share too much the same, too much need to be found.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Starman on November 20, 2014, 01:30:27 am
I upgraded the firmware in my Flir One, and i don't really notice any difference in operation.
The big plus of the upgrade is that i only need one usb cable to charge both the Flir One and the iphone, and dont need to seperate the pair any longer  :-+ :-+
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: vincentwrath on November 20, 2014, 05:37:51 am
(http://i.imgur.com/JozvYSH.jpg)
@devilmastah     temperature range unlocked !  thank you very much.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 20, 2014, 08:58:53 am
@devilmastah     temperature range unlocked !  thank you very much.

Hint for non jailbreaker for unlocked  temperature range:

- use the crosshair in the "Flir One CloseUp" App
or
- open your image from the camera roll with the "Flir Tools" App
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 20, 2014, 11:27:38 am
I upgraded the firmware in my Flir One, and i don't really notice any difference in operation.

I can confirm it.  No drawbacks with FW 1.0.9 (sensitivity and resolution).
Charging the Iphone with a micro usb cable is great.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: devilmastah on November 20, 2014, 01:44:23 pm
@devilmastah     temperature range unlocked !  thank you very much.

Nice, newer clutch was the solution then ?
I updated my post to mention that
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: devilmastah on November 20, 2014, 10:36:41 pm
I now have the flir 1.0.9 firmware update pkg.
Lets see what that contains  :-DD

now i just need to find a way to depkg the file
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Starman on November 26, 2014, 02:57:08 am
Hello

Sorry if this might be off topic.

Someone has made another thermal camera using a Lepton sensor http://hackaday.com/2014/11/24/simple-thermal-imager-with-a-lepton-module/ (http://hackaday.com/2014/11/24/simple-thermal-imager-with-a-lepton-module/)

Also the Flir One has been reduced in price to $249 ! (Apple canada), and the groupget price for the Lepton module has been reduces to $207.60  https://www.groupgets.com/campaigns/44-flir-lepton-thermal-imager-batch-3-reduced-price (https://www.groupgets.com/campaigns/44-flir-lepton-thermal-imager-batch-3-reduced-price)

And Flir are selling the "innards" of their Lepton demo camera for $150 (without Lepton module) https://www.groupgets.com/campaigns/43-flir-lepton-demo-camera-batch-1 (https://www.groupgets.com/campaigns/43-flir-lepton-demo-camera-batch-1)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 26, 2014, 10:43:53 am
interesting experiment:

Testing the Accuracy of the FLIR One
http://www.wired.com/2014/09/testing-accuracy-flir-one/ (http://www.wired.com/2014/09/testing-accuracy-flir-one/)

Unfortunately the author doesn't know the problems of measuring fluids (thermal emittance)
Better to stick a label on the glas with a known thermal emittance and keep the water temperature constant for a while.

the result is amazing good
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: leoibb on January 27, 2015, 06:25:53 pm
Not sure this is the right place but is there anyway to have a live feed on to smartphone from flir e4. Is there a #dongle. To go in usb port of flir . Also I have manual temperature but would like to tighten the scale the minimum difference is 2 I would like it to be smaller also the heighest is 280 can that be higher too ?
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on January 28, 2015, 08:39:51 am
this is the wrong thread

please ask here:
https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/ (https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/)
or
https://www.eevblog.com/forum/testgear/capturing-video-from-flir-e4-to-portable-device/ (https://www.eevblog.com/forum/testgear/capturing-video-from-flir-e4-to-portable-device/)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Starman on February 23, 2015, 08:17:43 pm
Hello
Flir just released new Flir One iphone app version 1.5.0 a couple days ago. It combines the other apps (flir one, close up, pano, video, photo, time lapse) into one. Also adds two new pallets.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: ixfd64 on March 11, 2015, 03:43:12 am
For those who aren't following the Mu Optics developments, there are good news and bad news.

The bad news: Mu Optics is no longer delivering their product. I can't say I'm surprised.
The good news: FLIR and Seek Thermal are offering a 10% discount (the FLIR discount only applies to the FLIR One) to people who have contributed to the Mu Optics campaign. The FLIR discount code is: U92VQGF4.

More details here: https://www.indiegogo.com/projects/mu-thermal-camera-a-great-tool-to-save-on-energy-costs#activity (https://www.indiegogo.com/projects/mu-thermal-camera-a-great-tool-to-save-on-energy-costs#activity)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: mikeselectricstuff on March 11, 2015, 07:02:49 pm
Lepton extreme teardown :
Flir Lepton extreme teardown (https://www.youtube.com/watch?v=9YS39FWQgto#)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: mikeselectricstuff on March 27, 2015, 08:20:31 pm
Lepton sensor electron microscope images:

Flir Lepton electron microscope images (https://www.youtube.com/watch?v=ny17r03uj9Y#ws)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: OrBy on March 27, 2015, 09:10:02 pm
Lepton sensor electron microscope images:

Flir Lepton electron microscope images (https://www.youtube.com/watch?v=ny17r03uj9Y#ws)

I think I see a few bad pixels in that video  :-DD

Many thanks to Mike, Jonathan, and ?Sasha? for giving us such a in depth look into it!
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: wertyq on April 15, 2015, 03:25:44 pm
What camera you use???? very good image ! My friend reccomend me this site with camera http://www.atncorp.com/thermal-security-camera (http://www.atncorp.com/thermal-security-camera)  What you can sat about it? :palm:
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: mikeselectricstuff on April 23, 2015, 10:41:56 pm
Lepton sensors now at Digikey
http://www.digikey.co.uk/product-search/en?KeyWords=flir&WT.z_header=search_go (http://www.digikey.co.uk/product-search/en?KeyWords=flir&WT.z_header=search_go)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on June 22, 2015, 09:51:48 am
Flir App delivers the new Flir One Firmware : 1.0.10
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: NathanFowler on June 22, 2015, 02:28:51 pm
Flir App delivers the new Flir One Firmware : 1.0.10

Updated to 1.0.10 but the Flir One 2.0.1 application is still garbage; 1.0.10 crashed on the first attempt due to the 2.0.1 application issues losing connectivity with Rosebud.  Second attempt and 1.0.10 went on fine, release notes says (paraphrased) "Increased time between tuning during warm-up".  Hopefully they fix 2.0.1 I'm using Flir Tools until they do.  I'm not the only one having issues, all reviews in the App Store reflect similar experiences to mine.

Still hoping someone has the IPA for Flir One 1.5.2 application so I can downgrade.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: NathanFowler on June 23, 2015, 06:31:27 pm
FLIR just released firmware 1.0.11 for the FLIR ONE gen1 which addresses the connectivity issues introduced in FLIR ONE 2.0.1.  It takes a few tries to get the firmware to "take" due to the connectivity issues.  Also, a battery of 100% is reported as less than 50% (seems math error) but 99% worked fine.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: chobochobo on July 10, 2015, 04:45:07 am
Hello all, I just joined five minutes ago.

I'm interested in using a thermal imager for helping diagnosing the depth of burns. I've read the paper by Riddle et al in 2012 describing the use of the FLIR SC660 for burns assessment. I'm wondering if the FLIR one for the ios/ android can do a comparable job. The resolution will be important but the most crucial part is the sensitivity I think - detecting the minor differences in skin temperature will allow better delineation of different depths of burns.

I'm paying for this stuff out of my own pocket, and so am looking for cheap solutions. I've already bought a Structure sensor scanner to use my ipad to acquire 3D images of patients, so I'll probably go for the iOs version. I'm just about to click the button to buy the FLIR one but just wanted to some advice please. Eg the Seek cameras have better thermal resolution but although the sensitivity isn't stated by the manufacturer, the rumours seems to suggest that it's about 0.5C vs 0.1C for the FLIR.

Cheers
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: encryptededdy on July 10, 2015, 06:48:27 am
I guess you should look at the paper and see what kind of temperature differences they see. The SC660 has <30mK thermal sensitivity, whereas the FLIR One is 0.1°C, which is 100mK. Therefore, the SC660 is significantly more sensitive to smaller changes in temperature.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: chobochobo on July 10, 2015, 08:39:39 am
Thanks for the reply. The paper shows that a burn will register a surface temperature at 30C compared to 36 for unburnt skin. They compared the temperature profiles between deeper burns and more superficial burns, and the difference is of the order of 1C. Obviously, the greater the sensitivity, the greater the chances of detecting smaller differences. Unfortunately the FLIR SC660 is a bit out of my price range.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: encryptededdy on July 10, 2015, 10:58:08 am
Thanks for the reply. The paper shows that a burn will register a surface temperature at 30C compared to 36 for unburnt skin. They compared the temperature profiles between deeper burns and more superficial burns, and the difference is of the order of 1C. Obviously, the greater the sensitivity, the greater the chances of detecting smaller differences. Unfortunately the FLIR SC660 is a bit out of my price range.

If you look at the tests tomas123 posted earlier in this thread:

a sensitivity test

For comparing the quality of the flir lepton sensor with the Flir Ex / Exx I shot sample images from a (uncooled) beer crate and two bottles of champagne with the same FOV.

Knowingly I shot a image with minimal temperature differences (only 1 Kelvin).
Please note the different temperature scales!

All screenshots from FlirTools after pressing the Auto-Range Button. (without MSX)

Flir One => Lens FOL 2 (80x60)
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118925;image)

You can see that when the temperature span is only one degree, the FLIR One does not produce a very good image. That said, we are still able to see temperature differences in the image within 1 degree, so I think it would be usable.

I'm not sure what the minimum temp span within the app is, however you may need to process the image in FLIR Tools app in order to see the differences you need.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: chobochobo on July 11, 2015, 02:24:00 am
Thanks. The 'fuzziness' of the image is partly due to the (low) resolution?
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: encryptededdy on July 11, 2015, 03:07:07 am
Thanks. The 'fuzziness' of the image is partly due to the (low) resolution?

I think it's more because of the low temperature span. This results in more noise and the "blockyness" you see is probably a result of the noise reduction working overtime.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: chobochobo on July 11, 2015, 03:26:30 am
Thanks. It's all compromises, at the moment I'll take the FLIR ONE over the SEEK because the sensitivity (0.1vs 0.5C) seems more important to me. I'm considering the Therm-App too though even at it's special price of 939 it's the price of about 4 FLIR ONEs.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: encryptededdy on July 11, 2015, 07:43:59 am
Thanks. It's all compromises, at the moment I'll take the FLIR ONE over the SEEK because the sensitivity (0.1vs 0.5C) seems more important to me. I'm considering the Therm-App too though even at it's special price of 939 it's the price of about 4 FLIR ONEs.

While the therm-app offers good resolution and sensitivity, note that due to it's lack of a calibration shutter there seems to be a permanent noise pattern at lower temperature differences.

(http://puu.sh/iV1eB/875131987e.jpg)

The above image has a span of 6 degrees Fahrenheit, which is about 3.3 degrees C. As you can see there is a fair bit of noise (that said it still looks better than the FLIR One).

Note however that most of the "noise" you see is a result of non-uniformity, which can be corrected with a shutter. A use here: http://www.ar15.com/forums/t_6_18/430829_Therm_App_Review___Photo___Video___Consolidated_Thread_.html&page=21#i4215973 (http://www.ar15.com/forums/t_6_18/430829_Therm_App_Review___Photo___Video___Consolidated_Thread_.html&page=21#i4215973)

has used the Therm-App SDK to implement a manual calibration routine which dramatically reduces noise.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: chobochobo on July 11, 2015, 08:19:28 am
Thanks. I can't seem to see the images that the guy (Pantheron) posted, the links are broken for me. Hmm choices choices.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: encryptededdy on July 11, 2015, 09:36:21 am
Thanks. I can't seem to see the images that the guy (Pantheron) posted, the links are broken for me. Hmm choices choices.

Also this is supposed to be released sometime this year: http://www.i3-thermalexpert.com/ (http://www.i3-thermalexpert.com/)

384 x 288 but more importantly a claimed <50mK NETD (pretty sure it's the same as the "sensitivity" figure quoted by others). This is nearing the 30mK spec of the SC660.

One weird thing I encountered when checking the specs is this:

(http://puu.sh/iV5bh/d1bb7cfa4b.jpg)

The FLIR Lepton (the core used inside the FLIR One) claims a thermal sensitivity of <50mK, however the spec sheet for the FLIR One claims 100mK. Either they're just quoting that so that the FLIR One doesn't affect the sales of their other products (and the FLIR One really has a sensitivity of 50mK), or they're doing something funny like adding noise (which they have done before on the FLIR E4 for example, where they're quoting a 150mK spec when in reality the sensor is <60mK, but they've just added noise).
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: chobochobo on July 11, 2015, 09:50:33 am
That's very useful, thanks.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: chobochobo on July 18, 2015, 06:03:03 am
I'm going to try a FLIR one first, and then maybe try either the therm-app or thermal expert. Thanks all.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: encryptededdy on July 18, 2015, 08:14:52 am
I'm going to try a FLIR one first, and then maybe try either the therm-app or thermal expert. Thanks all.
This post from earlier in the thread my be interesting: https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/msg553249/#msg553249 (https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/msg553249/#msg553249)

At least with the previous gen FLIR One, FLIR are definitely adding noise on purpose.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Howardlong on July 18, 2015, 04:26:33 pm
Far from being the toy I feared, I just used the discounted Flie One gen 1 I bought a couple of weeks ago to debug a board.

There was a short somewhere on a DC-DC 9V to 15V 1.5A SMPS. After checking the "obvious" parts like mosfets and schottkys with a multimeter in circuit, I drew a blank. Light bulb in head says, time to use that Flir thingy.

I used a bench PSU, current limited to about 300mA. Switched the bench supply on, a ceramic cap on the back of the board lit up like a Christmas tree. 300mA was probably more than enough.

Closer inspection under the microscope showed a hairline clack in the cap, a 1206 10uF 35V job, luckily I had a spare in stock, I don't usually stock ceramics at that kind of value at that voltage.

The parallax error between the Lapton and video cameras is an annoyance, but I just prodded my finger into shot to locate the offending part.

The only problem now is to remember that I have the device when something like this comes up again.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 13, 2015, 01:55:40 pm
as thread holder I collect here some infos:

the new Flir One 2. Generation (Flir1G2) has a Lepton sensor 160x120, but make cropped images (120x90) by using the Flir apps

you can see it with the simulator of Flir SDK app
The sdk app has crop factor switch.
If you unplug the Flir One and then start the SDK.app then all simulation images are uncropped.
If you plug in the Flir One then the simulation get the config values from the real camera and simulation images are cropped!!

see attachments (images from SDK simulation):
- both images from simulator loaded in FlirTools.app to shrink the file size
- very crazy: FlirTools for Android resize the image to the crop factor
(https://www.eevblog.com/forum/testgear/actual-resolution-of-flir-one-v2/?action=dlattach;attach=181210;image)   (https://www.eevblog.com/forum/testgear/actual-resolution-of-flir-one-v2/?action=dlattach;attach=181212;image)

see the difference in image size
... the FlirOne app makes only cropped images



The Flir1G2 give us a cropped image of RAW sensor!!

You can simple test it with the Flir One SDK. There is a sample app (compile it with Android Studio) which show you the real sensor image without fake noise etc.
select "Thermal Linear Flux 14 Bit Image"

As attachment two images from my notebook:

(1) a flir radiometric image with the FlirOne.app (= SDK)
(https://www.eevblog.com/forum/testgear/actual-resolution-of-flir-one-v2/?action=dlattach;attach=180948;image)

(2) and at the same position two screenshots from my android device
(https://www.eevblog.com/forum/testgear/actual-resolution-of-flir-one-v2/?action=dlattach;attach=180958;image)(https://www.eevblog.com/forum/testgear/actual-resolution-of-flir-one-v2/?action=dlattach;attach=180960;image)

Look at the keyboard and you see the difference in field of view (FOV) and thermal resolution!!

follow the links for more informations

the simulator has raw images for simulation
an interesting detail:

Inside the android sdk app (see post above) there is an simulator which works without a real FlirOne.
http://www.file-upload.net/download-11032220/FlirOneSDK.apk.html (http://www.file-upload.net/download-11032220/FlirOneSDK.apk.html)
The images for the simulator are real Lepton Sensor (raw) USB frames on which you can switch the view between large FOV "Thermal Linear Flux 14 Bit Image" and the cropped Flir "Thermal Image"

You can import the images with PS / Open as ... "Photoshop Raw *.RAW"

see PS screenshot (it's a rotated coffee cup)
(https://www.eevblog.com/forum/testgear/actual-resolution-of-flir-one-v2/?action=dlattach;attach=181138;image)



If you test the SDK with Android Studio, try also this:
Here you can download a working SDK sample with the extracted java.class (see my post above)
 see path FLIROneSDKBundle\FLIRONEExampleApplication\app\src\main\java\com\flir\flironesdk\usb

have fun
http://www.file-upload.net/download-11040066/FLIROneSDKBundle04-Basis.zip.html (http://www.file-upload.net/download-11040066/FLIROneSDKBundle04-Basis.zip.html)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: cynfab on November 13, 2015, 06:42:48 pm
Other than the change in the .so library, there doesn't seem to be too many differences in the classes.jar code.
BUT... when I recompiled with the new .so and a freshly installed Android Studio 1.5 preview, the app runs on both the tablets that it crashed on before.
This is good.
Tried the your decompiled classes and they compile and run just like the app with classes.jar.  ;>))
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 14, 2015, 09:58:07 am
 :-+
I'm sure that the crop factor is only a software switch, because the SDK simulator use full size raw values and also shows cropped images after loading the configuration from the real Flir One
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: cynfab on November 14, 2015, 03:22:42 pm
With the example app and the decompiled java classes as a base we should be able to build an app that provides true 160 x 120 Lepton 3 quality images. With adjustable emissivity.
I've been impressed with the detail in the images from the example app, and how seldom the "tuning" happens. especially vs. the Seek.
ImageJ handles the raw Lepton images. ImageMagik should as well, but I wasn't able to get it to work. Need to fiddle with it some more, I'm sure that exiftool etc. has a solution.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 14, 2015, 11:19:33 pm
ImageJ handles the raw Lepton images. ImageMagik should as well, but I wasn't able to get it to work.

Code: [Select]
$ convert -depth 16 -size 164x120 gray:00001-lep 00001-lep.png ;)

All image calculations (palette, MSX etc) be happen in software with libjnidevicewrapper.so.
This is also the reason of lags with weak android hardware.

The USB frames are only raw Lepton frames and a visual camera frames.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 16, 2015, 11:58:16 am
here is a real live sample (shot after a small warm up time of about 2 minutes):

It’s the same shot. Compare the different FOV (field of view)

I saved with the SDK.app simultaneously a upscaled Flir Radiometric JPG  and a real Lepton ThermalLinearFlux14BitImage.

Afterwards I rebuild with my old panorama script (see my footer) a real size 160x120 Lepton radiometric jpg (a Flir format).
You can load this sample jpg images in Flir Tools and compare the quality.


First a original image shot with the Flir App.
The App crop  >:(  the Lepton sensor to about 120x90 Pixel.
Please note the artefacts/patterns!
Flir makes a nice lens distortion correction of the Lepton sensor for best MSX overlaying  ;)

(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=182409;image)



real  Lepton sensor 160x120 (no image postprocessing and with noise/grain because the temperature spread is only 4 Kelvin)

(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=182411;image)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 16, 2015, 12:28:48 pm
If you disappointed about the grain of the Lepton image above (with 4 Kelvin scale) look at this images from a motherboard (27 Kelvin spread) shot with Flir1G2
Remarkable is the really short integration time. The rotating fan is sharp!

image shot from FlirOne App (about 120x90 Sensor Pixel)
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=182421;image)


with the modified SDK App I shot a full size Lepton image (without image postprocessing): 160x120 ThermalLinearFlux14BitImage

(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=182417;image)
a good visible barrel distortion


as attachment the radiometric jpgs for using with flir tools
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: OrBy on November 16, 2015, 02:36:52 pm
Remarkable is the really short integration time. The rotating fan is sharp!

Give that we have seen 30Hz Lepton's out there I don't think it's unreasonable that it may be operating at 30hz internally and outputting 9Hz for ITAR reasons. (it was mentioned that the the E4 does this)

a good visible barrel distortion

Thinking about it - this is likely the reason for the cropping. I would think it is a lot easier to MSX with a distortion free thermal image then try to "un-action cam" it then MSX it on the fly.

Afterwards I rebuild with my old panorama script (see my footer) a real size 160x120 Lepton radiometric jpg (a Flir format).

Is there anything that that script cant do?  >:D


Now that its been discovered that that the effective thermal resolution of the G2 is only 120x90 for the end user and not the advertised four times (160x120) of the original 80x60 G1 - how long before we see a class action lawsuit?  :box:
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 16, 2015, 03:37:19 pm
Now that its been discovered that that the effective thermal resolution of the G2 is only 120x90 for the end user and not the advertised four times (160x120) of the original 80x60 G1 - how long before we see a class action lawsuit?  :box:

I'm sure, that the FlirOne G1 is also cropped.
So it's 4x a true statement  :-DD

after the sensitivity tests above it's time to make a resolution test
...
one square = one sensor pixel of Flir One G1
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118913;image)
....

compare it with the lepton 3 image of motherboard (see 2 post above)
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=182434;image)



Thinking about it - this is likely the reason for the cropping. I would think it is a lot easier to MSX with a distortion free thermal image then try to "un-action cam" it then MSX it on the fly.
Hm, the crop factor is to large for a good faith.
Combined with the mystic pattern generator (same algorithm like in Flir1G1) is this a  noticeable degradation of the Lepton sensor.



Give that we have seen 30Hz Lepton's out there

Integration time (like shutter speed) and frame rate are different things. You can't make a sharp photo from a rotating fan with 1/30s.
see here for a sample: http://www.flir.co.uk/cs/display/?id=41923 (http://www.flir.co.uk/cs/display/?id=41923)
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=182436;image)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: encryptededdy on November 16, 2015, 08:39:07 pm
AFAIK integration time isn't really a thing with microbolometers. It's mainly for photon counting (cooled) sensors.

Remember, a microbolometer is an array of thermistors - so it doesn't matter how fast you read it out, you will always be limited by the thermal time constant of the microbolometer. This is why most 9Hz cameras read at 30Hz and either drop frame or merge frames - you can't have a slower "shutter speed / integration time" and get better noise performance. All you can do is merge frames and reduce readout noise.

This is also why to read higher temperatures microbolometers need a high temp / ND filter, whereas a cooled camera can just reduce integration time. The microbolometer's thermistors are always sensing, and we can't change that.

I'm not an expert here so perhaps someone like Fraser can confirm, but that's my basic understanding. I found it out when I was getting really confused why cameras were reading out at 60Hz and dropping frames, and why they can't just use a faster "Shutter speed" for higher temperatures.

edit; a quote from FLIR

Quote
The thermal time constant should not be mixed up with "integration time" which is a property of photon detectors.
A microbolometer detector is constantly open to incoming radiation, and responds to changes with the time constant.
A photon detector collects energy only during the integration time which is a parameter that is set by calibration.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 16, 2015, 08:46:01 pm
Thanks for clarification  :-+
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 22, 2015, 10:06:21 am
I understand your question but I neeed some more informations:
Which software do you use for reading the sensor images with "better resolution"?

In this thread we discuss about the low level frame transfer

Code: [Select]
{"type":"setOption","data":{"option":"autoFFC","value":true}}
{"type":"setOptionStatus","data":{"option":"autoFFC","value":-1}}

see for "What is FFC?":
http://www.flir.com/cvs/cores/knowledgebase/index.cfm?CFTREEITEMKEY=327&view=35774 (http://www.flir.com/cvs/cores/knowledgebase/index.cfm?CFTREEITEMKEY=327&view=35774)



Please post a photo from your lens hack!! :-+
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: cynfab on November 22, 2015, 02:43:29 pm
Using the FlirOne SDK, you can perform manual tuning, or enable/disable automatic tuning.

    performTuning()
Call this method if tuning is required or requested for high thermal accuracy

    setAutomaticTuning(boolean shouldAutomaticallyTune)
Disable or enable the automatic tuning feature of the device.

As well as querying the device tuning state.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Thermo Andy on November 30, 2015, 01:14:12 pm
My Flir to Cam Adapter and my Tablet With Tune Automatic.... :)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on November 30, 2015, 05:55:32 pm
Wow, a Flir2LAN adapter with a video camera :)
In Germany we say: "Dem Ingeniör ist nichts zu schwör" - "nothing is too hard for an engineer"
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Scottjd on January 07, 2016, 03:42:32 am
I now have the flir 1.0.9 firmware update pkg.
Lets see what that contains  :-DD

now i just need to find a way to depkg the file
I wonder what firmware 1.0.11 has now that it was released for the version 1 Flir One.

I just picked one up for cheap since version 1 is coming down in price and the V2 seem to be out of stock.
I don't have an iPhone 5/5S, but I did get an iPod Touch 6th Generation 32GB as part of the fluke tools promotion. They didn't have anything else in the promotion I wanted, so I was going to sell it.
But I realized the 6th gen iPod touch (current version) had the same processes as the iPhone 5! I think it's the 64 bit A8 with the same mobile M8 co-processor. So I figured I would save some money and buy the first gen Flir One. It works great.
A little heavy card stock slip of cardboard behind the iPod touch and it even fits in the case well.
Both seem to have the same rate of battery drain when doing Flir videos, so it's a nice match.

I also noticed the app shows a higher max read, and the hardware version is "L", not sure if that makes a difference. But the first version is supposed to have a cap at 218F I think and it showed greater then 248F like on the second version Flir one.

I updated the firmware to the latest, it came with 1.0.8. I had to do an update to 1.0.9 then again another update and it jumped to 1.0.11. On the 08 firmware I wasn't able to see any studs in my walls. After the 11 update I went around the house and noticed it was seeing the wall studs.

Here is the video, call it a thermal tour of my house  :)
https://youtu.be/17TCYtUv67Q (https://youtu.be/17TCYtUv67Q)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on January 07, 2016, 09:36:16 am
interesting, in November 2014 it doesn't work with an Ipod touch 5th Generation

the Ipod touch 5th generation fits great in the Flir One hardcase

but the flir one app doesn't run
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=118963;image)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Scottjd on January 07, 2016, 02:55:14 pm
interesting, in November 2014 it doesn't work with an Ipod touch 5th Generation

the Ipod touch 5th generation fits great in the Flir One hardcase

but the flir one app doesn't run

I know, I saw that post also. I took a chance figuring I can always mod the unit to use on my iPad. Theirs a few videos on YouTube showing it modded for the iPad and iPhone 6/6S or a extention cable on eBay. I don't know if the cable works, I didn't try it.

But my research also showed that the iPod touch 6 used the same processor as the iPhone 6, the A8 processor. Since it was designed to run with the 5/5S that has the A7 processor I thought it might work.
The iPod touch 5th gen is powered by the A5 processor, which I suspect the A5 doesn't have enough power to run the Flir one 1G. So the app is probably checking to see what processor the device is running.

Also this A5 in the fifth gen iPod touch is a 32 bit processor. The A7 was the first of the 64 bit processors from apple and it made a big jump in the performance.

I also think the iPod 5th had 512MG RAM and the 6th has 1GB of RAM.


Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Scottjd on January 10, 2016, 09:52:36 am
I also moticed the Flir One V1 says it only goes to 212F/100C but in several times if seen it display higher.
Maybe this is from the app/firmware Updates?

I also out a little video showing it is running with the iPod 6th gen. Some people suspected I sit jail broke an iPhone to say iPod so I figure a video proves all.
https://youtu.be/kVE4_fZcobc

The attached picture is of my 02 sensor in my exhaust, one for the few things in the house that I own and will heat up past 100C.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on January 23, 2016, 03:25:43 pm
I made a Flir One G2 run down test as answer to this seek post:
Drifting of 8 random pixels in 1 hour. On some pixels temperature readings go up and on some readings go down.
As you can see thermal pixels need at least 20min to output stable readings.

(https://www.eevblog.com/forum/testgear/yet-another-cheap-thermal-imager-incoming/?action=dlattach;attach=178710;image)

Explanation of values:
Dark red line is a pixel which starts with value 7537 and ends with 6818. That is 719 less.

with the source code from
https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg846130/#msg846130 (https://www.eevblog.com/forum/thermal-imaging/question-about-flir-one-for-android/msg846130/#msg846130)
I wrote all logs to file and generated a excel sheet.

This was a cold start of the Flir One and the log begins 1 minute after shutting on.
The battery reaches only 57 minutes, but it's more as expected:
Quote
The FLIR One houses its own battery source that can power the device for more than 45 minutes of continuous use.

The blue line is the average temperature of 2x2=4 center pixels. The measured temperature was a wall with a constant temperature over the hour.
The F1 G2 needs 10 minutes until stabilization.
The vertical green lines mark the FFC shutter movements.
(https://www.eevblog.com/forum/thermal-imaging/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=196059;image)
The shutter interval is constant 135 seconds after 5 minutes runtime.

After FFC the temperature needs 30 seconds to settle (2 sec down + 10 sec up + 20 seconds to stabilize)   >:(
a sample at 00:25:50
Code: [Select]
Time    Spot FFC
0:25:50 19,6
0:25:51 19,6 Shutter
0:25:52 19,3 Shutter
0:25:53 19,1
0:25:54 19,0
0:25:55 19,1
0:25:56 19,3
0:25:57 19,5
0:25:58 19,7
0:25:59 19,9
0:26:00 20,1
0:26:01 20,2
0:26:02 20,3
0:26:03 20,3
0:26:04 20,3
0:26:05 20,3
0:26:06 20,3
0:26:07 20,3
0:26:08 20,3
0:26:09 20,2
0:26:10 20,2
0:26:11 20,1
0:26:12 20,0
0:26:13 20,0
0:26:14 19,9
0:26:15 19,9
0:26:16 19,8
0:26:17 19,7
0:26:18 19,7
0:26:19 19,7
0:26:20 19,7
0:26:21 19,6
0:26:22 19,6
0:26:23 19,6
0:26:24 19,6
0:26:25 19,6
0:26:26 19,6
0:26:27 19,5
0:26:28 19,5
0:26:29 19,5
0:26:30 19,4
0:26:31 19,4
0:26:32 19,4
0:26:33 19,4
0:26:34 19,4
0:26:35 19,4
0:26:36 19,4
0:26:37 19,4
0:26:38 19,4
0:26:39 19,5
0:26:40 19,5
0:26:41 19,5
0:26:42 19,4
0:26:43 19,5
0:26:44 19,4
0:26:45 19,4
0:26:46 19,3
0:26:47 19,3
0:26:48 19,5
0:26:49 19,4
0:26:50 19,5
0:26:51 19,5
0:26:52 19,4
0:26:53 19,4
0:26:54 19,5
0:26:55 19,4
0:26:56 19,4
0:26:57 19,5
0:26:58 19,5
0:26:59 19,5
0:27:00 19,5
0:27:01 19,4
0:27:02 19,4
0:27:03 19,5
0:27:04 19,5
0:27:05 19,5
0:27:06 19,5
0:27:07 19,5
0:27:08 19,6
0:27:09 19,6
0:27:10 19,6
0:27:11 19,6
0:27:12 19,7
0:27:13 19,7
0:27:14 19,6
0:27:15 19,6
0:27:16 19,6
0:27:17 19,7
0:27:18 19,6
0:27:19 19,6
0:27:20 19,6
0:27:21 19,6
0:27:22 19,7
0:27:23 19,7
0:27:24 19,7
0:27:25 19,7
0:27:26 19,7
0:27:27 19,7
0:27:28 19,6
0:27:29 19,6
0:27:30 19,6
0:27:31 19,8
0:27:32 19,7
0:27:33 19,7
0:27:34 19,7
0:27:35 19,7
0:27:36 19,7
0:27:37 19,6
0:27:38 19,6
0:27:39 19,6
0:27:40 19,5
0:27:41 19,6
0:27:42 19,6
0:27:43 19,6
0:27:44 19,7
0:27:45 19,7
0:27:46 19,6
0:27:47 19,6
0:27:48 19,6
0:27:49 19,6
0:27:50 19,6
0:27:51 19,6
0:27:52 19,6
0:27:53 19,6
0:27:54 19,6
0:27:55 19,7
0:27:56 19,7
0:27:57 19,6
0:27:58 19,7
0:27:59 19,6
0:28:00 19,6
0:28:01 19,7
0:28:02 19,7
0:28:03 19,7
0:28:04 19,7
0:28:05 19,7
0:28:06 19,7
0:28:07 19,6 Shutter
0:28:08 19,4 Shutter
0:28:09 19,0
0:28:10 18,9

the corresponding battery diagram: 
(https://www.eevblog.com/forum/thermal-imaging/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=196061;image)

PS: all described effects (shutter interval, temperature drift) you also get with the Flir One Ap from google play store
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: sharpharp on February 12, 2016, 11:09:05 am
Hi,

If I buy a new Flir e4, what is the current firmware they come with?

Can I do the downgrade to run the hack?

I read that the resolution can be upped to an e8, but what about the thermal sensitivity?
On the e4 it is <0.15, on the E6 onwards its <0.06 -Will the hack also unlock the thermal sensitivity?

Is there any other reason why to buy an E6 or E8 which can't be achieved by this thread?

Also, a main dealer in the Uk told me that the E4s come with the latest firmware which cannot be modified, is this correct?

Thanks

Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: -jeffB on February 12, 2016, 09:25:02 pm
You'll have better luck if you ask in the E4 discussion thread (https://www.eevblog.com/forum/thermal-imaging/flir-e4-thermal-imaging-camera-teardown/). Better yet, spend some time browsing the last month or two of activity on that thread; it should answer your question about being able to downgrade and do the hack (yes, you can).
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: mangler on March 09, 2016, 03:43:49 am
So,

It seems pretty obvious the Flir One G2 has a very good sensor, somewhat crippled in firmware, but not too bad. The battery seems to be a big issue, not very long lasting, or user replaceable. Makes the whole thing disposable, which I am guessing is the point for Flir.

My question:

With all the 3d printers out there, has anyone designed a better housing for this nice sensor, with appropriate replaceable battery? I am thinking something along the line of the therm-app pistol grip design, with a cell phone battery?
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: in.Vitro on March 10, 2016, 10:16:11 am
....

another question is: has anyone stick a better lens in front of the sensor to get much better results? :D
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on March 10, 2016, 11:15:10 am
the lepton 3 lens in F1G2 is good enough for the resolution 160x120 but has some strong distortions

I haven't yet repeated my heating wire test with a F1G2, but the screen of an uncropped SDK app looks good
see https://www.eevblog.com/forum/thermal-imaging/flir-one-thermal-imaging-camera-teardown-and-hacks/msg551882/#msg551882 (https://www.eevblog.com/forum/thermal-imaging/flir-one-thermal-imaging-camera-teardown-and-hacks/msg551882/#msg551882)

with the modified SDK App I shot a full size Lepton image (without image postprocessing) 160x120
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=182417;image)

and the (rotated) center of the image with marked pixels
(https://www.eevblog.com/forum/testgear/flir-one-thermal-imaging-camera-teardown-and-hacks/?action=dlattach;attach=182434;image)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: frenky on March 10, 2016, 11:18:16 am
I was thinking to replace original lens (for the Seek) with this one:
http://www.aliexpress.com/store/group/GaAs-Focusing-Lens/1513187_259497074.html (http://www.aliexpress.com/store/group/GaAs-Focusing-Lens/1513187_259497074.html)

But I'm not sure what is original focal length of lens in F1 or Seek...
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Bill W on March 11, 2016, 12:23:24 am
That lens is a 20mm diameter 50mm focal length, so F/2.5 assuming the A/R coatings are over the whole 8-14um band and not just for the laser wavelength

A flir1 is 46° on a 160 pixel at 17um.... so lens is around 3mm focal length
Seek is 20° on a 206 pixel at 17um.... so 10mm focal length

A 50mm FL lens will therefore be a lot narrower field of view but also a bit less sensitive (x2 or so).  Forget temperature readings.
Flir1 comes out at 3° for instance.

Bill

www.fire-tics.co.uk (http://www.fire-tics.co.uk)
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Ben321 on March 31, 2016, 01:58:28 pm
I now have the flir 1.0.9 firmware update pkg.
Lets see what that contains  :-DD

now i just need to find a way to depkg the file

Is 1.0.9 an official update made by FLIR? If so, where on their website can I download it?
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on March 31, 2016, 11:51:25 pm
it's for Flir One Gen 1 for Iphone
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Ben321 on April 01, 2016, 01:34:30 am
it's for Flir One Gen 1 for Iphone

I heard that there was some way to make the FLIR One allow charging of the phone through it, so after the FLIR One got done charging, it would charge the phone. Is there a way to do this with FLIR One for Android with just firmware hack? Or would it require a hardware mod as well?
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: tomas123 on April 01, 2016, 07:59:51 am
Yes, after a FW update the F1G1 charged the Iphone after full charging his own batterry.
But the Iphone has not a USB connector.

We know. that the Android Phone work with a plugged in F1G2 as USB host.
And you can't load a USB host by following the USB specification.

But some USB host controllers in Android phones ignores the specification.
Therefore it's sometimes possible with this steps:
- use a non specification Y-USB-cable
- load the phone over USB (USB controller goes in slave mode) over the first cable
- now plug in the F1G2 in the second cable
- the USB controller goes in host mode, but the charge controller is furthermore connected to the 5V-USB power

this is completely outside the USB specification
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Uho on June 22, 2016, 03:52:37 pm
....

another question is: has anyone stick a better lens in front of the sensor to get much better results? :D
I tried to change the optics . An example can be found here. In T-10 using the Lepton sensor. https://youtu.be/gUOvAg0dGxY
Or additional optics.
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Uho on June 22, 2016, 03:58:03 pm
View from the additional optics
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: Uho on June 24, 2016, 08:11:33 pm
Flir One V2. Telephoto and macro lenses. Using
https://youtu.be/OzZFwJr9vQw
Title: Re: Flir One Thermal imaging camera teardown and hacks
Post by: allstone on October 03, 2016, 12:39:53 pm
Yes, after a FW update the F1G1 charged the Iphone after full charging his own batterry.
But the Iphone has not a USB connector.

We know. that the Android Phone work with a plugged in F1G2 as USB host.
And you can't load a USB host by following the USB specification.

But some USB host controllers in Android phones ignores the specification.
Therefore it's sometimes possible with this steps:
- use a non specification Y-USB-cable
- load the phone over USB (USB controller goes in slave mode) over the first cable
- now plug in the F1G2 in the second cable
- the USB controller goes in host mode, but the charge controller is furthermore connected to the 5V-USB power

this is completely outside the USB specification

Hm, does not it imposes and shares 5V-USB power from phone to Flir One? I mean it can hurt the camera if its blocking 5V deliberately when connected directly.