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)
with the images from simulator, there you can excat show the crop factor
I selected frame 50 from sampleframes.zip inside the SDK app
overlay from Lepton 160x120 with the Flir Radiometric JPG file
(https://www.eevblog.com/forum/testgear/actual-resolution-of-flir-one-v2/?action=dlattach;attach=181178;image)
It however doesn't seem to save to the Gallery on my Moto E and crashes when I try to save to the Flir Tools folder.The Gallery is only a database.
I uploaded the self compiled SDK app for Android.
http://www.file-upload.net/download-11032220/FlirOneSDK.apk.html (http://www.file-upload.net/download-11032220/FlirOneSDK.apk.html)
Currently in conjunction with this thermal app, I've also created my own PC application, using VB6, that can play these BVF video files.Why create a new "Ben's Video Format", if you can use Flir owns Raw Video format *.seq?
In the next big update I will implement some picture enhancement algorithms like super resolution...
Hi Ben321,
great news. :-+
some notes:QuoteCurrently in conjunction with this thermal app, I've also created my own PC application, using VB6, that can play these BVF video files.Why create a new "Ben's Video Format", if you can use Flir owns Raw Video format *.seq?
The *.seq files are only stitched *.fff frames.
As you posted here
https://www.eevblog.com/forum/thermal-imaging/flir-fff-viewer-version-1-4/ (https://www.eevblog.com/forum/thermal-imaging/flir-fff-viewer-version-1-4/)
you are an expert of the Flir *.fff format.
The *.fff frames had also only a minor file overhead and you can use it with uncompressed 16-Bit-RAW and also with compressed 16 bit PNG datas.
Encryptededdy posted here a nice video sample and a tutorial how to convert Opgal Therm App raw datas to a Flir *.seq video.
https://www.eevblog.com/forum/thermal-imaging/opgal-therm-app-first-smartphone-thermal-imager-to-ship/msg764924/#msg764924 (https://www.eevblog.com/forum/thermal-imaging/opgal-therm-app-first-smartphone-thermal-imager-to-ship/msg764924/#msg764924)
In this link you see, that you can open the *.seq video with the free PC Software Flir Tools and make some nice measurements.
Please post some image samples.
FLIR Tools will read .seq files.
The SEQ files doesn't need any kind of special header in addition to the standard FFF header except for 2 bytes for defining the frame rate.
You can literally binary copy a sequence of FFF files into a single SEQ file and it will work just fine.
It will work without the special FFF header.
If you take a look at my post here that tomas linked: https://www.eevblog.com/forum/thermal-imaging/opgal-therm-app-first-smartphone-thermal-imager-to-ship/msg764924/#msg764924 (https://www.eevblog.com/forum/thermal-imaging/opgal-therm-app-first-smartphone-thermal-imager-to-ship/msg764924/#msg764924)
You can see it's 8 bytes in front of FocusDistance in the FFF file.
It's 8 bytes in front of where "FocusDistance" is stored in the fff file. The precise location may differ depending on the camera (I assume newer cameras have more metadata fields for MSX calibration etc.) but in my example I located where FocusDistance was using exiftool
(http://puu.sh/kpu4m/e215ac6796.png)
and then found where the framerate was stored
(http://puu.sh/kptI8/2f9c791340.png)
I'm pretty sure that the exact offset will always be in the same place in the FFF provided the images are coming from the same camera.
I markedCode: [Select]because I rechecked some times ago in eevblog forum, that the frame rate is 8 Byte behind FocusDistance.0x464 * unsigned short imageFreq; //!< Image frequency, defines the nominal
//! image frequency in Hz
Georg request me for assistance for his Thermal Camera App and this the first proof of concept for Super Resolution.
Georg still has no F1 G2 camera :-\
For this proof of concept we wrote a small python script, optimized for low CPU performance of Android devices (or PcDuino3 ;) ).
It's a classical multi-frame super-resolution with
- registration (find the shifts)
- average (stacking)
- sharpen
For the registration I tested several methods of motion analysis with opencv library.
http://docs.opencv.org/2.4/modules/video/doc/motion_analysis_and_object_tracking.html (http://docs.opencv.org/2.4/modules/video/doc/motion_analysis_and_object_tracking.html)
estimateRigidTransform make a great job (estimate rotations, translations and scaling)
A problem for stacking of images with large shifts or rotations is the great distortion of the F1 G2 lens.
Therefore I reduced the SR processing in the video above for scenes with minor shifts
(less than 4 pixel/frame => 36 pixel/second, with 56° hor. FOV -> 36/160*56 = 12° per second movement)
... and this works fine
who have the FLIR One for iOS? I'm dying for somebody to create an app like that for my version of the F1 G2
who have the FLIR One for iOS? I'm dying for somebody to create an app like that for my version of the F1 G2
Oh yes, PLEASE DO THAT! :(
Scene temperature range: -4°F to 248°F (-20° to 120°C)
Intrascene Range Minimum and maximum scene temperature 0 K to >400 K (126°C)
http://developer.flir.com/forums/topic/samsung-s7-slow-and-glitchy-stock-app-why-also-a-kind-of-work-around/ (http://developer.flir.com/forums/topic/samsung-s7-slow-and-glitchy-stock-app-why-also-a-kind-of-work-around/)
...and of course Thomas is there :)
(number of detected edges, max. offset of following images, count of stacked images, exponential moving average etc.).
Unfortunately the SR don't improve the thermal sensitivity, but it works great on fine structures.
There are some SR parameters inside the algorithm, which are currently fixed values to simplify the use of the app (number of detected edges, max. offset of following images, count of stacked images, exponential moving average etc.).
I would be glad about comments on the SR ...
@Tomas123
Not exactly.... The microbolometer is not actively heated. The microbolometer generates its own internal heat as a result of the on die electronics (ROIC etc) this self generated heat normally raises the die temperature to approximately 30 Degrees C. I say approximately as there is no control over the temperature. It just settles at an equilibrium point but this could be 28C or 32C, it cannot be held stable.
The offset table was centred on 30degrees C as that is the natural operating temperature of the die at normal ambient temperatures of around 20 Degrees C.
The reason for the tilde symbol next to the temperature reading after start-up is that the microbolometer die will be at ambient and needs time for its die to rise in temperature to the equilibrium point of around 30C. Until it hits that equilibrium the readings are not considered accurate as the offset table is not able to compensate.
All of the above comes from direct discussions with FLIR ;)
With regard to the power down sequence on the camera. The camera drops back to a low power standby mode that facilitates a fast start. After a period of time the camera drops back to the full sleep mode that consumes minimal power. It takes longer to start from sleep as it is a cold boot rather than a warm boot from standby. It's very much like modern laptop behaviour.
Aurora
Thanks for adding s60 support.
The beta version doesn't seem to be working on my device though
It will either get stuck asking for the flir one to be connected or showing a all black image and crashing after a few seconds.
Also i can hear a click sometimes, not sure if it is the thermal camera shutter or the focus on the normal camera.
I hope i managed to install the correct version, in the settings it says "2.0.0 - 13 | release"
Only sometimes it shows the report button after crash, i tried a few times until it showed the button box and sent a report.I saw the error. The problem is that it's at a position I cannot get any useful error informations from, except that the error comes from the Flir SDK.
I installed and played around a bit with the example app, it seems to work fine.QuoteOnly sometimes it shows the report button after crash, i tried a few times until it showed the button box and sent a report.I saw the error. The problem is that it's at a position I cannot get any useful error informations from, except that the error comes from the Flir SDK.
So I compiled the Flir example application from the SDK. The google drive link contains the apk, you should activate in the settings that you can install apps from unknown sources.
https://drive.google.com/file/d/0B1xrpkRXfbF0VmpCNXktMHBwQ2s/view?usp=sharing (https://drive.google.com/file/d/0B1xrpkRXfbF0VmpCNXktMHBwQ2s/view?usp=sharing)
And here is how you can activate unknown sources:
http://www.applivery.com/blog/android-unknown-sources/ (http://www.applivery.com/blog/android-unknown-sources/)
If the example app runs I can compare it to my own code and find the error.
That looks really good for 80x60 resolution... (Cat S60 right?)
thanks for shots.
(I think, the images are all post processed with Flir Tools for Android (the colored) and Flir Tools for PC (the gray scale image))
The Flir Software for the camera Flir One cropped the thermal sensor area to about 70%.
Do you see a difference in FOV (field of view) of the thermal live screens between the S60 original app (MyFLIR for Cat S60) and Georgs app "Thermal Camera"??
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)
...
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)
...
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
Flir One app also does not work. What does this mean?:)
The beta version does not work. Unfortunately now I can not regain the old version free app.
VisualJPEGImage
Visual JPEG image data
VisualYCbCr888Image
Visual YCbCr image data
VisibleAlignedRGBA8888Image
Visible image data aligned with the thermal image
VisibleUnalignedYUV888Image
Visible unaligned image from the camera
VisualJPEGImage
Deprecated.
VisualYCbCr888Image
Deprecated.
On the other hand, in my setup, it would be nice to rotate all saved images and not only the pure image output. It would be easier to edit the thermal image in Flir Tools Android or PC.Unfortunately the Flir SDK contains no feature for rotating the thermal radiometric jpgs. Therefore Georg can't fix this "bug".
SDK:
save(java.io.File file, RenderedImage.Palette previewPalette, RenderedImage.ImageType previewImageType)
Saves a thermal JPEG file, which has a rendered visual preview and embedded thermal data.
lastSavedPath = path+ "/" + fileName;
renderedImage.getFrame().save(new File(lastSavedPath), RenderedImage.Palette.Iron, RenderedImage.ImageType.BlendedMSXRGBA8888Image);
Unfortunately the Flir SDK contains no feature for rotating the thermal radiometric jpgs. Therefore Georg can't fix this "bug".
Furthermore we can't rotate this special jpgs with a photo editor (post processing) :-\
Only Flir Tools can rotate this images :-+
FLIR very carefully crafted the FLIR One Gen2 and its associated software so as to not compete with other cameras in their range.Indeed, this I already guessed ;).
Meetings were held to decide which features were to be included in the offering, and which would not. The inability to switch off the MSX was a direct result of such meetings.This is indeed a logical marketing move, despite me disliking many stupid marketing moves... I respect that they have done this without getting away all the usefulness of the product, because for my use it's a huge improvement over "virtually nothing", and paying two or four times the price would not really have been an option for the time being (getting a decent lab power supply would have been far higher in my list).
FLIR designed the FLIR One G2 camera as an entry level consumer product and have no intention of providing enhancements or options that would make it a bargain-priced competitor to their more expensive cameras. Just good marketing. They never intended the FLIR One G2 to be a 'serious' thermal camera for use in industry or thermography. It is basically equivalent to a really cheap visible light digital camera used for party photos ;D
The Radiometric LEPTON 3 has only just been officially released. FLIR will likely wish to develop the LEPTON 3 market further by designing it into all manner of equipments. We may even see development in the automotive safety market following in the footsteps of the AUTOLIV/FLIR partnership.I wasn't aware of this automotive target, this is extremely interesting I will follow those developments. On the other hand I also purchased the FLIR One G2 to see what can be done with a lepton sensor in case I decided that it can be useful for a totally different purpose (using the Lepton only available part).
A replacement for the FLIR One G2 would need to offer something new to the market as other cameras are now available to compete against it. I know that FLIR wish to increase the LEPTON series resolution further.Well, in fact I wasn't exactly speaking in the vacuum... Inside the box of the Flir One G2 there was a nice message saying, "if you have any feedback write mail to someone in Flir (name.lastname1 [at] flir dot com) .... that I did 8). I detailed seven points : moving spot point, thermal scale with °C, rubber allowing recharge, rubber vs spacer compatibility, wire micro USB extender, MSX on/off, better compatibility list (including app on other app store market such as a****).
[...] As this product has been on the market for nearly 12-months, we have heard from customers with many of the same comments. We have been busy responding to these insightful suggestions in our next generation of products. We will be introducing 2-new models of FLIR ONE next year. You’ll be happy to hear that virtually every one of the things on your list has been addressed and incorporated. [...]
HiI had the same issue - I've been trying to get it to crash with Catlog installed so I could pass on a logcat so it can be sorted. It's certainly not just a handful of users.
Got today my flir one g2 and this is very good app compare to the flir one app, I bought the + version.
Is there any way to improve / control the focus ?
BTW the application is crashing a LOT and stuck a LOT also, from some reason most in rotate state of the phone.
I am with LG G3.
Thanks
HiI had the same issue - I've been trying to get it to crash with Catlog installed so I could pass on a logcat so it can be sorted. It's certainly not just a handful of users.
Got today my flir one g2 and this is very good app compare to the flir one app, I bought the + version.
Is there any way to improve / control the focus ?
BTW the application is crashing a LOT and stuck a LOT also, from some reason most in rotate state of the phone.
I am with LG G3.
Thanks
The crashing while connecting with the Flir One it's a pain (particularly while switching between apps).
Georg can't improve this stability, because the complete handling of the Flir One and the USB handshake it's part of the Flir SDK.
This is a closed and precompiled library (armeabi-v7a/libsystemimage.so).
There are some Android phones, which works great and some devices are more unstable :(
The crashing while connecting with the Flir One it's a pain (particularly while switching between apps).
Georg can't improve this stability, because the complete handling of the Flir One and the USB handshake it's part of the Flir SDK.
This is a closed and precompiled library (armeabi-v7a/libsystemimage.so).
There are some Android phones, which works great and some devices are more unstable :(
1.2.8
CHANGE LOG
Fixes potential unexpected IllegalArgumentException when calling Device.stopDiscovery if the Context passed to startDiscovery had already completes its lifecycle.
Improves performance by reducing memory allocation and garbage collection for USB communication.
good news, there is a Flir SDK updateQuote1.2.8
CHANGE LOG
Fixes potential unexpected IllegalArgumentException when calling Device.stopDiscovery if the Context passed to startDiscovery had already completes its lifecycle.
Improves performance by reducing memory allocation and garbage collection for USB communication.
George told me, that the communication of the Thermal Camera+ (beta with SDK 1.2.8 ) with a Samsung Note USB is now "rock stable"...
Works great with F1G2 on Nexus 5. Unfortunately, doesn't work on Nexus 7 (FLIR API limitation?).
Both the official FLIR app and Georg's won't install from the Play store saying that it's not supported. Yes, it's the 2012 Nexus 7. Now that I think about it, it probably wants a rear camera for the live image blending. I'd rather have the option to use it with only the thermal image.
Both the official FLIR app and Georg's won't install from the Play store saying that it's not supported. Yes, it's the 2012 Nexus 7. Now that I think about it, it probably wants a rear camera for the live image blending. I'd rather have the option to use it with only the thermal image.I don't think it required Rear Camera, it's not used (except when available for white led lighting, but I don't think it's "a requirement/condition").
Do you have any Android device that it will install on? You can install it to another device and extract the APK to install it on the 2012 N7.
One other possibility, does the FLIR require USB OTG? If so, it won't work on the 2012 N7 at all because it does not support USB OTG, while the 2013 N7 does, so that would explain why it works there.
It works fine on the Nexus 5. So, I'm fine for now. Thanks for the additional N7 info.
The indeterminate OTG support is likely the reason the Play store doesn't risk installing it to the N7 2012. At some point I'll root the N7 to update it to Marshmallow. Then, I can try loading the APK, but it's not urgent.
Next is to buy the plus version and check out the additional features.
It works fine on the Nexus 5. So, I'm fine for now. Thanks for the additional N7 info.
The indeterminate OTG support is likely the reason the Play store doesn't risk installing it to the N7 2012. At some point I'll root the N7 to update it to Marshmallow. Then, I can try loading the APK, but it's not urgent.
Next is to buy the plus version and check out the additional features.
It works fine on the Nexus 5. So, I'm fine for now. Thanks for the additional N7 info.
The indeterminate OTG support is likely the reason the Play store doesn't risk installing it to the N7 2012. At some point I'll root the N7 to update it to Marshmallow. Then, I can try loading the APK, but it's not urgent.
Next is to buy the plus version and check out the additional features.
Thanks for the info about AirDroid. I'll give that a try. I've used a USB drive on the N7 before via OTG cable, so there's a good chance the cam will work.Indeed, if OTG/USB Drive works, it's likely it will work too.
Works great with F1G2 on Nexus 5. Unfortunately, doesn't work on Nexus 7 (FLIR API limitation?).
Does the original FLIR ONE app work for you? The old Nexus 7 (2012) could maybe miss some important hardware features, that FLIR needs (as you mentioned), because it seems to work perfectly well on the newer Nexus 7 (2013).