ProGamerGov
ProGamerGov
So starting with a folder containing a bunch of images with faces, it looks like the script is not that clear. Do I need to use a CSV file? Or...
Should I be using OpenCV2 or OpenCV3? Which version of Python do the scripts use?
Ok, I installed OpenCV3, Dlibm and OpenBLAS via: https://www.learnopencv.com/install-opencv3-on-ubuntu/ https://www.learnopencv.com/install-dlib-on-ubuntu/ `sudo apt-get install libopenblas-dev` Trying to run your code results in: ``` ubuntu@ip-Address:~/Golfer-face-analysis$ python Image_processing/Reshape.py Traceback (most recent call last):...
Python3 versus Python2.7: ``` ubuntu@ip-Address:~/Golfer-face-analysis$ python3 Image_processing/meansd.py Traceback (most recent call last): File "Image_processing/meansd.py", line 7, in images = os.listdir(base) FileNotFoundError: [Errno 2] No such file or directory: '../Pictures/Worked/' ubuntu@ip-Address:~/Golfer-face-analysis$...
So OpenCV3 and Python3 seem to work for the Reshape script, once I changed the directory names to match where I put the images. So Reshape.py appears to have made...
Running Combine.py on the unmodified Images: ``` ubuntu@ip-Address:~/Golfer-face-analysis/Image_processing$ python3 Combine.py OpenCV Error: Sizes of input arguments do not match (The operation is neither 'array op array' (where arrays have the...
So Size.py requires 3 folders. I think that maybe the "Left" folder and "Right" Folder are for images that a flipped horizontally or something like that? Though when running that,...
Using Reshape.py with the provided example images located at: https://github.com/SoumitraAgarwal/Golfer-face-analysis/tree/master/Pictures/Right, outputs the images with the faces and everything properly aligned, with a blocky cropping that removed most of the background....
So after using Reshape.py, I then used Combine.py on all the centered images. This created the final averaged output! Though Combine.py did have some weird error: ``` ubuntu@ip-Address:~/Golfer-face-analysis/Image_processing$ python3 Combine.py...
Every custom image that I try with Reshape.py ends up either completely black, or with some random cropped/zoomed in section.