How to detect objects

TODO