GitHub project is here, including examples of all angles considered: https://github.com/LasseD/BrickCounting