Cracked egg recognition based on machine vision