Functions to read from numpy array and write to imageset descriptor file

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>