Flir One Android App with full Lepton sensor resolution 160x120 - Page 1
Forum section: electronics / general

author: tomas123
author_rank: Frequent Contributor
timestamp: April 03, 2016, 05:07:31 pm
content: Georg wrote the Flir One app "Thermal Camera" for Android, which uses the full resolution of the Lepton 3 sensor (160x120).The Flir One App from Flir crops all images to a resolution of about 120x90 pixels (for MSX overlay and removing the distortion)https://play.google.com/store/apps/details?id=georg.com.flironetest_01manual:http://thermcam.binaryblogger.de/manualA/Please test the app and write your questions here. I'm in contact with Georg.He would be pleased about a positiv feedback in play store about his first appI posted here images for comparing the quality and FOV (field of view) between the Flir One App and real Lepton 3 Sensor resolution:Quote from: tomas123 on November 16, 2015, 11:58:16 amin this image I colored the crop range from the Flir One App:Quote from: tomas123 on November 10, 2015, 03:05:18 pm

author: cynfab
author_rank: Regular Contributor
timestamp: April 03, 2016, 06:22:17 pm
content: tomas123:Very nice, congrats to Georg. emissivity is adjustable like it should have been on the Flir One App. Nicw selection of palettes.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.WIP to be sure but a great start....ken...

author: Fraser
author_rank: Super Contributor
timestamp: April 03, 2016, 07:47:49 pm
content: Great to see an alternative app for the Android version.My thanks to the author for his efforts.Fraser

author: gansgar
author_rank: Contributor
timestamp: April 03, 2016, 08:31:37 pm
content: Developer here.cynfab:When your app crashes, do you a error message, where you have a report button?Looks like this:If its there please press report, I'll than see the error log in my developer account. If it's not there, I can't help you. It's most likely a C typical crash that is coming from the Flir library. But don't give up hope. I'm right now trying of creating my own image saving routine. Tomas123 helped me there a lot, by translating his raw-image-data-into-jpg-injection from PHP to Java.

author: tomas123
author_rank: Frequent Contributor
timestamp: April 03, 2016, 08:52:44 pm
content: Quote from: cynfab on April 03, 2016, 06:22:17 pmThe Gallery is only a database.You say, the app doesn't crash if you save to the regular folder.Thermal Camera App saves the images to the /DCIM folder of your internal storage.Please check it with a file browser or navigate to this folder with Flir Tools.If you don't found the images /DCIM/ThermalCamera*.jpg thencan you please install this original SDK app from my link below and check it again?Please note, that this SDK app save the images to the folder /pictures (use mode Thermal Image).Quote from: tomas123 on November 10, 2015, 08:45:22 amP.S.: Do you have installed the Flir Tools?

author: cynfab
author_rank: Regular Contributor
timestamp: April 03, 2016, 09:54:12 pm
content: tomas123,You are right of course, I just ran the Gallery app and didn't see any images. they are just where you stated ;>Pgansgar,I pushed the report button and added the system logs. Hope you figure it out.THANKS FOR THE GREAT APP!!!...ken...

author: Fraser
author_rank: Super Contributor
timestamp: April 03, 2016, 10:27:30 pm
content: I shall load this on to my Motorola Moto G Mk1 and Moto E Mk2 tomorrow.Thanks againFraser

author: tomas123
author_rank: Frequent Contributor
timestamp: April 03, 2016, 10:36:41 pm
content: @cynfabMy pleasure!Can you post a nice sample as screenshot of the "Flir One App" and "Georgs Thermal Camera" to show the difference?I'm yet the only poster who darns the crop factor, "noise filter" and forced MSX of the Flir One App.Did you see, that George used your great Iron/Gray Palette?PS: You can change the gamma of the live image with a vertical slider (touch on the image).

author: Fraser
author_rank: Super Contributor
timestamp: April 03, 2016, 10:58:12 pm
content: Ok I loaded up the app on my Moto G Mk1 and Moto E Mk2Immediate impressions are very good. Most notable is a significant improvement in the frame rate on both of the phones. Much better than the FLIR app that is very laggy and has a rotten frame rate.Only a quick test but what I saw I very much like. I like the option to enable and disable the visible light camera image. So pleased to now have the capability to image without MSX and its associated noise at low light levels.Nice workFraser

author: gansgar
author_rank: Contributor
timestamp: April 04, 2016, 12:12:22 am
content: Thank you. And that it works better on your phone than in the Flir One App is not only good news, but also impressive. They do all the fancy calculations in binary code and I do them in Java.

author: Ben321
author_rank: Frequent Contributor
timestamp: April 04, 2016, 12:27:54 am
content: Cool, but it has a major problem, my usage of it depends on NOT having visible light MSX mixed in with the image. I'd love to have an app that did just one very simple task, saved the raw 14bpp 160x120 image into a 16bit grayscale TIF image file at the tap of a button. It would be a very simple app, display an auto-levels adjusted (scaled so the highest value was white, and the lowest value was black) image to the screen so you can see what you are looking at, but save the raw image (without any scaling applied, just raw 14 bit values put into the 16 bit pixels, with the remaining 2 bits being 0 for padding to make the values be 16bit aligned) to an image file that supports the high bitdepth, namely a TIF file.Of course not many image editing programs support 16bit images, but Photoshop does, and it will be my primary software for viewing these images.

author: Fraser
author_rank: Super Contributor
timestamp: April 04, 2016, 12:34:00 am
content: The FLIR app was written and tuned to perform as well as the iPhone version when using the F1G2 Android on a Samsung S5. Anything less powerful will suffer a lower frame rate.My quick and dirty test was to pan the camera let and right whilst watching the image. On the FLIR app the image became a real mess. Your app kept up with the panning well and did not make an ugly mess of the images produced. Most impressive.There has been previous comment from people on this forum who understand coding (I do not) that the coding in the FLIR app leaves much to be desired in terms of efficiency. I believe someone reverse engineered the original FLIR ONE iOS App and found it severily wanting in the coding quality area.FLIR may not have the most experienced coders on the FLIR ONE iOS/Android project. It is a deviation from the usual Linux and WindowsCE used on their other cameras. The new consumer camera division may not have the knowledge of the original Industrial and Pro-sumer divisions.Fraser

author: Fraser
author_rank: Super Contributor
timestamp: April 04, 2016, 12:45:12 am
content: @Ben321,I may be missing something here but I did not see MSX active on my images whilst using this app. It does not meet your simple 16 Bit TIFF requirement, but at least there is no MSX making life difficult when using a close up lens for PCB workFLIR consciously enforced MSX image overlaying on the image and have no intention of providing an off button. This app solves that niggle for me.Fraser

author: Redshift1340
author_rank: Regular Contributor
timestamp: April 04, 2016, 01:37:50 am
content: I've been waiting a long time for someone to create an app that allows use of the full F1G2 resolution of 160x120. I unfortunately have the iOS version though. Is anyone working on compiling the same type of app for iOS? I can't do it myself using the SDK because I have no programming experience and don't have an apple computer to compile it even if I could. I thought for sure I'd see it in the AppStore by now, but so far, nothing.

author: gansgar
author_rank: Contributor
timestamp: April 04, 2016, 01:59:55 am
content: You can switch between my renderer and the original Flir SDK one (see attachment). The app has basically behind every thing in the layout an action. I will build a small manual in the future.Also: I think about saving the image in also in an RAW form. An approach is here:http://developer.flir.com/forums/topic/samsung-s7-slow-and-glitchy-stock-app-why-also-a-kind-of-work-around/But I wanted to bring the app into public with some features and extend on it with updates, before you go into the opposite direction as your audience wants it to be.

author: Redshift1340
author_rank: Regular Contributor
timestamp: April 04, 2016, 02:26:32 am
content: Has anyone at least compiled the FLIROneSDK sample app for iOS? I would love to at least be able to use that so I can use the ThermalLinearFlux14BitImage option. If anyone has, can You please post it to the AppStore?

