1. A method comprising: receiving an image of a plurality of objects; detecting objects in the received image; generating a region of interest for each detected object in the received image; generating a plurality of unique raster numbers for each region of interest using a raster number equation by varying parameters of the raster number equation based on pixel coordinates of each region of interest; determining a plurality of sequence positions for each region of interest using the plurality of unique raster numbers; and determining a final sequence position for each region of interest using the plurality of sequence positions for each region of interest.