15. A method for expanding a dataset of images usable to train a neural network, the method comprising: extracting, by a processor, a mask corresponding to at an image included in a dataset; augmenting, by the processor, the image, to generate a synthetic image including the image overlaid on a new background image; and training, by the processor, the neural network using the synthetic image, wherein the training comprises: generating, from the neural network, a heat map by convolving a query object representation defining features of the query object with overlapping regions of a synthetic image representation defining features of the synthetic image, wherein the heat map identifies a location of pixels corresponding to the query object within the synthetic image, and generating an updated synthetic image using the heat map.
17. The method of claim 15 , wherein augmenting the image further includes transforming the image using one of the following: an affine transformation, a tear, blurring, noise, a pillar-box, transparency, a light adjustment, a resolution adjustment, or occlusion.