author: Fraser
author_rank: Super Contributor
timestamp: April 04, 2016, 11:44:21 am
content: Wow, major revelation for me....... This app works on my Intel Atom based Android HUDL 2 tablet ! Excellent imaging on a decent sized screen.The FLIR app does not work with Atom based Android platforms and FLIR have stated that they do not intend to make their app compatible with The Atom processor.This is a MAJOR improvement in the usability of the F1G2 for me. Presumably this is due to the app being written in JavaI shall create a new post highlighting this excellent Android Atom platform solution so others see it.Fraser

author: Fraser
author_rank: Super Contributor
timestamp: April 04, 2016, 11:58:57 am
content: I highlighted the Atom compatibility here.......https://www.eevblog.com/forum/thermal-imaging/flir-one-gen-2-android-app-that-works-with-intel-atom-based-platforms/Fraser

author: gansgar
author_rank: Contributor
timestamp: April 04, 2016, 12:17:33 pm
content: That is lucky.Android itself can actually emulate other architectures. So can armv7 binarycode run on x86 Androids. But it seems like, that the Flir SDK Code is trash. I had yesterday a bug report from an Iconia Tab 8 (intel processors), which couldn't run the Flir SDK even when it theoretical could. I know that, because the Play Store is automatically not showing the app to incompatible devices.But it seems like, that some Intels can actually run it.

author: Fraser
author_rank: Super Contributor
timestamp: April 04, 2016, 12:29:57 pm
content: Here are some 'quick and dirty' pictures of my HUDL2 running your App and producing a very nice image.I am using the F1G2 on an OTG Micro USB extension cable so can use the camera remote from the tablet. this is great for using the camera in tight spaces like in a cars engine compartmentFraser

author: Spike101
author_rank: Contributor
timestamp: April 04, 2016, 04:47:23 pm
content: Nice app, thanks! much better than the original. It's my new auto-start app when the cam is connected

author: gansgar
author_rank: Contributor
timestamp: April 04, 2016, 10:20:29 pm
content: Small little update to fix some bugs. I also added a small dialog box, when your device architecture doesn't support the app and I changed the way the min / max overlay (long press on the min / max temperature) works. They're now influencing the range too.

author: mangler
author_rank: Newbie
timestamp: April 05, 2016, 02:14:04 am
content: I just downloaded the app. Looks like great improvements vs the Flir app. When I get the camera I am going straight with it. Good work!Weird thing, I used the link in the thread to download, but without the link it's quite hard to find the app on the playstore. I used "thermal camera" as keywords and it appears on the 4th line! Behind terrible apps, some without "the words thermal or camera in the title! Did I just forget to toggle "relevance" in my playstore results?

author: mangler
author_rank: Newbie
timestamp: April 07, 2016, 03:01:52 am
content: Finally got the Flir One G2, and tried this app. It's pretty awesome. Love the lockable scale, the battery meter with an actual percentage, the msx toggle. I did get the the app to freeze a few times when going to the settings menu and back (stops recognizing the camera), but it's nothing a camera and app restart could not fix.Seems the only thing the Flir app has that I can't find on this app is the msx parallax compensation at close range. I am guessing the "object distance" might be of assistance, but the slider on the Flir version is quite slick, as you can just glide until both the thermal and visible outline coincide.Also, what is "Reflected Apparent Temperature"?

author: gansgar
author_rank: Contributor
timestamp: April 07, 2016, 04:06:10 am
content: I want to implement the MSX slider later. I found that the gamma regulation adds more function to the common gesture of sliding up & down) than MSX can do it. But I will implement it in next update or so.The "Reflected Apparent Temperature" is essentially a fancy name for the ambient temperature. But please don't type in commas so far. It will read the number without the decimal point, which results into buggy behavior: example275.15K -> 27515.0KObject distance has no influence YET. What it does theoretical: is correcting the temperature from the influence of the air. The bigger the distance between the camera and the object, as bigger gets the influence and the need for correction.In the next big update I will implement some picture enhancement algorithms like super resolution or exponential smoothing and properly also a control over the MSX overlapping.As an attachment you can see, what difference exponential smoothing can have on a still image with small temperature range!...00.jpg is without...01.jpg is with exponential smoothing.

