9. The method of claim 1 , wherein n is selected from the group consisting of: a predetermined value determined according to the degree of similarity of the objects in proximity to the target object, a predetermined value determined according to the frequency of passing objects in proximity to the target object, and a configurable value selected by a user.
1. A method of identifying in one or more images captured by a second camera a target object captured by a first camera, the method implemented on a processor and comprising: storing in a non-transitory computer readable memory operatively coupled to the processor a first set of trained classifiers and a second set of trained classifiers, wherein the 1 st set specifies values corresponding to a first plurality of attributes usable for identifying objects captured by the first camera, and the second set differs from the first set and specifies values corresponding to a second plurality of attributes usable for identifying objects captured by the second camera, wherein the first set of trained classifiers and second set of trained classifiers are trained independently, and wherein the first plurality of attributes and second plurality of attributes have at least one attribute in common; generating, by the processor, using one or more images captured by the 1 st camera, a reference platoon of n objects, the reference platoon comprising the target object and (n−1) other objects; generating, by the processor, a reference group by running the first set of trained classifiers over the reference platoon, the reference group being indicative of values of attributes specified by the 1 st set of trained classifiers and characterizing the objects in the reference platoon; generating, by the processor, using one or more images captured by the 2 nd camera, a plurality of candidate platoons, each candidate platoon comprising n objects, wherein the one or more images are captured by the 2 nd camera in a time window corresponding to the time of capturing by the 1 st camera the one or more images used for generating the reference platoon; generating, by the processor, a plurality of candidate groups, each candidate group obtained by running the 2 nd set of trained classifiers over a respective candidate platoon, each candidate group being indicative of values of attributes specified by the 2 nd set of trained classifiers and characterizing the objects in the corresponding candidate platoon; selecting, by the processor, a candidate platoon corresponding to a candidate group best matching the reference group; identifying, by the processor, the target object in the selected candidate platoon in accordance with a position of the target object in the reference platoon.