Closed telelu03 closed 7 years ago
See here for my initial review. Here's my overall review: Folder Structure: None ?? What is going on here? Your files should not be in the root project folder like that. Please move them to their appropriate sub-folders to follow our organization schema.
Print Statements: Should only be used for exceptions
Modular: Currently, all the code runs as a script. Please change this to be in methods so that it can be incorporated into the rest of the pipeline. As of now this code is NOT usable as it cannot be included in the rest of the project
Also what is that zip folder? Please remove it.
Yeah most of the print statements are just for my benefit to see what's going on...I can change/take them out. Gonna change the module with your suggestions
Why is the file called processfolder2.py?
Why delete the imgProcess file? You might be right in doing so, I'm just curious.
@telelu03 now would be as good a day as any to respond.
@asclines I called it processFolder2.py just to distingish it from my earlier version...I can change the name back.
@ZakeryFyke the imgProcess.py module was more of a Knowledge Acquisition thing rather than an actual module...I shouldn't have added it in the first place.
@telelu03 yeah, go ahead and remove the 2 as we don't need version control in our naming. That's why we are on GitHub in the first place. Also, when you are renaming it, why don't you go ahead and rename it process_folder.py
to follow our coding style.
Where's the testing?
@asclines gonna work on tests and documentation over the break
@telelu03 You say a few times here that these functions convert images to numpy arrays. What's the actual content of the numpy array? At one point you say that the image is being converted to a numpy array, but at another you say the function returns a numpy array of images.
@telelu03 Question regarding the contents of the Numpy array still stands.
That's my fault, I was unclear with the wording on get_image_array. The array it returns contains pixel info on the image, and the function returns an array of these arrays
I don't know how my module ended up not being a Python file. Has been fixed
Okay...this should be better. :)
I'm still working on getting the pixel information into another consumable format, should be done by either tonight or tomorrow night.