author: gansgar
author_rank: Contributor
timestamp: April 07, 2016, 04:11:22 am
content: Lucky the app is only a "few" lines behind the original Flir One app with the keywords "thermal camera" or "Flir One". (at least in my version of the playstore results [I use a different Google account for the development])I will hope to improve my listing by tweaking my description a bit and getting a bit more downloads (I'm still pretty young with my app). So let's see what happens.

author: Fraser
author_rank: Super Contributor
timestamp: April 07, 2016, 04:17:33 am
content: Great work gansgar.Super resolution mode .... Whoa, that is better than can be achieved with any of my professional Cameras. I cannot wait to see that mode added.The F1G2 has suddenly become far more interesting now that there is some decent software for it that continues to develop.I am still well chuffed about this software running so well on my Atom based tablet. It runs really smoothly and no issue with it yet.On my Moto G Mk1 and Moto E Mk2 I have had the application lose communications with the camera and a complete restart of the app and camera is needed to correct the situation.Keep up the great work. It is very much appreciated and if you decide to charge for the fully fledged application, I will certainly buy it.Fraser

author: Davecltl
author_rank: Newbie
timestamp: April 12, 2016, 11:13:19 pm
content: Just tried this app on my s5 and it works great. I didn't even realize the flir app was reducing the resolution. Will be using and testing this app some more!

author: Fraser
author_rank: Super Contributor
timestamp: April 12, 2016, 11:27:04 pm
content: I have been using this app for a few days now and still love it's improvements over the OEM I mates. For me the ability to switch off MSX has been key. The uncropped image is a bonus feature.The fact that this app runs on my Intel Atom based tablet also made this an absolute winner in my eyes. FLIR need to learn from this app and produce a new generation of their offering. Come on FLIR, offer full resolution, MSX off mode and write it in JAVA !Thanks again for making this great app available to us. Now let's hope someone equally clever can come up with a Windows Program so the camera can be used on a PC as well. That would increase its versatility even more.Fraser

author: gansgar
author_rank: Contributor
timestamp: April 12, 2016, 11:33:24 pm
content: The problem is, that you cannot write it in Java. Java is muuch to slow for that task. What they could do is shrinking and optimising their code, so that they can be surre, that it even runs on an Intel Core.Thanks.The Windows port would be an interesting task. And I would love to this, but I "only" have a Unix system. And for that specific task there is a solution available.

author: Fraser
author_rank: Super Contributor
timestamp: April 12, 2016, 11:53:33 pm
content: Ooooops my mistake, I thought your App was written in JAVA.Sadly FLIR have made it clear that they have no intention of producing an App that is compatible with any Intel based phones or tablets. They are designing their App to work with what they consider to be a mainstream platform, namely the Samsung S5 or equivalent. They also have zero interest in producing a Windows program that can communicate with the F1G2. How nice it would have been if FLIR TOOLS had a plugin for F1G2 camera communications. An opportunity missed ?I know that there have been many meetings held to thrash out what the F1G2 will and will not be capable of........ we can only assume that FLIR have some firm views on this LEPTON platform and exactly how it will integrate into their range of cameras.You have made it far more useful to me now though. You have my sincere thanks.Fraser

author: gansgar
author_rank: Contributor
timestamp: April 12, 2016, 11:57:20 pm
content: You're right. My app right now is programmed in Java. But in the moment I would like to implement things like MSX, upscaling, ... . I would be dead with pure Java. That's the reason why I currently thinl about switching to the OpenCV library, which is completely programmed in C (don't fear it. I will include all possible architectures that can support my app, so that it will run on Intel too).

author: Davecltl
author_rank: Newbie
timestamp: April 13, 2016, 12:17:38 am
content: I'm find that not having MSX is actually quite nice in many situations. But having a toggle for or slider will mean never using the flir app again, which seems to exit/crash randomly. The super resolution sounds quite interesting and i'm certainly looking forward to that. The current version had no issues for about 30 minutes of use, Thanks very much for the app gansgar!

author: gansgar
author_rank: Contributor
timestamp: April 13, 2016, 12:30:09 am
content: ^^. I actually watched the behaviour, that the Flir SDK crashes randomly when I want to initialise a new device. Experienced that with the simulator and I'm not sure if it's also doing so with the real camera. The problem is: If you ever include C code inside your Java project there's no way that you can catch those errors.For those who are interested. I'm trying to implement the SR method described by . The problem is, that I current don't have a working sample and first tried to understand it with help of some Matlab code (Dry, because I don't own Matlab). The result presented by the paper are looking promising, but I assume that I will have a limited amount of profit from that due to performance limitations. Luckly the algorithm in the paper can be fine tuned to the available calculation power, in cost of quality. Also (as many might think), is our brain actually quiet good in doing a kind of super resolution in the head. It will be useful for still images, that you can save, which is probably the way I'll go. A kind of mode, where you see the finished SR image and a live thermal view and the app ask you to hold still to collect some data. But I don't know yet where I'll end up ^^. But what I can promise you: Super resolution will come, at least for still images. : "Fast and Robust Multiframe Super Resolution" -http://people.duke.edu/~sf59/SRfinal.pdf

author: JohnG
author_rank: Frequent Contributor
timestamp: April 13, 2016, 02:43:37 pm
content: If you have not already considered it, you may be able to run the MATLAB(TM) code in Octave. I don't do this a lot these days, but I have had a pretty good success rate in the past, often being able to run MATLAB code in Octave with little or no modification. Octave also has a decent GUI option now, as well.https://www.gnu.org/software/octave/John

author: gansgar
author_rank: Contributor
timestamp: April 13, 2016, 02:46:40 pm
content: I know I tried it, but the GUI method used in the script doesn't exist in Octave sadly

author: gansgar
author_rank: Contributor
timestamp: April 19, 2016, 02:30:43 am
content: Okay guys some updates:First and the most important one. A NEW UPDATE. This time officially Flir one approved. This update is not only updating the app icon (watch out), but is also adding the exponential smoothing feature. I also did some corrections how I manage unsupported devices, you will now be greeted with a more informative error message.And secondly, I could finally get the SR program in octave running. I just didn't got some images so far, where I could really show you the effectivity, but I got the same results for my test data sets as they got in their Matlab program. I also published the code on Github . It is not something nice, but I only wanted to save somebody the time to understand the original code and created a small wrapper script. You only need to edit the script.m file. But you need to have Octave installed!After trying it out on my PC, I assume, that it will not be working in real time on an Android Phone. I will properly end up rendering the frame in a semi live view. (Every second 1 frame) and replace the current visible light image with the live thermal view. If you now take a picture it will render the SR image in Background with a higher quality and will also save the thermal image from that moment. SR looks most of the time really good, but sometimes it has its problems with fragments that are clearly visible in the picture. The whole thing will be its own mode that you can switch on and off.http://www1.idc.ac.il/toky/videoProc-07/projects/SuperRes/srproject.htmlhttps://github.com/Gansgar/FastRobustSR

author: Fraser
author_rank: Super Contributor
timestamp: April 19, 2016, 02:40:03 am
content: Thanks for the updateFraser

author: Ben321
author_rank: Frequent Contributor
timestamp: April 28, 2016, 02:52:09 am
content: I'm working now on an app that has TONS of features, and will be light-years beyond even the FLIR One SDK sample app. It's about 95% done now. It is called "FOne Ultimate". I would have called it "FLIR One Ultimate", except that would probably get me sued by FLIR for violating their trademark.It outputs 16bit grayscale TIF files for Raw14bit thermal, and radiometric centikelvin-scale thermal imagesIt outputs 32bit RGB BMP files for thermal IR (aligned and cropped) image, MSX (aligned and cropped) image, and visible light (aligned and cropped) image.The only format that it saves as a compressed JPG file is the full size (not cropped) visible light JPEG image.It correctly rotates all of the image formats (except the JPEG format) to be aligned with the orientation you are holding your phone (portrait, reverse portrait, landscape, or reverse landscape). I have yet to figure out how to properly have the FLIR One SDK's FrameProcessor object correctly rotate any of the FLIR One image formats (raw or JPEG) at all, but have my own function for rotating the images when they provide you with the raw bytes of image data (anything that I can save as TIF or BMP), which is available for all formats except the visible light JPEG image, hence the reason I cannot correctly rotate that image. You will need to provide your own image editing software to correctly rotate that image, unless I find another way to do it.The 16bit grayscale TIF and 32bit BGRX BMP saving functions are my own, as neither FLIR One SDK, nor Android SDK have functions that allow me to save BMP or TIF files. I also had to create my own byte-swapping functions, as the BMP specification calls for little endian-byte order for all multi-byte values, and of course the Android system uses big-endian multi-byte values. Also I had to write my own red-blue channel swapper for this, as BMP files are stored with the blue channel first, rather than the red channel.I also used the endian byte swapping functions to create little-endian TIF files (even though the TIFF specification also allows for big-endian), as the app is intended to be a thermal data-gathering platform for Android, but with the idea that the captured files will be used on a desktop or laptop PC (which of course are little-endian systems). Any TIF writer software I write for the PC is going to be written with the intent of using it with these thermal image files, and don't plan to create the extra overhead of making my PC TIF reading software capable of handling both big and little endian TIF files (though the official TIFF specs say readers need to be able to do both). In light of this fact that I won't be doing any byte-swapping at the TIF file reader end of things, I need to perform byte-swapping at the TIF file writer end of things.And then there's one more feature that my app provides that NO OTHER app for the FLIR One yet provides. This is the ability to record a video that can handle even 16bits per pixel frames. The official FLIR One app can save MP4 video, but (at least on my phone) it lags SO BAD after a couple seconds that the video I'm seeing 1 minute after the recording started represents events that happened about 10 seconds after the recording started, and to see events that happened about 20 seconds after the recording started, I have to wait about 2 minutes for the preview screen to catch up. Yep, it's THAT MUCH of a lag. I think the problem is the time it takes to compress a frame means the CPU can't display anything while it's running the MPEG4 compressor (maybe they didn't implement multithreading correctly or something). Maybe my phone is just slow, but even then, MPEG4 has a big problem. It DOES NOT SUPPORT 16bits per pixel frames.My app does not have either problem. It doesn't use another thread for frame writing, but it still has NO LAG, and this is because it doesn't waste time performing MPEG4 compression on the frames. Instead it writes all of its frames by saving the raw pixel data directly to the file. And this also means that unlike with MPEG4 it CAN handle 16bits per pixel images that are needed to hold the raw thermal data for the raw14bit images and the centikelvin thermal images. How does it do this? Well it's pretty simple actually. I invented my own video file format. I call it Ben's Video Format, and files saved in this format have a .bvf file extension. Unlike AVI files, which have quite a complicated structure, BVF video files have a MINIMAL HEADER. The structure of the header is simple (note that all multi-byte values are, once again, in little-endian byte order,) and is as follows:ascii string FileID (this should always be "BVF ", and that's a space at the end, not a null character, as it's a 4byte fixed-length string)int FrameWidthint FrameHeightshort ChannelsPerPixel (valid values are 1, 3, or 4)short BytePerChannel (valid values are 1 or 2)int FrameCountshort FrameRateNumerator (this should always be 88 (58 hex) for FLIR One videoshort FrameRateDenominator (this should always be 10 (0A hex) for FLIR One video)int Reserved (this may be used in future versions of this file format for extending the header)After this comes all the raw uncompressed bytes of the frames sequentially stored in the file. Unlike AVI there is no index to look up frame position. As it's all stored as uncompressed pixel data, you can easilly calculate the location in the file for any given frame by simply knowing the frame number you want, and the width, height, bytes per channel, and channels per pixel. All this information can be gotten in the header, and can be used during playback to easily calculate the size and offset of an uncompressed frame during playback. No need to waste space in the file generating an index. And as it doesn't need to waste time saving an index, that made it a LOT easier to program, as I don't need to figure out how to write the necessary code to store an index separately as the frames are being written, and then concatenate the index to the end of the file as is done with AVI files. Not only is it simpler in concept, and able to handle many 16bit's per pixel grayscale frames (which even AVI can't handle, despite its complexity) it's also MUCH easier for a developer to write software for than it is with AVI files. And if you want to have an index, a playback application can easily use the format information stored in the header to generate an in-memory index when the file is loaded, and then use this index during playback and/or seeking. As for supported pixel formats, they are as follows:8bits per pixel grayscale (1chan-per-pix and 1byte-per-chan)16bits per pixel grayscale (1chan-per-pix and 2-bytes-per-chan)24bits per pixel RGB(3chans-per-pix and 1byte-per-chan)48bits per pixel RGB(3chans-per-pix and 2bytes-per-chan)32bits per pixel RGBX(4chans-per-pix and 1byte-per-chan)64bits per pixel RGBX(4chans-per-pix and 2bytes-per-chan)Note that with 4 channels the 4th channel is not actually alpha channel, and is simply ignored, which is why it's designated as X (unused), not A (alpha).Note that of these 6 pixel formats that my BVF format supports, only 2 of them are used by my FLIR One app. These are 16bits per pixel grayscale, and 32bits per pixel color.Currently in conjunction with this thermal app, I've also created my own PC application, using VB6, that can play these BVF video files. I'll describe the features of this player when I release it, which will be at the same time as I release my app.And then there's a neat remote control feature in this app. I just finished working on that feature a couple days ago (been working on the app for about a month). This feature allows you to use your laptop or desktop PC to control the thermal imager app. It works by sending 5-character ascii commands over UDP protocol over a LAN to your smartphone. A Windows application that will actually issue these commands is something that I'm currently working on in VB6.Then there's one more feature I'd like to add to my app, and I will start working on that next. That is streaming frames from the app over a TCP connection back to a desktop or laptop PC, so that when it is all done, my fully featured app will allow complete remote operation of the FLIR One device. In effect, this will turn any Android phone with the FLIR One device into a PC operated thermal imager, just like some of the very high end FLIR thermal images that cost thousands of $$$$. In security operations, it could be used as a LWIR nightvision security camera to see intruders in complete darkness, where it could be monitored and recorded by a DVR or security guard, just like a regular security camera. In industry, it could be used to remotely monitor the temperature of processes occurring in a machine in a factory.Once I've finished and released this Android app, expect it to be followed by PC applications that take advantage of its remote control and frame streaming features.

author: tomas123
author_rank: Frequent Contributor
timestamp: April 28, 2016, 11:13:39 am
content: Hi Ben321,great news.some notes:QuoteWhy 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 herehttps://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/#msg764924In this link you see, that you can open the *.seq video with the freePC Software Flir Toolsand make some nice measurements.Please post some image samples.

author: tomas123
author_rank: Frequent Contributor
timestamp: April 28, 2016, 09:40:35 pm
content: Quote from: gansgar on April 07, 2016, 04:06:10 amhere is my first result by testing a "real time" super resolution algorithm with OpenCVleft side: Flir One160x120 Lepton 3right side: same image with super resolutionhttps://youtu.be/6-iRTvr0uAwthe youtube compression is really hard, it looks better in realitycompare this two screenshots from the video above (and don't forget that we have only 160x120 sensor!):you see the cover of a ZBOX CI323 nanoand later a Raspberry Pi

author: cynfab
author_rank: Regular Contributor
timestamp: April 29, 2016, 02:15:14 am
content: Hi tomas123,What sort of machine is your OpenCV code running on? & how much cpu does it consume. Do you have any GPU acceleration?Great work by the way.

author: tomas123
author_rank: Frequent Contributor
timestamp: April 30, 2016, 09:51:51 am
content: 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 cameraFor 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)- sharpenFor 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.htmlestimateRigidTransform 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

