@@ -528,15 +528,16 @@ def get_vr_projection_config(self, image :np.ndarray) -> dict:
528528 return config
529529
530530
531- def __show_loading_screen (self , shape : tuple ) -> None :
531+ def __show_loading_screen (self , shape : tuple , txt : str = "Please wait..." ) -> None :
532532 """ Show an loading screen
533533
534534 Args:
535535 shape (tuple): image shape of loading screen
536+ txt (str): text to display
536537 """
537538 try :
538539 background = np .full (shape , 0 , dtype = np .uint8 )
539- loading_screen = self .drawText (background , "Please wait ..." )
540+ loading_screen = self .drawText (background , txt )
540541 cv2 .imshow (self .window_name , self .preview_scaling (loading_screen ))
541542 cv2 .waitKey (1 )
542543 except : pass
@@ -552,7 +553,7 @@ def get_bbox(self, image: np.ndarray, txt: str) -> tuple:
552553 Returns:
553554 tuple: the entered box tuple (x,y,w,h)
554555 """
555- image = self .drawText (image , "Press 'space' or 'enter' to continue (sometimes not very responsive) " ,
556+ image = self .drawText (image , "Select area with Mouse and Press 'space' or 'enter' to continue" ,
556557 y = 75 , color = (255 , 0 , 0 ))
557558
558559 if self .params .use_zoom :
0 commit comments