Here’s how the project turned out: And the code for the project: import cv2 import numpy as np import argparse import math from scipy.spatial import distance #ap = argparse.ArgumentParser() #ap.add_argument(“-i”, “–image”, required = True, help …
IPD Detection
In conclusion
1) Describe your final project. What have you accomplished over the course of the semester? The goal of my final project was to create an IPD (inter-pupillary distance) calculator, i.e a program that detects and …
Final Week
Last week was spent trying different camera calibration methods. A few days were spent on the checkerboard method, a few more on sticky notes and other color detection. Many problems cropped up with both these methods. …
Week 11
It took some time to get it to work, but with trial and error and cutting out multiple combinations of checkerboards, I might have got OpenCV to detect the board. The problem was the pattern …
Week 10
This week, a chessboard pattern was printed out and tested with multiple pictures of my face and my roommate Julian’s face. OpenCV’s chessboard detector method wouldn’t quite work on us but the problem seems to …
After some trial and error for finding the distance in pixel, a (potentially tentative) solution has been found. Actually, two different solutions were found which yielded me different results with the picture I was testing: …
Week 8
This week’s post won’t involve many useful screenshots as most my time was spent 1) trying to get things to work 2) looking into how to calculate the IPD in pixels This post comes a …
Weeks 6&7
These two weeks, a lot of time was spent debugging and working on both photos and webcam (although photos will be focused on from now on). A lot of time was spent on getting to …
Week 3
This week, I installed PyCharm and attempted to install all the necessary packages to it (nimpy and cv2). I tried to learn how to run a file remotely through the interpreter and how to organize …
Week 2
This week, I had to make some adjustments to my goals for multiple reasons – first being that this was another one of my pretty heavy workload weeks with regards to classes. This shouldn’t be …