author: Ben321
author_rank: Frequent Contributor
timestamp: April 30, 2016, 06:36:03 pm
content: Quote from: tomas123 on April 28, 2016, 11:13:39 amI know about SEQ files. If I'm not mistaken, each SEQ file has its own FFF style header, and then a sequence of FFF files withing the SEQ file. Each of these embedded FFF files of course has its own FFF header.While the portions of the FFF header that are needed in FFF files have been reverse engineered, the FFF style header that is used as the main header of SEQ files has not yet been reverse engineered. And to top it all off, there is a HUGE amount of overhead in a correctly written FFF file, as every correctly written FFF file has a camera info header pointed to by the main header. And let me tell you this, that camera info header is HUGE. It has like 100 fields in it. That's a truckload of code right there needed to write those headers. And to top it all off, there's no way to test the resulting SEQ file to make sure that it is in fact not corrupt (no errors in writing it), without using Research IR software. But guess what Research IR, unlike FLIR Tools, is commercial software, meaning you need to SPEND MONEY to get it. I don't want to buy some software, that my only use for it will be to test the file output from an app I'm writing.For my own purposes, creating my own file format was the best option. And guess what, the amount of overhead in a BVF file is TINY compared to the amount of overhead in an SEQ file, as SEQ files are basically an FFF header followed by a sequence of embedded FFF files, and the overhead in FFF files is HUGE.And guess what, my VB6 program that loaded with FFF files does not deal with all that overhead. It doesn't read the camera info header, so it doesn't have all the info it needs to actually calculate temperature. That program is just concerned with displaying the raw image, being able to save the raw image in more commonly used file formats (PNG or TIF), and being able to save the image as displayed in a BMP file. That's VERY simple compared to actually handling all of that camera info header.

author: encryptededdy
author_rank: Frequent Contributor
timestamp: May 01, 2016, 01:43:17 am
content: 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.

author: Neverther
author_rank: Regular Contributor
timestamp: May 01, 2016, 04:41:29 pm
content: Little bug:If the picture has even a one pixel showing over 105 or 110 deg C (outside the range), the thermal scale goes flat and pretty much everything, cold or hot shows ups as orange with iron palette. The outside of range shows as blue/black.Maybe it should not affect the range and instead show up as something else?The flir MSX just shows it as hot and the scaling does not break.I was checking how frame welds were showing up on camera.Same effect shows up when testing it on 60W bulb. No pics of the frame as the camera saves the MSX image, only found out just now.Bulb before waming upBulb after waming upThe small end of the scale is Not a Number.

author: Ben321
author_rank: Frequent Contributor
timestamp: May 01, 2016, 06:50:45 pm
content: Quote from: encryptededdy on May 01, 2016, 01:43:17 amActually if you open an SEQ file in a hex editor, you see it directly starts out with its own FFF header. This is what you see:FFF.MTX IRThat "." is actually ascii null (0x00 byte).So yes, SEQ files DO start with their own FFF header (not the header of the first FFF frame, but rather its own FFF header for the SEQ file).So where do these 2 bytes that define frame rates go? Where in the file (offset from the start of the file) are these 2 bytes that you say define the frame rate?

author: encryptededdy
author_rank: Frequent Contributor
timestamp: May 02, 2016, 03:41:27 am
content: 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/#msg764924You can see it's 8 bytes in front of FocusDistance in the FFF file.

author: Ben321
author_rank: Frequent Contributor
timestamp: May 02, 2016, 05:12:43 am
content: Quote from: encryptededdy on May 02, 2016, 03:41:27 amSorry, but I don't know how to read the output of Image Magick or whatever software that was you used to reverse engineer the SEQ files. Maybe you can just post a simple explanation here, without linking to something with a lot of console readout, that I can't figure out.

author: encryptededdy
author_rank: Frequent Contributor
timestamp: May 02, 2016, 06:09:22 am
content: 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 exiftooland then found where the framerate was storedI'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.

author: Ben321
author_rank: Frequent Contributor
timestamp: May 03, 2016, 03:43:38 am
content: Quote from: encryptededdy on May 02, 2016, 06:09:22 amBut how does that help with SEQ files? Wouldn't the frame rate have to be provided outside of any of the internal FFF files? If it's 8 bytes before the FocusDistance in an FFF file, that's still within the FFF file, so it couldn't define a global framerate for the SEQ file. At most, it would be able to tell a player the duration of a single frame.

author: encryptededdy
author_rank: Frequent Contributor
timestamp: May 03, 2016, 07:41:38 am
content: Honestly, I have no idea regarding how FLIR Tools actually reads off the framerate from the file, but I assume it just reads it out of the first file in the sequence.Either way, it certainly does appear to work.

author: tomas123
author_rank: Frequent Contributor
timestamp: May 03, 2016, 09:50:50 am
content: see here for the original Flir FFF header definition ( with 0x464 "Image frequency")I posted it in October 08, 2015http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,6763.msg33860.html#msg33860Quote

