Closed powerswing closed 3 years ago
- saveImage2Numpy (before loadJPGToNumpy) does not save a numpy array, it loads an image and converts it to numpy array and returns it. I think we can change parameters from (filename, dir, image_type) to (path, image_type)
- visualizeImage_Box rename to visualizeImageBox. Also, in the description it says "...should be in the following format: [xmin, ymin, xmax, ymax, ...]". The box format should be "[ymin, xmin, ymax, xmax, ...]"
addressed both issues - next time use suggestions
i think we can safely merge this - i haven't changed much code-wise (only argument positions in some functions and function names)
this may throw errors when running functions that depend on those functions but this will be easily fixed
reviewed and discussed.
This PR fixes formatting in scripts mentioned in #16.