I noticed that modules are imported before we even analyze command line arguments. Since running something like --help shouldn't do any calculations, there is no reason to import bulky modules like OpenCV at the very beginning. I think that we should analyze command line args and then import everything.
I noticed that modules are imported before we even analyze command line arguments. Since running something like
--help
shouldn't do any calculations, there is no reason to import bulky modules like OpenCV at the very beginning. I think that we should analyze command line args and then import everything.