author: Ben321
author_rank: Frequent Contributor
timestamp: May 03, 2016, 11:47:02 pm
content: Anybody yet reverse engineer the SEQ format, and figure out what fields it uses in its main header?

author: Redshift1340
author_rank: Regular Contributor
timestamp: May 04, 2016, 07:42:44 am
content: Quote from: tomas123 on April 30, 2016, 09:51:51 amTomas123, are you or Georg planning to write a version of that F1 G2 thermal camera app for those of us poor saps 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

author: in.Vitro
author_rank: Regular Contributor
timestamp: May 08, 2016, 03:27:33 am
content: Quote from: Redshift1340 on May 04, 2016, 07:42:44 amOh yes, PLEASE DO THAT!

author: joe-c
author_rank: Frequent Contributor
timestamp: July 04, 2016, 10:10:46 pm
content: Hey, in which state is the App for Android?i don't found a "Fone Ultimate" in play store.

author: NathanFowler
author_rank: Regular Contributor
timestamp: July 11, 2016, 07:31:29 pm
content: Quote from: in.Vitro on May 08, 2016, 03:27:33 am100% this!

author: gansgar
author_rank: Contributor
timestamp: July 11, 2016, 08:39:33 pm
content: Hello communityI released today the advanced version of my Thermal Camera app. The new app is calledThermal Camera+ for Flir One.It has some new and long awaited features like multi-frame super resolution algorithm and some new methods for picture saving.The new method supports the real color image and the MSX and without MSX thermal images.All pictures can then also be managed by the new in-app gallery.It also has an adjust for the MSX offset and a manual / automatic shutter mode (long click on the shutter icon).- GeorgeMulti-frame super resolution example:Without super resolution, that means the native Flir One resolution:And with the new multi-frame super resolution algorithm:

author: frenky
author_rank: Unknown
timestamp: July 12, 2016, 06:40:13 am
content: Great work with the super-resolution.

author: gansgar
author_rank: Contributor
timestamp: July 12, 2016, 07:49:35 am
content: Thank you. It was some hard work to get it running. I had there luckly a ton of support by tomas123, who at the end made the stable sr algorithm that is currently in the app.

author: Fraser
author_rank: Super Contributor
timestamp: July 12, 2016, 09:21:05 am
content: George,Really great work. My thanks to you and Tomas123. The super resolution mode will be interesting to play with.Thank you for your hard work on this project.Fraser

author: Neverther
author_rank: Regular Contributor
timestamp: July 12, 2016, 03:22:04 pm
content: I was going to ask if the saturation problem had been fixed on the app, but then tried to test it.Lesson 101, how to get paying customers:Propably not...Does the same if I try launching the app with no camera connected.Sent crash report.

author: tomas123
author_rank: Frequent Contributor
timestamp: July 12, 2016, 10:19:39 pm
content: A unintentional crash of the free app.Flir changed the SDK to 1.1.4 and therefore we got some new troubles.Georg will fix it for the free app.Edit: crash is fixed@NevertherPlease describe your "saturation problem"

author: Neverther
author_rank: Regular Contributor
timestamp: July 13, 2016, 12:36:57 pm
content: My post in this thread on 01-05-2016Tested it now and it seems to be fixed altough I do not have anything too hot to test it with at the moment.

author: tomas123
author_rank: Frequent Contributor
timestamp: July 13, 2016, 01:23:59 pm
content: the flir one specs give us max 120°CQuoteLepton 3 datasheet:QuoteGeorgs app is not limited to 120°C, therefore you get temperature values until 200°C.But this values over 120°C are absolute inaccurate (not calibrated) and you get a odd clipping (NaN = not a number) at around 200°C.

author: gansgar
author_rank: Contributor
timestamp: July 13, 2016, 01:30:47 pm
content: I assume because you have an overflow error. The values of the camera have only 2^15 (~32000) possibilities. After that comes -32000, which isn't a valid value. For example the temperature calculation uses a log to satisfy plancks law and as we all know: log(x), where x<0 is equal to Not A Number (NAN).That is also shown in the app. The minimum temperature is NaN and if you limit the minimum, you can see that the to hot spots are actually registered as very cold.

author: Neverther
author_rank: Regular Contributor
timestamp: July 13, 2016, 01:52:33 pm
content: Yep, but at the time the flir msx mode could cope with it being hot and not break the whole scale (like in the attached pictures).

author: ChunkyPastaSauce
author_rank: Unknown
timestamp: July 13, 2016, 08:38:41 pm
content: Bought the + version, thanks for the app.Some notesFor MSX alignment, one swipes in the opposite axis of the MSX shift. I think it would be more intuitive if the swipe was in the direction of the shift (or at least axis)The super resolution icon freeze in whatever state it was in, when switching to MSXAlso, it would be cool if one could adjust the MSX strength (or maybe a "super" MSX using the phones camera for higher res, but realize may not be simple)

author: gansgar
author_rank: Contributor
timestamp: July 13, 2016, 10:18:05 pm
content: Those are valid points. I'll fix them.The last point is really not worth the effort.I use the MSX of the Flir SDK. This means that the calculations for MSX are not done by my algorithms also. But it also means that it uses the real color camera on the Flir One, which only supports VGA resolution. If I would like to introduce a "super MSX", I would be needed to do by myself a dewarp of the image, finding a formula to calculate the offset between the Thermal Image and the Real Color one. Till here it isn't even considered that the user would need to input the offset between the thermal camera and your phones camera.All in all: It is possible, but definitely not worth the effort.

author: ChunkyPastaSauce
author_rank: Unknown
timestamp: July 13, 2016, 10:23:48 pm
content: Sounds good, and thanks for the app

author: gansgar
author_rank: Contributor
timestamp: July 13, 2016, 10:25:50 pm
content: Thank you. It was a fun thing to do and I learned a lot through it (mostly how to organize big projects).

author: Fraser
author_rank: Super Contributor
timestamp: July 13, 2016, 10:57:41 pm
content: I promised I would pay for this program and I just paid for the + version. I will also be installing it on my other two phones so that makes three upgrades sold to meThanks again to you both for all the hard workFraser

author: gansgar
author_rank: Contributor
timestamp: July 13, 2016, 11:05:53 pm
content: Thank you for the support.George

author: tomas123
author_rank: Frequent Contributor
timestamp: July 14, 2016, 11:22:13 am
content: George as 17 year-old student is pleased with the additional pocket money.Please don't forget to vote the app in the play storeAs I posted above, I wrote the SR algorithmus for Georg.seehttps://www.eevblog.com/forum/thermal-imaging/flir-one-android-app-with-full-lepton-sensor-resolution/msg929260/#msg929260The image enhancement with multiframe super resolution is most visible in taken (still) images.Our brain make an own superresolution (stacking) if our eyes "record" a 9 frames/second live view, therefore the enhancement is not so clearly visible in the "live view".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 ...

author: NathanFowler
author_rank: Regular Contributor
timestamp: July 14, 2016, 09:51:08 pm
content: Stumbled across this today:https://www.reddit.com/r/flirone/comments/4a7465/slow_rendering_ive_tweaked_the_flir_one_example/http://developer.flir.com/forums/topic/samsung-s7-slow-and-glitchy-stock-app-why-also-a-kind-of-work-around/Figured I'd share. All the best and cheers.Edit: Alternative link, and of course Thomas is thereOld news is exciting I guess... sorry for the thread noise.

author: tomas123
author_rank: Frequent Contributor
timestamp: July 15, 2016, 10:30:44 am
content: Quote from: NathanFowler on July 14, 2016, 09:51:08 pmyes, we are a flir one hacker communityIt's the same Sarah, who wrote the review for Georgs App (see attachment)P.S: I got no feedbacks about SR algorithmQuote from: tomas123 on July 14, 2016, 11:22:13 am

author: ChunkyPastaSauce
author_rank: Unknown
timestamp: July 16, 2016, 09:22:56 pm
content: Quote from: tomas123 on July 14, 2016, 11:22:13 amLooking at the image output image.... I bet you could pull out some more detail using traditional unsharpen masks, high pass filter or something else maybe in realtime. Deblurring probably would also work well (but I think is usually computationally expensive).

