phase 2: piece detection the second part of this project, taking the segmented cube and finding the pieces per face