On some videos where the pupil ROI is close to the boundaries of the frame, I had the issue of adjusting the pupil ROI to the eye without the software crashing. Indeed, when you try to enlarge the pupil ROI and it happens to cover an area that is out of frame when you release the enlarging, the software crashes with this error
File "c:\users\user\work\faceit\faceit\lib\site-packages\FACEIT_codes\GUI_Intractions.py", line 331, in mouseReleaseEvent
_ = self.parent.Display_handler.display_sub_region(self.parent.sub_region,"pupil")
File "c:\users\user\work\faceit\faceit\lib\site-packages\FACEIT_codes\display_and_plots.py", line 355, in display_sub_region
processed = sub_region.copy()
AttributeError: 'NoneType' object has no attribute 'copy'
It would be nice if it doesn't crash and maybe just gives a warning, and give an error message if you try to apply changes on the pupil ROI/process the pupil.
On some videos where the pupil ROI is close to the boundaries of the frame, I had the issue of adjusting the pupil ROI to the eye without the software crashing. Indeed, when you try to enlarge the pupil ROI and it happens to cover an area that is out of frame when you release the enlarging, the software crashes with this error
It would be nice if it doesn't crash and maybe just gives a warning, and give an error message if you try to apply changes on the pupil ROI/process the pupil.