This is a challenging concept development for identifying fruit with seeds which are coming in a packaging linefeed. This gate or mechanism will notify and segregate such fruits from the final packaging.
This was designed and manufactured for a Canadian firm.
https://www.youtube.com/watch?v=7NJGYADExwI&t=2s