Imported from https://github.com/makefile/frcnn