Imported from https://github.com/raycad/object-detection