friendblend package¶
Subpackages¶
Submodules¶
friendblend.global_vars module¶
Stores all global values
friendblend.helpers module¶
Helper stuff, non core logic functions
-
friendblend.helpers.
fmt_print
(string, thresh_len=70)[source]¶ Formats stuff for printing ensures that len(output) is around thresh_len
-
friendblend.helpers.
log_all_in_module
(module, log_entry=True, log_exit=True)[source]¶ Adds the logging decorator to all methods in class
-
friendblend.helpers.
log_all_methods
(log_entry=True, log_exit=True)[source]¶ A decorator which logs all methods in a class
friendblend.main module¶
The FriendBlend pipeline
-
class
friendblend.main.
Blend
(**kwargs)[source]¶ Bases:
object
Blend two images with friends into one
-
imload
(img_path, mode: int = 1, ensure_success: bool = False) → numpy.ndarray[source]¶ Loads an image Dies if ensure_success is true and image read error occurs
-