First attempt at image processing for competition