author: tomas123
author_rank: Frequent Contributor
timestamp: July 17, 2016, 12:52:35 am
content: There is already a gauss sharpen filter implemented.If you set the gauss filter stronger (like on real images) then you get halos around structures with false thermal values.(It's by design)

author: tomas123
author_rank: Frequent Contributor
timestamp: July 19, 2016, 08:20:57 am
content: A sample from a dishwasher.All images are taken of the same position/distance.original images fromGeorgs Thermal Camera+ Appwithout post processing"native Lepton Sensor Resolution 160x120" compared with "bilineare filtering and multiframe super resolution" (minor differences from freehand shooting)originalFlir One MSXimage shot with Flir One SDK (it's same image distance but Flir cropped the image to 120x90 sensor pixels)after removing MSX withFlir Tools for Android(Flir Tools reduces the image size)and now after opening the image withFlir Tools for PC(a postage stamp):

author: tomas123
author_rank: Frequent Contributor
timestamp: July 19, 2016, 02:22:41 pm
content: next sample:Georgs Thermal Camera+ App 160x120 vs. hacked Flir Ex 320x240Lepton 160x120Flir Ex 320x240- shifted point of views, because the cameras have differents FOV (field of view)- the Ex image is a Screenshot from Flir Tools because the original radiometric jpg is a stamp

author: Fraser
author_rank: Super Contributor
timestamp: July 19, 2016, 11:08:20 pm
content: @Tomas123,Thanks for the images.I must say I am impressed with what can be achieved with the LEPTON 3 based FLIR ONE. The original FLIR app just does not do it justice.Fraser

author: tomas123
author_rank: Frequent Contributor
timestamp: July 20, 2016, 09:51:29 am
content: Flir is surely not interested in, to get all image capabilities from a 160x120 thermal camera in a 250USD price segment.We know, that Flirs hardware costs for a 320x240 E8 are under 1000 USD (that is the price for E4 80x60) and Flir sells the E8 for 4000 USD.Therefore the Flir One SDK with the 14 bit radiometric sensor values is a nice back door.

author: frenky
author_rank: Unknown
timestamp: July 20, 2016, 10:47:36 am
content: You are getting really great images out of Lepton3 core...I wonder if Peltier module could improve images even more.On Seek it really makes a huge signal to noise improvement...My Seek is dead again with the same blank screen and now I'm angry at myself for not buying Flir One when it was 175€ on amazon.co.uk.

author: NathanFowler
author_rank: Regular Contributor
timestamp: July 21, 2016, 01:18:35 am
content: Simply amazing quality! I wish I were on Android, would either of you two (Georg/Tomas) consider developing a ported version to iOS, I am sure we could start a kickstarter campaign and I would happily donate $100 USD for such amazing work!

author: tomas123
author_rank: Frequent Contributor
timestamp: July 22, 2016, 09:40:12 am
content: The lepton sensor (lens) has a great sharpness, therefore we can make some great image enhancements.But the NETD (noise equivalent differential temperature) is not so good as ahacked(!) Ex camera.The Lepton Data Sheet give us a thermal sensitivity <50 mK, but see the difference:The Ex image (on the left side) is the original jpg size 240x320 OOC (out of camera) with the imprinted scale. Georgs temperature scale is outside the thermal image.And believe me, I tried many software tricks to improve the NETD of the lepton sensor, but without noticeable success.It seems, that Flir makes a great job with his own image post processing algorithmus (calculate RAW from sensor ADC values).They are brand leaders with such small (=noisy) uncooled microbolometer without temperature stabilisation.There is a heating element inside the Ex for temperature stabilisation, but this cost some battery power...

author: tomas123
author_rank: Frequent Contributor
timestamp: July 22, 2016, 03:32:46 pm
content: Georgs app also saved the (cropped) Flir radiometric jpg from the scene above.Now we can see, how aggressive Flir denoise algorithm works:Flir Tools for Androidsame image saved with Flir Tools for PC (Flit Tools for PC change the palette, therfore we see more contrast)after enlarging the denoised image, we see the well known denoise patterns

author: Fraser
author_rank: Super Contributor
timestamp: July 22, 2016, 03:33:15 pm
content: Tomas123,A minor correction. The E4 microbolometer is not actively temperature stabilised. It uses generic offset tables and the fact that the microbolometer self heats to a temperature equilibrium of around 30CThis where budget cameras often differ to more expensive models.Fraser

author: tomas123
author_rank: Frequent Contributor
timestamp: July 22, 2016, 03:57:45 pm
content: sorry, we discussed last year about this topicMy E40 stabilize the microbolometer temperature also a hour after a simple shutoff (this standby mode for fast restart has also the Ex)There is a red LED inside (visible trough the SD slot) which indicate this "heating".After a hour in standby modus (camera off but red LED inside is on) the E40 immediately make correct measurements without a tilde (~24°C).You say "self generated heat" and I think, there is heat source for faster reach the 30°C for correct measurements.Certainly I am wrong, but it's so simple to implement ...We both now, there is no cooling ;-)Quote from: Fraser on September 06, 2015, 12:46:12 pm

author: gansgar
author_rank: Contributor
timestamp: September 03, 2016, 07:57:40 pm
content: Hello community,Flir has updated just recently their SDK with a great new feature: Flir One and Cat S60 support.I updated today my app to the new SDK, but before I release it to the store I would like to test it with some real Cat S60 devices.So I invite everybody to try out the beta.https://play.google.com/apps/testing/georg.com.flironetest_01Give me in this thread some feedback if it works or not.Because the Cat S60 only has a Lepton sensor resolution of 80x60 some feedback through images would be nice. (screenshot and test-shot)- George

author: e_sousa
author_rank: Contributor
timestamp: September 04, 2016, 11:25:32 am
content: Thanks for adding s60 support.The beta version doesn't seem to be working on my device thoughIt 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"

author: gansgar
author_rank: Contributor
timestamp: September 04, 2016, 11:55:49 am
content: Quote from: e_sousa on September 04, 2016, 11:25:32 amCould you look into the settings under the app informations. Under the tab permission is the camera one on or off? If off could you activate it and try it again? I'll fix that later but just to try it out.Could you also tell me if you have a report button after the crash?? If yes please press it that helps me to understand the error in more detail.

author: e_sousa
author_rank: Contributor
timestamp: September 04, 2016, 02:00:48 pm
content: Camera permission is ok in android settings.Only sometimes it shows the report button after crash, i tried a few times until it showed the button box and sent a report.

author: gansgar
author_rank: Contributor
timestamp: September 04, 2016, 04:14:50 pm
content: QuoteI 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=sharingAnd here is how you can activate 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.

author: e_sousa
author_rank: Contributor
timestamp: September 04, 2016, 06:43:16 pm
content: Quote from: gansgar on September 04, 2016, 04:14:50 pmI installed and played around a bit with the example app, it seems to work fine.

author: gansgar
author_rank: Contributor
timestamp: September 04, 2016, 07:13:39 pm
content: Great thanks. That's a big step forward. I'll improve the app and throw out an update for all beta tester if think I fixed the problem.- George

author: e_sousa
author_rank: Contributor
timestamp: September 04, 2016, 09:42:01 pm
content: Happy to help, anything else you need just ask.Keep up the good work.

author: gansgar
author_rank: Contributor
timestamp: September 05, 2016, 02:17:56 pm
content: Okay. I just upload a new beta version. I essentially just changed one line in hope that the app crashed because I used an deprecated image format. But whatsover, we are currently just trying to figure out what is going wrong.- George

author: e_sousa
author_rank: Contributor
timestamp: September 05, 2016, 08:49:59 pm
content: It is working now, good jobI can post some sample shots later if it helps any.

author: gansgar
author_rank: Contributor
timestamp: September 05, 2016, 08:53:09 pm
content: The samples would be nice. I still don't know how my app reacts to 80x60 instead of the 160x120 from the Flir One.And also: No problem. It's fun doing it- George

author: e_sousa
author_rank: Contributor
timestamp: September 06, 2016, 11:38:08 pm
content: I took some random shots during the day.You can clearly notice the lower thermal sensor resolution.One thing i noticed is the app will save the normal picture in landscape if i hold the phone sideways, even though the thermal image is only portrait.

author: frenky
author_rank: Unknown
timestamp: September 07, 2016, 07:51:34 am
content: That looks really good for 80x60 resolution... (Cat S60 right?)

author: e_sousa
author_rank: Contributor
timestamp: September 07, 2016, 08:04:39 am
content: Quote from: frenky on September 07, 2016, 07:51:34 amYes, it is the Cat S60.

author: tomas123
author_rank: Frequent Contributor
timestamp: September 07, 2016, 08:51:17 am
content: 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 thermallive screensbetween the S60 original app (MyFLIR for Cat S60) and Georgs app "Thermal Camera"??

author: Fraser
author_rank: Super Contributor
timestamp: September 07, 2016, 04:07:34 pm
content: Flir use image some decent interpolation on their cameras. They also use it to very good effect on the Industrial cameras when selecting digital zoom modes.Fraser

author: tomas123
author_rank: Frequent Contributor
timestamp: September 07, 2016, 05:53:43 pm
content: We still don't know if the Flir One G1 and G2 crops the thermal image ONLY because the VGA camera in the case doesn't have enough FOV. The Cat S60 is using it's build in camera which could have a bigger FOV.

author: e_sousa
author_rank: Contributor
timestamp: September 07, 2016, 08:38:53 pm
content: Quote from: tomas123 on September 07, 2016, 08:51:17 amI did process the images with flir tools for android, the app puts out 1Mb+ files and i resaved them with flir tools so they became around 150Kb. It is weird because the resolution stays the same, the smaller one was on flir tools for pc, you got it rightI tried to get a good screenshot for comparison of the two apps but is not so easy without any holding base for the phone.Still i got some lousy ones where there is clearly a difference, even if it is just cropping on the vertical ends.EDIT: the camera may be pointing a cm or two to a side or the other but the pictures were taken at the same distance, that i am sure.

author: tomas123
author_rank: Frequent Contributor
timestamp: September 07, 2016, 09:39:34 pm
content: thank youThe difference on S60 is visible minor as by the Flir One.Below two samples from Flir One G2 (Lepton 160x120)Quote from: tomas123 on November 16, 2015, 11:58:16 amandQuote from: tomas123 on November 16, 2015, 12:28:48 pm

author: newex
author_rank: Contributor
timestamp: September 08, 2016, 11:04:59 am
content: hi, GeorgeThanks for you great work!But I have a strange trouble with my Xiaomi mi note 2.Free app works perfectly.But Thermal Camera+ has a problem with the video camera.Flir One app also does not work. What does this mean?

author: tomas123
author_rank: Frequent Contributor
timestamp: September 08, 2016, 01:44:19 pm
content: Is your free app the current beta app (Version 2.0.0)?The Flir SDK changed some methods for the real image...Quote from: newex on September 08, 2016, 11:04:59 am

author: gansgar
author_rank: Contributor
timestamp: September 08, 2016, 01:52:28 pm
content: It could be that the apps are using a different SDK version between. I found out not a while ago that I've two SDKs in my development folder with different MD5 hashes. I now united the two app instances I had before and deactivate or activate features by the "builf flavor" they have.So could you report back please if the link to the beta version in one of my latest posts works for you? If yes I can guarantee you (probably) that the plus app works too.Another tip: Write the flir support. The hardware of your Flir one is probably damaged and I cannot guarantee you that it will work with later version of my app.- George

author: newex
author_rank: Contributor
timestamp: September 08, 2016, 04:33:28 pm
content: The beta version does not work. Unfortunately now I can not regain the old version free app.I think hardware flir one absolutely OK. It works perfectly on my nexus 10.

author: tomas123
author_rank: Frequent Contributor
timestamp: September 09, 2016, 07:50:05 am
content: Quote from: newex on September 08, 2016, 04:33:28 pmFlir continuous develops further the "Flir One SDK".With every SDK version some Android Devices kicked outand some new devices comes in (like CAT S60).George code has no influence on the USB device communication. Therefore Georg can't support Android devices, which don't support of thelast Flir SDK version.the SDK changes the methods for getting the visible real imageseehttp://developer.flir.com/forums/topic/deprecated-renderedimage-imagetype-visualjpegimage/with old SDK 1.0.2 George used the VisualJPEGImage function...Quote... and with current Android SDK 1.2.5Quote

author: eternalone
author_rank: Contributor
timestamp: October 16, 2016, 02:46:36 am
content: Great job on your thermal app. I bought it.Perhaps an option in your next update to turn off the temperature scale so it won't be in the pictures if it isn't needed? Or an option to use your own color palettes? That would be wow.

author: sam1275
author_rank: Frequent Contributor
timestamp: October 19, 2016, 06:29:45 am
content: Hi, I don't have a FlirOne right now, but I have a few questions.Does it have a minimal temperature span limit? If yes, is it hacked in this "hacked app"? (For example, E4 have a minimal temp span of 4C degree, but can be hacked to only 1C to get more details.)Tomas123 mentioned there's a noise-reduction in the original app, has it been removed in this "hacked app"? I really don't like it because it ruined the details, I prefer a more original image.Thanks!

author: valere
author_rank: Contributor
timestamp: December 18, 2016, 02:29:55 pm
content: Hi,I purchased the Thermal Camera+ for Flir One app, however on my low cost Amazon Fire 7 it has issues with camera connection (jt works but its randomly annoying - most probably related to stupid Fire Os / have to put a real Android).However I'm very happy to support such initiative (I put my detailed feedback in this thread since it's highly related to testing Flir One on a low-cost tablehttps://www.eevblog.com/forum/thermal-imaging/flir-one-android-on-a-low-cost-tablet/).I would be very happy to get it working properly, since having the real-time temperature scale in °C displayed is really useful for me.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.And I've yet to see the effect of the super resolution mode, well have to do better testsThanks George for developing such app !

author: tomas123
author_rank: Frequent Contributor
timestamp: December 19, 2016, 12:12:47 pm
content: Quote from: valere on December 18, 2016, 02:29:55 pmUnfortunately 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 imagesQuotea sampleCode:lastSavedPath = path+ "/" + fileName;renderedImage.getFrame().save(new File(lastSavedPath), RenderedImage.Palette.Iron, RenderedImage.ImageType.BlendedMSXRGBA8888Image);

author: valere
author_rank: Contributor
timestamp: December 22, 2016, 11:04:48 am
content: Quote from: tomas123 on December 19, 2016, 12:12:47 pmThat's really unfortunate indeed, let's say : "hey FLIR, SDK need to be improved... oh wait they will release a new product instead* ! "The inside background of the Flir One Box said, if you have any feedback write mail to M. ..... from FLIR, which I did. They answered nicely, however, about many improvements I underlined (including software ones), they said that since FLIR One G2 is on the market for nearly 12 months a new product will come soon... This is interesting but well Flir, please, do your homework on software.In another thread I've seen someone (maybe the thermal processing application for PC) or a PhP script which managed to recreate the thermal jpeg, so maybe there is room for a merge in knowledge (but it should have been a feature of the SDK). I would really like to find enough time to do that myself, but..., not yet, and it's a little far from embedded I would not be as efficient as embedded / robotic features dev.I'll use the hardware fix, I'm waiting for an extension wire. Or, when I'll be motivated, I may install a custom android on the tablet and made it think top is bottom. ;-)

author: Fraser
author_rank: Super Contributor
timestamp: December 23, 2016, 04:13:45 pm
content: @Valere,Just for information.FLIR very carefully crafted the FLIR One Gen2 and its associated software so as to not compete with other cameras in their range.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. 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 photosThe 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. 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. Increasing the resolution means increasing the microbolometer die dimensions and a newer optical block to cope with this and the higher resolution. Expect to see a Lepton 4 in due course but it will likely be slightly larger and possibly with more conventional optics.Fraser

author: valere
author_rank: Contributor
timestamp: December 25, 2016, 06:01:04 pm
content: Quote from: Fraser on December 23, 2016, 04:13:45 pmIndeed, this I already guessed.Quote from: Fraser on December 23, 2016, 04:13:45 pmThis 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).You are right, Flir One G2 is among other things a digital camera for electronic (not music) party, it intents to be able to know which component will first release its magic smokeQuote from: Fraser on December 23, 2016, 04:13:45 pmI 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).Quote from: Fraser on December 23, 2016, 04:13:45 pmWell, 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  flir dot com) .... that I did.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****).To be honest, first, I was more curious to see if it was for "marketing" purposes or a real feedback wish than waiting for anything.It seems it is a real feedback (wish is also an amazingly efficient way of marketing), which I found really nice since for me this part how a company can do things right !And eight days after I got a nice answer saying that I wasn't the first one giving such feedback (obviously, I would have been surprised if so), and telling me the following (extract of the mail) :QuoteI both happy to see that FLIR is going to provide improvements on those points and... well I purchased the actual version without the improvements... on the other hand I didn't get it for decoration I'm already using it and it's really useful as it is (a good combination of Flir One app, Flir Tools and Thermal Camera+ from George allows me a wide and efficient use).I received my micro usb wire extender, and for electronic debug with Flir One it's really handy

