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

.seq from FLIR research Studio not processed #62

Open
fclairec opened this issue Nov 30, 2021 · 1 comment
Open

.seq from FLIR research Studio not processed #62

fclairec opened this issue Nov 30, 2021 · 1 comment

Comments

@fclairec
Copy link

Hi, this is not an issue, but rather a question.

I have a .seq file recorded by Flir Research Studio (https://syncandshare.lrz.de/getlink/fi36fXbGE9pyqEVuDSfqeDrh/Rec-FLIR_A50_89800406-308_14_33_55_913-0120-IR.seq).

I have only little knowledge about the structure of the files, but it seems to be in a different format than what is required by this library. I would be willing to extend your library in a way that it is abe to read this file too. However I would appreciate some pointers on what might be the issue here.
The video has 51 frames and the log after calling the splitter says:

0%|          | 0/1 [00:00<?, ?it/s]
 0%|          | 0/51 [00:00<?, ?it/s]
 0%|          | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
 File "C:/Projekte/tir_exploration/exploration.py", line 10, in <module>
   sp.process(input_location)
 File "C:\Users\ge37mof\Anaconda3\envs\tir_36\lib\site-packages\flirpy\io\seq.py", line 144, in process
   self._process_seq(seq, folder)
 File "C:\Users\ge37mof\Anaconda3\envs\tir_36\lib\site-packages\flirpy\io\seq.py", line 197, in _process_seq
   for count, frame in enumerate(tqdm(Seq(input_file, self.height, self.width))):
 File "C:\Users\ge37mof\Anaconda3\envs\tir_36\lib\site-packages\tqdm\std.py", line 1180, in __iter__
   for obj in iterable:
 File "C:\Users\ge37mof\Anaconda3\envs\tir_36\lib\site-packages\flirpy\io\seq.py", line 79, in __getitem__
   return Fff(chunk, self.width, self.height)
 File "C:\Users\ge37mof\Anaconda3\envs\tir_36\lib\site-packages\flirpy\io\fff.py", line 41, in __init__
   self._get_image_size()
 File "C:\Users\ge37mof\Anaconda3\envs\tir_36\lib\site-packages\flirpy\io\fff.py", line 81, in _get_image_size
   assert res[1] == res[3]+1
AssertionError

Process finished with exit code 1

Thanks a lot in advance.

BR

@jveitchmichaelis
Copy link
Contributor

Hi @fclairec apologies for the very long delay,

I think this issue should now be fixed in main. If you still have that SEQ file lying around it'd be great if you could try this again to check that the images are correctly loaded.

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

2 participants