Object detection fix
Merge pull request #227 from mpal9000/dev2

Object detection fix