image_analysis.utils package

Submodules

image_analysis.utils.fps module

class image_analysis.utils.fps.FPS[source]

Bases: object

DESCRIPTION:
calculates frames per seconds
elapsed()[source]
DESCRIPTION:
calculate elapsed
fps()[source]
DESCRIPTION:
returns the fps
start()[source]
DESCRIPTION:
start timer
update()[source]
DESCRIPTION:
update timer and number of frames

image_analysis.utils.utils module

image_analysis.utils.utils.load_mult_images(dirname, exts=None, batchsize=1)[source]
DESCRIPTION:
Load multiple images at once into batches
ARGS:
dirname:directory of the images
exts:acceptable file extensions (must be a tuble)
batchsize:size of the batches
image_analysis.utils.utils.timeit(thresh=None, classname='')[source]
DESCRIPTION:
python decorator to time functinos
ARGS:
thresh:minimum speed allowed. Throws error if function is slower than thresh
classname:class where the function you timing is located

Module contents