{"id":558,"date":"2023-02-04T19:34:51","date_gmt":"2023-02-04T08:34:51","guid":{"rendered":"https:\/\/www.samontab.com\/web\/?p=558"},"modified":"2025-02-05T13:38:05","modified_gmt":"2025-02-05T02:38:05","slug":"the-best-usb-thermal-camera-for-computer-vision-applications","status":"publish","type":"post","link":"https:\/\/www.samontab.com\/web\/2023\/02\/the-best-usb-thermal-camera-for-computer-vision-applications\/","title":{"rendered":"The best USB thermal camera for computer vision applications"},"content":{"rendered":"\n<p><strong>TL:DR;<\/strong> For real-time processing get the <a href=\"https:\/\/www.amazon.com\/Seek-Thermal-CompactPRO-Resolution-Imaging\/dp\/B07V34RFLW?crid=P71V3VSUD3LM&amp;keywords=Seek%2BThermal%2BCompactPRO&amp;qid=1675085755&amp;sprefix=seek%2Bthermal%2Bcompactpro%2Caps%2C315&amp;sr=8-3&amp;th=1&amp;linkCode=ll1&amp;tag=sebmonmypasan-20&amp;linkId=6d29875d6eee143aa8fc1c2add10753c&amp;language=en_US&amp;ref_=as_li_ss_tl\" target=\"_blank\" rel=\"noreferrer noopener\">Seek Thermal CompactPRO (the one with USB-C)<\/a> and also grab a <a href=\"https:\/\/www.amazon.com\/UGREEN-Extension-Extender-Compatible-Thunderbolt\/dp\/B08MXL8JGF?pd_rd_w=0BC9K&amp;content-id=amzn1.sym.7f0cf323-50c6-49e3-b3f9-63546bb79c92&amp;pf_rd_p=7f0cf323-50c6-49e3-b3f9-63546bb79c92&amp;pf_rd_r=ZBG8Y3YFR8JDS3F1N6T3&amp;pd_rd_wg=wfHjl&amp;pd_rd_r=f7021e3c-512c-4f85-8f60-c40f9ec614cd&amp;pd_rd_i=B074K318JK&amp;th=1&amp;linkCode=ll1&amp;tag=sebmonmypasan-20&amp;linkId=e44b38637c431317963b46e90b63b102&amp;language=en_US&amp;ref_=as_li_ss_tl\" target=\"_blank\" rel=\"noreferrer noopener\">USB-C extender cable<\/a>. <br>If you don&#8217;t need real time processing, you can get any <a href=\"https:\/\/amzn.to\/4hHi1hS\" target=\"_blank\" rel=\"noreferrer noopener\">FLIR One<\/a> as you&#8217;ll be able to get absolute temperature readings from the saved images. Note: I&#8217;m using referral links in this post, so if you buy something I might receive a commission.<\/p>\n\n\n\n<p>If you&#8217;ve read anything about thermal cameras, you would have probably stumbled upon FLIR cameras. They are one of the most popular brands, and a few years ago they created the first affordable USB thermal camera, the FLIR One. Because it is a well known brand and the price is relatively cheap for a thermal camera, I decided to get one of them and see how useful it would be for computer vision applications.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_a.jpg\" alt=\"\" class=\"wp-image-563\" srcset=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_a.jpg 1024w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_a-300x200.jpg 300w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_a-768x512.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">FLIR One thermal camera with a USB-C connector. Note that it comes with both, a thermal and an RGB camera, side by side(left).<\/figcaption><\/figure>\n\n\n\n<p>These days, FLIR offers a 3rd generation of this affordable USB thermal camera. They actually have three different models: The FLIR One, the FLIR One Pro, and the FLIR One Pro LT, each one offering different features and different resolutions at different prices. They also make two versions of each, one for iOS and another one with an Android(USB-C) connector. You can check them out <a href=\"https:\/\/amzn.to\/4hptJhg\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p>All of these FLIR cameras are supposed to be used connected directly to a smartphone, which uses the official FLIR app to communicate with the camera, and show the images on the screen of the phone, with the option to save the images for later processing.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"1024\" src=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_phone-rotated.jpg\" alt=\"\" class=\"wp-image-565\" srcset=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_phone-rotated.jpg 683w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_phone-200x300.jpg 200w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><figcaption class=\"wp-element-caption\">The FLIR One camera connected to a phone for normal operation<\/figcaption><\/figure>\n\n\n\n<p>Something that got my attention with these FLIR cameras is that they all come with a rechargeable battery. You need to keep it charged in order to use it, as it doesn&#8217;t use the phone battery to power itself.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_b.jpg\" alt=\"\" class=\"wp-image-566\" srcset=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_b.jpg 1024w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_b-300x200.jpg 300w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_b-768x512.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">USB-C female connector for charging its battery on the right, and the power button and led power indicator in the middle<\/figcaption><\/figure>\n\n\n\n<p>After you install the official FLIR app, charge the camera, and connect it to the phone, you need to turn the camera on and wait for a few seconds. If everything goes right, you should be able to see and save thermal images on your phone, like this one:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_data-1-768x1024.jpg\" alt=\"\" class=\"wp-image-574\" srcset=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_data-1-768x1024.jpg 768w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_data-1-225x300.jpg 225w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_data-1.jpg 1080w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\">Thermal view of a pot with boiling water. The FLIR app tries to blend it with the RGB camera, but it&#8217;s not really well aligned out of the box.<\/figcaption><\/figure>\n\n\n\n<p>After you save the FLIR images you can extract the temperature information per pixel as a csv file, and also the thermal and visual images, using an open source library: <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/Nervengift\/read_thermal.py\" target=\"_blank\">read_thermal<\/a>. You can get the temperature in Celsius per pixel saved as a csv file like this(and also you can get the thermal and RGB images):<\/p>\n\n\n\n<p><code>python flir_image_extractor.py -p -i FLIR_IMAGE.jpg -csv temps.csv<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"480\" height=\"640\" src=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_data_thermal.png\" alt=\"\" class=\"wp-image-575\" srcset=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_data_thermal.png 480w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/flir_data_thermal-225x300.png 225w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><figcaption class=\"wp-element-caption\">Thermal view of the scene<\/figcaption><\/figure>\n\n\n\n<p>As far as I know, there is no possible way to use any of these FLIR One thermal cameras in real time connected to a computer. You can only use them connected to a phone, and using the official FLIR app. After you save the images you can then process them in a computer with the previously mentioned library.<\/p>\n\n\n\n<p>After using the FLIR One for a bit I realised it has some pros and cons. It&#8217;s great that you can get the absolute temperatures per pixel while post processing the images. It&#8217;s also handy to have an RGB image alongside the thermal data. But, the fact that they cannot be used directly from a computer device, and that you need to constantly keep charging their battery makes the FLIR One thermal cameras not a great fit for real time computer vision applications.<\/p>\n\n\n\n<p>Fortunately, there is another brand that makes USB thermal cameras, Seek Thermal:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seek_a.jpg\" alt=\"\" class=\"wp-image-564\" srcset=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seek_a.jpg 1024w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seek_a-300x200.jpg 300w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seek_a-768x512.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Seek Thermal CompactPRO camera<\/figcaption><\/figure>\n\n\n\n<p>Seek offers two models, the Seek Compact and the Seek Compact Pro. Also, for each model they offer a version with a telephoto lens, marked with an XR suffix. The Seek Compact Pro has a higher resolution(320 x 240) compared to the Seek Compact(206 x 156). The field of view of the Compact Pro is 32\u00b0 whereas the Compact Pro XR has only a 24\u00b0 field of view. For general computer vision tasks I found the wider field of view and the higher resolution of the Seek Compact Pro was the best.<\/p>\n\n\n\n<p>Seek also has an official app that you can use with your phone, and it works similar to how the FLIR app works:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seekpro-768x1024.jpg\" alt=\"\" class=\"wp-image-572\" srcset=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seekpro-768x1024.jpg 768w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seekpro-225x300.jpg 225w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seekpro.jpg 960w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\">Thermal view of a coffee pot. Note that Seek cameras don&#8217;t come with an extra RGB camera.<\/figcaption><\/figure>\n\n\n\n<p>The main advantage for the Seek cameras is that you can also use them on your computer with this great open source project: <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/OpenThermal\/libseek-thermal\" target=\"_blank\">libseek-thermal<\/a>. If you&#8217;re going to connect the Seek camera to your computer, you should also grab a <a rel=\"noreferrer noopener\" href=\"https:\/\/www.amazon.com\/UGREEN-Extension-Extender-Compatible-Thunderbolt\/dp\/B08MXL8JGF?pd_rd_w=0BC9K&amp;content-id=amzn1.sym.7f0cf323-50c6-49e3-b3f9-63546bb79c92&amp;pf_rd_p=7f0cf323-50c6-49e3-b3f9-63546bb79c92&amp;pf_rd_r=ZBG8Y3YFR8JDS3F1N6T3&amp;pd_rd_wg=wfHjl&amp;pd_rd_r=f7021e3c-512c-4f85-8f60-c40f9ec614cd&amp;pd_rd_i=B074K318JK&amp;th=1&amp;linkCode=ll1&amp;tag=sebmonmypasan-20&amp;linkId=e44b38637c431317963b46e90b63b102&amp;language=en_US&amp;ref_=as_li_ss_tl\" target=\"_blank\">USB-C extender<\/a>. If your computer doesn&#8217;t have a USB-C connector then you can simply grab a <a rel=\"noreferrer noopener\" href=\"https:\/\/www.amazon.com\/gp\/product\/B073XKK9MZ?ie=UTF8&amp;psc=1&amp;linkCode=ll1&amp;tag=sebmonmypasan-20&amp;linkId=c2f111564ee5f89d13f1c0b1dcd2b606&amp;language=en_US&amp;ref_=as_li_ss_tl\" target=\"_blank\">USB converter cable<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seek_usb.jpg\" alt=\"\" class=\"wp-image-569\" srcset=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seek_usb.jpg 1024w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seek_usb-300x200.jpg 300w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/seek_usb-768x512.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Seek Thermal CompactPRO camera with a USB-C extender<\/figcaption><\/figure>\n\n\n\n<p>You can now connect the camera to a computer, and by using libseek-thermal you should be able to see thermal images in real time(note that the library as of the time of writing doesn&#8217;t provide absolute temperature readings):<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"481\" src=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/coffe.png\" alt=\"\" class=\"wp-image-573\" srcset=\"https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/coffe.png 360w, https:\/\/www.samontab.com\/web\/wp-content\/uploads\/2023\/02\/coffe-225x300.png 225w\" sizes=\"auto, (max-width: 360px) 100vw, 360px\" \/><figcaption class=\"wp-element-caption\">Real-time view of a coffee pot from the CompactPro camera connected to a computer.<\/figcaption><\/figure>\n\n\n\n<p>So, to summarise, these two cameras are great for doing computer vision but each has some pros and cons, and the best one for you will depend on your specific requirements.<\/p>\n\n\n\n<p>If you need to do real time processing, then the best camera would be the <a rel=\"noreferrer noopener\" href=\"https:\/\/www.amazon.com\/Seek-Thermal-CompactPRO-Resolution-Imaging\/dp\/B07V34RFLW?crid=P71V3VSUD3LM&amp;keywords=Seek%2BThermal%2BCompactPRO&amp;qid=1675085755&amp;sprefix=seek%2Bthermal%2Bcompactpro%2Caps%2C315&amp;sr=8-3&amp;th=1&amp;linkCode=ll1&amp;tag=sebmonmypasan-20&amp;linkId=6d29875d6eee143aa8fc1c2add10753c&amp;language=en_US&amp;ref_=as_li_ss_tl\" target=\"_blank\">Seek Thermal CompactPRO (the one with USB-C)<\/a> connected to your computer through either a <a rel=\"noreferrer noopener\" href=\"https:\/\/www.amazon.com\/UGREEN-Extension-Extender-Compatible-Thunderbolt\/dp\/B08MXL8JGF?pd_rd_w=0BC9K&amp;content-id=amzn1.sym.7f0cf323-50c6-49e3-b3f9-63546bb79c92&amp;pf_rd_p=7f0cf323-50c6-49e3-b3f9-63546bb79c92&amp;pf_rd_r=ZBG8Y3YFR8JDS3F1N6T3&amp;pd_rd_wg=wfHjl&amp;pd_rd_r=f7021e3c-512c-4f85-8f60-c40f9ec614cd&amp;pd_rd_i=B074K318JK&amp;th=1&amp;linkCode=ll1&amp;tag=sebmonmypasan-20&amp;linkId=015fb412b916a6ab95c1142ebe166639&amp;language=en_US&amp;ref_=as_li_ss_tl\" target=\"_blank\">USB-C extender<\/a> or a <a rel=\"noreferrer noopener\" href=\"https:\/\/www.amazon.com\/gp\/product\/B073XKK9MZ?ie=UTF8&amp;psc=1&amp;linkCode=ll1&amp;tag=sebmonmypasan-20&amp;linkId=c2f111564ee5f89d13f1c0b1dcd2b606&amp;language=en_US&amp;ref_=as_li_ss_tl\" target=\"_blank\">USB converter cable<\/a>. You won&#8217;t have to worry about charging any batteries, and you&#8217;ll be able to get the thermal images in real time in your computer. The downside is that you won&#8217;t get absolute thermal information. This means you don&#8217;t know the exact temperature, you just know which areas are relatively hotter\/colder.<\/p>\n\n\n\n<p>If you don&#8217;t need to do real time processing, then any <a href=\"https:\/\/amzn.to\/4hHi1hS\" target=\"_blank\" rel=\"noreferrer noopener\">FLIR One<\/a> camera that is compatible with your phone should be fine. You will need to keep the battery charged, and use your phone to save the images using the FLIR official app. But once you have those images in your computer you can post process them and get the absolute temperature values for every pixel. You will also get an RGB view of the scene as well, which might be useful for certain applications.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Choosing the best USB thermal camera for computer vision<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,21,6,4],"tags":[65,63,64],"class_list":["post-558","post","type-post","status-publish","format-standard","hentry","category-computer-vision","category-open-source","category-photography","category-programming","tag-camera","tag-thermal","tag-usb"],"_links":{"self":[{"href":"https:\/\/www.samontab.com\/web\/wp-json\/wp\/v2\/posts\/558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.samontab.com\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.samontab.com\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.samontab.com\/web\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.samontab.com\/web\/wp-json\/wp\/v2\/comments?post=558"}],"version-history":[{"count":0,"href":"https:\/\/www.samontab.com\/web\/wp-json\/wp\/v2\/posts\/558\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.samontab.com\/web\/wp-json\/wp\/v2\/media?parent=558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.samontab.com\/web\/wp-json\/wp\/v2\/categories?post=558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.samontab.com\/web\/wp-json\/wp\/v2\/tags?post=558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}