Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new File SDK from FLIR #5

Open
SReich-EMI opened this issue Mar 8, 2021 · 6 comments
Open

new File SDK from FLIR #5

SReich-EMI opened this issue Mar 8, 2021 · 6 comments

Comments

@SReich-EMI
Copy link

Hi,
there is a new File-SDK from FLIR which directly supports Python. It is available from the FLIR download page or here in GitHub under:
https://github.com/gcathelain/thermalcognition/tree/master/FLIR%20Science%20File%20SDK

Is there an interest for this project to switch to the file-SDK? I transvered my own code basing on this project with the new SDK and it is much faster than the split_by_marker!
I maybe couldd helpt with coding.

@rakshith95
Copy link
Collaborator

@rsnk96 check this out

@rsnk96
Copy link
Member

rsnk96 commented Jun 9, 2021

Hi @SReich-EMI

Apologies for the delayed response on this, it's been a while.

I am unable to find any details about the licensing of the Flir Science SDK, do you know if it can be used in other Open Source projects? If yes, then we can definitely try to integrate, seeing that it would help cover a broader spectrum of FLIR formats

Also, a heads up on where this project is heading - we've recently managed to integrate decoding and analysis of other Thermal formats like the DJI-format (used by DJI Thermal Analysis tool). Additionally, the current master branch of the repo would only work on FLIR-tiff-encoded-thermal-images. Hence, it would not work on data from cameras on the likes of FLIR T640, etc which use FLIR-png-encoded-thermal-images. This is also something that we have addressed, and will be adding back to this version of the repository soon! 😃

@SReich-EMI
Copy link
Author

Hi,
here is the license you have to agree when installing the File-SDK:

Computer Software License Agreement for FLIR Systems, Inc.

NOTICE TO USER: This is a Contract.

FLIR is willing to license the Software identified as FLIR Science File SDK to You only on the condition that You accept all of the terms and conditions contained in this License Agreement. Please read the terms and conditions carefully before installing or using the software. By installing or using the software, You are indicating Your acceptance of this Agreement. If You do not agree to the terms of this Agreement, FLIR is unwilling to license the software to You. In that event, You should not install or use the Software.

  1. Scope of Permitted Use: In this Agreement, "Software" shall mean the machine readable software programs and associated files identified as FLIR Science File SDK, any modified version, upgrades or other copies of such programs and files, and any associated media and printed materials. You have the nonexclusive right to install and use the Software on a single central processing unit. Only one copy of Your licensed Software may be made by and for You for backup purposes. You may not make or distribute any other copies of the Software, nor does this license permit You to allow multiple users access to a single copy of the Software via a computer network. You may not resell or redistribute the Software.

  2. Proprietary Rights: The Software is owned by FLIR and/or its suppliers and You acknowledge that the structure, organization and/or code to the Software is/are the valuable trade secret(s) of FLIR. You agree to hold such trade secret(s) in confidence. You further agree not to translate, decompile, disassemble, modify, reverse engineer, or otherwise attempt to discover the source code of the Software, in whole or in part. The Software is protected by United States Copyright Law and International Treaty provisions.

  3. No Other Rights: FLIR retains title and ownership to any and all copies of the Software whether transmitted electronically or recorded as diskette copies and all subsequent copies of the Software, regardless of the form or media in or on which the original and other copies may exist. Except as expressly stated, this Agreement does not grant You any rights to patents, copyrights, trade secrets, trademarks or any other rights with respect to the Software.

  4. Term: The Agreement is effective until terminated. This Agreement shall terminate automatically upon failure by You to comply with any of its terms. FLIR also has the right to terminate Your license immediately at any time. Upon any such termination, You must destroy the original and any copies of the Software. However, any terms of this Agreement which can reasonably be construed to protect FLIR will survive its termination.

  5. NO WARRANTY: This Software is being delivered to You AS IS and FLIR makes no warranty as to its use or performance. FLIR AND ITS SUPPLIERS DO NOT AND CANNOT WARRANT THE PERFORMANCE OR RESULTS YOU MAY OBTAIN BY USE OR INABILITY TO USE THE SOFTWARE OR THE DOCUMENTATION. FLIR MAKES NO WARRANTIES, EXPRESS OR IMPLIED AS TO NON-INFRINGEMENT OF THIRD PARTY RIGHTS, MERCHANTABILITY, OR FITNESS FOR ANY PARTICULAR PURPOSE.

  6. WARNING: THIS SOFTWARE IS NOT DESIGNED NOR TESTED FOR A LEVEL OF RELIABILITY SUITABLE FOR USE IN THE DIAGNOSIS OR TREATMENT OF HUMANS OR AS CRITICAL COMPONENTS IN ANY LIFE SUPPORT OR OTHER INFORMATION SYSTEMS THE FAILURE OF WHICH CAN REASONABLY BE EXPECTED TO CAUSE PERSONAL INJURY. THE SOFTWARE CONTAINS BUGS AND INACCURACIES. WHEN YOU USE IT, YOU CAN EXPECT INCORRECT RESULTS, ERRORS, OR ANOMALIES. YOU AGREE TO TAKE PRECAUTIONS TO OFFSET SUCH RISKS, SUCH AS TO MAINTAIN FULL BACKUPS OF STORAGE MEDIA AND TO NOT USE THE SOFTWARE WHERE PERSONAL INJURY OR PROPERTY DAMAGE MAY RESULT.

  7. LIMIT OF LIABILITY: IN NO EVENT SHALL FLIR BE LIABLE TO YOU FOR ANY CONSEQUENTIAL OR INCIDENTAL, INDIRECT, SPECIAL, OR PUNITIVE DAMAGES, INCLUDING ANY LOST PROFITS OR OPPORTUNITIES, EVEN IF A FLIR REPRESENTATIVE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Your sole remedy for any claim is to obtain one (1) replacement copy of the Software from FLIR for each copy You have lawfully obtained and which You return to FLIR. YOU AGREE THESE ARE YOUR ONLY REMEDIES EVEN IF THEY FAIL OF THEIR ESSENTIAL PURPOSE(S).

Some states may not allow the above exclusion or limitation of warranties, remedies or damages, so the above exclusions or limitations may not apply to You. This warranty gives You specific legal rights. You may have other rights which vary from state to state or province to province. For further warranty information, contact FLIR.

  1. Governing Law: This Agreement will be governed by the laws of the State of Florida, U.S.A. This Agreement will not be governed by the United Nations Convention on Contracts for the International Sale of Goods, the application of which is expressly excluded. You agree that the Software will not be shipped, transferred, or exported into any country or used in any manner prohibited by the United States Export Administration Act or any other export laws, restrictions, or regulations. Without limiting the foregoing, the Software may not be exported to Iran, Iraq, Libya, Syria, Cuba, or North Korea, or any nation with which the U.S. Government has embargoed trade. To gain access to the Software, You are certifying that You are not a national of one of these nations and will not permit anyone who is a citizen of one of these nations to have any access to the Software whatsoever.

  2. Entire Agreement: You acknowledge that You have read this Agreement, understand it and that it is the complete and exclusive statement of Your agreement with FLIR which supersedes any prior agreement, oral or written, between FLIR and You. No variation of the terms of this Agreement will be enforceable against FLIR unless FLIR gives its express consent, in writing signed by an officer of FLIR.

  3. Notice to Government End Users: If this Software is acquired by or on behalf of any unit or agency of the United States Government, this provision applies. This Software (a) is a trade secret of FLIR for all purposes of the Freedom of Information Act, (b) is provided with RESTRICTED RIGHTS in accordance with subparagraphs (c)(1) and (2) of the Commercial Computer Software-Restricted Rights Clause at 48 CFR 52.227-19, (c) in all respects is proprietary data belonging solely to FLIR, and (d) all rights are reserved under the copyright laws of the United States. For units of the Department of Defense (DoD), this Software is licensed only with "Restricted Rights" as set forth in subparagraph (c)(1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and 7014. Government users other than under a DoD or GSA contract are notified that use of this Software is subject to restrictions that are the same as or similar to those set forth above, and FLIR are trademarks of FLIR. Unauthorized use prohibited.

@rsnk96
Copy link
Member

rsnk96 commented Jun 16, 2021

Seems mostly alright, except that every user would have to download a copy of the library individually by themselves

Thanks for sharing this @SReich-EMI , it'll definitely help expand the compatibility with different FLIR formats. We'll evaluate integrating this and get back on the same. Do also share your thoughts on the new UI when it's out.

Closing this issue for now, we can reopen it when the integration is evaluated.

@rsnk96
Copy link
Member

rsnk96 commented Aug 21, 2021

Hey @SReich-EMI

Do give the new UI a shot, let us know your thoughts!

@SReich-EMI
Copy link
Author

Hey,
I have checked, but the real read in of the seq-video files has moved to
https://github.com/detecttechnologies/thermal_base/blob/main/thermal_base/thermal_base.py
There the class ThermalSeqVideo could be written complete new with the help of the File-SDK. As I have developed my scripts from an older version in here, I can not directly transfer my code. But I can give my code. Then it should be easy to implement. As long as I don't use any GUI, I'm not familiar with all the details of thich package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants