Skip to content

ekarpovs/operation_loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Processing Workshop Operation Loader

It is a part of the Image Processing Workshop project. The package loads an operation (function) from a module that implement an image-processing algorthms without additional coding

File system structure

Anywhere in a file system:

|
|__ /modules/ __ Python scripts that implemented sets of simple image-processing operations
|    |
|    |__init__.py - the 'modules' package declaration
|   

This package:


|__ /operation_loader/ The package files
|

Local Installation

  • Run the commands:
cd operation_loader
pip install . --use-feature=in-tree-build

Usage

- In a script:
  - import operation_loader;
  - set system path to all modules that will be used: operation_loader.set_sytem_path(path);
  - load a function from a module: f = operation_loader.get(module.func)
  - use the loaded fuction in the script without additional coding.

Run test

python tester.py -p <path to a directory where a module is located> -f <function name in form module.func>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages