object identification - detect corners (optimized)