![]() ![]() Xenmuse XTR (thermal + thumbnail, set the subject distance to 1 meter).save_images(self, min=5, max=100) can be used to set global minimum and maximum temperature values so that multiple images can be process with the same scale. For a list of available matplotlib colormaps click here. You can define the pallete(s) that you would rather use when creating the class (see example). By default it will output three images using the bwr, gnuplot, and gist_ncar colormaps from matplotlib. The function save_image saves the thermal image(s) in the same folder as the original image. The functions get_rgb_np and get_thermal_np yield numpy arrays and can be called from your own script after importing this library. ![]() The function check_for_thermal_image will check the metadata of the image to see if it contains thermal information. ![]() The original temperature array is available using either the get_thermal_np or export_thermal_to_csv functions. This script will show an interactive plot of the thermal image using matplotlib and save three image files ax8_thermal_jet.jpg, ax8_thermal_bwr.jpg, and ax8_thermal_gist_ncar.jpg. sudo apt updateįlir = flirimageextractor.FlirImageExtractor(palettes=) ![]() It also requires other python packages, matplotlib, numpy and pillow, which are installed when installed through pip. Links for downloading the Mac version and more information is available on the ExifTool site. as perl-image-exiftool in Arch Linux or libimage-exiftool-perl in Debian and Ubuntu). It should be available in most Linux distributions (e.g. This small Python tool/library allows to extract the original photo and thermal sensor values converted to temperatures.įind the docs here. The resulting image is saved as a jpg image but both the original visual image and the raw thermal sensor data are embedded in the jpg metadata. The latter is used to enhance the thermal image using an edge detector. Also let me know if you are successful in using this on cameras not listed below.įLIR® thermal cameras like the FLIR ONE® include both a thermal and a visual light camera. The email address attached to this on PyPi may not be monitored, open issues on the GitHub repo to ensure a responseįeel free to submit any pull requests or issues, this is in active development. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |