A method that may include feeding an input image and downscaled versions of the input image to multiple branches of an object detector calculating, by the multiple branches, candidate bounding boxes; and selecting bounding boxes. The multiple branches comprise multiple shallow neural networks that are followed by multiple region units. Each branch includes a shallow neural network and a region unit. The multiple shallow neural networks are multiple instances of a single trained shallow neural network. The single trained shallow neural network is trained to detect objects having a size that is within a predefined size range and to ignore objects having a size that is outside the predefined size range.
METHOD FOR OBJECT DETECTION USING SHALLOW NEURAL NETWORKS