author: adys
author_rank: Contributor
timestamp: December 25, 2016, 07:15:41 pm
content: HiGot 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

author: RGB255_0_0
author_rank: Frequent Contributor
timestamp: December 25, 2016, 08:09:24 pm
content: Quote from: adys on December 25, 2016, 07:15:41 pmI 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.

author: adys
author_rank: Contributor
timestamp: December 25, 2016, 09:25:47 pm
content: Quote from: RGB255_0_0 on December 25, 2016, 08:09:24 pmWill it help?I can do it if someone will look into it

author: tomas123
author_rank: Frequent Contributor
timestamp: December 26, 2016, 03:36:32 pm
content: 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

author: adys
author_rank: Contributor
timestamp: December 26, 2016, 03:40:44 pm
content: Quote from: tomas123 on December 26, 2016, 03:36:32 pmThank you. More than crashes,the app is hanging... just by taking a photo mostly when in rotate mode. I can go to libary and press the buttons, but the camera view stays freeze.I am a developer too (windows / c# c++) , so if I can help with some logging or something, please let me know.

author: valere
author_rank: Contributor
timestamp: December 26, 2016, 04:20:08 pm
content: Quote from: tomas123 on December 26, 2016, 03:36:32 pmThis is indeed a real p*** in.... the, on the Amazon Fire 7 (2015), it depends of the time of the day, temperature and so... I believe it depends which app is in "autostart when usb device connected" and which is "authorized by default to use this specific usb device" -> need a way in Android to give authorization to multiple app and none as default launching (but... I can't complain, I first need to get ride of Fire OS and see what's a Cyanogen Android or something like that can do).It seems to be mid-android stupidity mid FLIR SDK issue.I really dislike the fact that the FLIR SDK Library is a precompiled for Armeabi-v7a it's a real shame, since there is Android devices which are not Arm based, and other Arm instruction set will emerge... I was ready to download the SDK to look what I can do with It but I've an issue with my FLIR Account which I've partly created by downloading Flir Tools but not totally so I can't access yet to the all system.

author: tomas123
author_rank: Frequent Contributor
timestamp: December 26, 2016, 07:44:31 pm
content: good news, there is a Flir SDK updateQuoteGeorge told me, that the communication of the Thermal Camera+ (beta with SDK 1.2.8 ) with a Samsung Note USB is now "rock stable"...

author: valere
author_rank: Contributor
timestamp: December 27, 2016, 09:29:01 pm
content: Quote from: tomas123 on December 26, 2016, 07:44:31 pmWonderfull

author: bitseeker
author_rank: Super Contributor
timestamp: January 04, 2017, 01:24:00 am
content: Looking forward to trying this app. Ordered a F1G2 from TEquipment. It's still on sale, if anyone else is looking to get one. Approximately US$200 after EEVBlog discount on the sale price.

author: bitseeker
author_rank: Super Contributor
timestamp: January 22, 2017, 12:28:18 am
content: Works great with F1G2 on Nexus 5. Unfortunately, doesn't work on Nexus 7 (FLIR API limitation?).

author: gansgar
author_rank: Contributor
timestamp: January 22, 2017, 12:52:33 am
content: Quote from: bitseeker on January 22, 2017, 12:28:18 amDoes 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).

