finished code to extract eye crops