author: bitseeker
author_rank: Super Contributor
timestamp: January 22, 2017, 03:29:31 am
content: 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.

author: frenky
author_rank: Unknown
timestamp: January 22, 2017, 01:09:31 pm
content: You could ask Georg to send you apk and install it manualy.

author: paradigmic
author_rank: Contributor
timestamp: January 22, 2017, 07:32:48 pm
content: Quote from: bitseeker on January 22, 2017, 03:29:31 amDo 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.

author: valere
author_rank: Contributor
timestamp: January 22, 2017, 09:10:11 pm
content: Quote from: bitseeker on January 22, 2017, 03:29:31 amI 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").Quote from: paradigmic on January 22, 2017, 07:32:48 pmI've done that for Flir Tools, installed on my Nexus 4, get the Apk and transferred it on low-cost Amazon Fire 7.On the opposite I've installed Flir One Official App on the Amazon fire 7 and get the apk, installed it on the Nexus 4... it's not working because OTG is not activated in the Kernel (hardware available, but without power on the USB port, so need to root / change ROM to get part-OTG support, which is sufficient for Flir One since it has it very own battery).Quote from: paradigmic on January 22, 2017, 07:32:48 pmFlir One and App from George require usb OTG. As far as I read OTG support for Nexus 7 2012 is fluctuating, some version of Android doesn't support it, some need configuration, and some work directly. I suggest you dig about Nexus 7 2012 OTG / storage / ethernet USB / media importers, you may or may not need to root it / replace the ROM by a newer Android version (at your own risk).If you are not ready to take risk (if needed), you could find a phone with a faulty SIM (someone did so with Motorola for something like 30$, maybe Fraser) or you could take a low-cost tablet such as Amazon Fire 7 (need a bit tweaking but works like a charm without root or ROM flash - I've written a post on my experience).

author: bitseeker
author_rank: Super Contributor
timestamp: January 23, 2017, 01:17:42 am
content: 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.

author: valere
author_rank: Contributor
timestamp: January 23, 2017, 03:47:57 pm
content: Quote from: bitseeker on January 23, 2017, 01:17:42 amQuote from: bitseeker on January 23, 2017, 01:17:42 amQuote from: bitseeker on January 23, 2017, 01:17:42 amCool ! You can try without rooting for the APK thing, use something like AirDroid on your Nexus 5 to download the APK on your pc (works like a charm), then send it on the N7 and authorize installation from "any source" temporarily (obviously in this case you are the source so it's safe enough). None of that require "root" but like you said, we are not sure if this version of Android on your N7 is OTG nice so it may or may not work at the end.

author: bitseeker
author_rank: Super Contributor
timestamp: January 23, 2017, 08:51:18 pm
content: 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.

author: valere
author_rank: Contributor
timestamp: January 24, 2017, 12:59:28 pm
content: Quote from: bitseeker on January 23, 2017, 08:51:18 pmIndeed, if OTG/USB Drive works, it's likely it will work too.- Install Air Droid (N5)- Connect on the same network- Access your phone (probably even from the N7 in fact) from a web browser "http://192.168.xx.xx:8888/" (as said by air droid) / no need to create an online account for this- Choose "Apps"- Download the wanted APK

author: firehopper
author_rank: Frequent Contributor
timestamp: February 11, 2017, 07:53:26 pm
content: it also works on a samsung note 4 as well! and love the app, I guess if I want videos I have to use the regular app hun?Quote from: gansgar on January 22, 2017, 12:52:33 am

author: firehopper
author_rank: Frequent Contributor
timestamp: February 13, 2017, 08:38:21 am
content: btw I did purchase the app for my use.. Well done georg! will rate next time it asks me

author: gansgar
author_rank: Contributor
timestamp: February 13, 2017, 05:36:52 pm
content: Do other apps ask for that? Because mine doesn't.

author: uboot
author_rank: Contributor
timestamp: November 21, 2023, 07:54:27 am
content: Is there any change to get an updated / fixed version of that Thermal Camera+ app for recent Android versions? Because it just keeps crashing on Android 12, 13, and 14 and didn't receive any updates since 2017.Looks like being abandoned by the developer