1460747035-4b0a5fd6-176b-488d-9780-de7f4c314b78

1. A computer-implemented method of analysing a queue comprising the steps of:
(a) obtaining, by a computer processor, a first image acquired at a first time of a first position within a queue;
(b) obtaining, by the computer processor, a second image acquired at a second time of a second position within the queue;
(c) detecting, by the computer processor, a queue member within the first image;
(d) detecting, by the computer processor, a queue member within the second image;
(e) determining, by the computer processor, that the queue member detected within the second image is the same as the queue member detected within the first image; and
(f) determining, by the computer processor, a trajectory of the queue member within the queue based on a difference between the first time and the second time.
2. The method of claim 1 further comprising obtaining further images of further positions within the queue and detecting the queue member within these further images.
3. The method of claim 1, wherein the images overlap.
4. The method according to claim 1, wherein the positions within the queue are selected from the front of the queue, back of the queue, and the middle of the queue.
5. The method according to claim 1, wherein further pairs of images are obtained, used to detect the queue member, and determine their trajectory, wherein each pair of images includes at least one common point in the queue.
6. The method according to claim 1, wherein determining the trajectory further includes the step of forming the trajectory from two or more other trajectories.
7. The method according to claim 6, wherein determining that the queue member detected within the second image is the same as the queue member detected within the first image is based on similarities of visual appearances of the queue member within each image.
8. The method of claim 7, wherein determining a trajectory of the queue member within the queue further comprises the step of applying a Munkres assignment algorithm to the two or more other trajectories and the similarities of the visual appearances of the queue member within each image.
9. The method according to claim 1, wherein detecting the queue member within an image further comprises selecting a group of pixels containing the queue member.
10. The method according to claim 1, wherein determining a trajectory of the queue member within the queue is further based on the queuing distance between the first position and the second position.
11. The method according to claim 1, further comprising the step of determining from the trajectory a total queuing time for the queue member.
12. The method according to claim 1, further comprising iterating steps (a) to (f) to determine a plurality of trajectories.
13. The method of claim 12 further comprising determining an average trajectory from the plurality of trajectories.
14. The method of claim 13, further comprising the step of determining an average queue time from the average trajectory.
15. A system for analysing a queue comprising:
a processor configured to:
(a) receive a first image acquired at a first time of a first position within a queue;
(b) receive a second image acquired at a second time of a second position within the queue;
(c) detect a queue member within the first image;
(d) detect a queue member within the second image;
(e) determine that the queue member detected within the second image is the same as the queue member detected within the first image; and
(f) determine a trajectory of the queue member within the queue based on a difference between the first time and the second time.
16. The system of claim 15 further comprising a first and a second camera arranged to capture the first and second images, respectively.
17. The system of claim 16, wherein the first and second cameras are arranged to have partially overlapping views of the queue.
18. The system according to claim 15 further comprising a user interface configured to receive a signal indicating the first and the second positions of the queue on the first and second images.
19. The system of claim 18, wherein the first or second positions of the queue are selected from: the start of the queue, an intermediate position in the queue, and the end of the queue.
20. One or more non-transitory computer readable media storing computer readable instructions that, when executed, cause a system to perform a method of analyzing a queue by:
obtaining a first image acquired at a first time of a first position within a queue;
obtaining a second image acquired at a second time of a second position within the queue;
detecting a queue member within the first image;
detecting a queue member within the second image;
determining that the queue member detected within the second image is the same as the queue member detected within the first image; and
determining a trajectory of the queue member within the queue based on a difference between the first time and the second time.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1: An antidismantling device for preventing dismantling of a hand-gun when a cartridge is present in the barrel (102) of the hand-gun, said barrel (102) being mounted in a breech block (110), and a sensor element (123), which is biased at least indirectly in the direction of the longitudinal axis (143) of the barrel (102), is located in the breech block (110) and comprises in the region of one end thereof at least indirectly a contact surface (121) for making contact with part of a cartridge (101) and assumes a position in relation to the breech block (110) when a cartridge (101) is present in the barrel (102) which differs from the position thereof assumed in the absence of a cartridge (101) in the barrel (102) and the sensor element (123) interacts at least indirectly with a safety mechanism (141) provided on the grip of the hand-gun in order to prevent dismantling of the breech block (110) when a cartridge (101) is present in the barrel (102) of the hand-gun wherein the sensor element is in the form of a guide pin which is biased at least indirectly in the direction of the longitudinal axis of the barrel and is slidably mounted in a bearing in the breech block, and one end of the guide pin at least indirectly abuts a contact surface for making contact with part of a cartridge and the guide pin (123) comprises a bearing surface (124) for functioning coactively with a pressure piece (131), which is biased by a spring (130) and which urges the indicator element (120) and thus the contact element (122) in the direction of the longitudinal axis of the barrel (102).
2: The device as defined in claim 1, wherein the safety device (141) is formed by a guide means (127) of the hand-gun provided on a grip of the hand-gun and aligned parallel to the longitudinal axis of the breech block (110) and formed on the breech block guide (140) of the hand-gun.
3: The device as defined in claim 2, wherein a recess (126) is provided near the other end (125) of the guide pin (123), which recess is dimensioned in such a way that the guide means (127) can be inserted in the recess only in the absence of a cartridge (101) in the barrel (102).
4: The device as defined in claim 2, wherein the guide means (127) is formed by the breech block guide (140) of the gun.
5: The device as defined in claim 3, wherein the guide pin (123) is connected to a contact element(122), on which the contact surface (121) that makes contact with part of a cartridge (101) is formed.
6: The device as defined in claim 5, wherein the contact element (122) is in the form of a pin which is at a predefined angle in relation to the guide pin (123) and is mounted in a bearing (113) of the breech block (110) in such a way that its free end (125) is disposed in the region of a lateral surface 112 of the breech block.
7: The device as defined in claim 6, wherein said angle is from approx. 35\u2032 to 65\xb0.
8: The device as defined in claim 1, wherein the guide pin (123) comprises a bearing surface (124) for functioning coactively with a pressure piece (131), which is biased by a spring (130) and which urges the indicator element (120) and thus the contact element (122) in the direction of the longitudinal axis of the barrel (102).
9: The device as defined in claim 3, wherein the recess of the guide pin (123) is preferably moved in such a way that, when a cartridge (101) is present in the barrel (102), the free end (125) of the guide pin (123) obstructs insertion of the guide means (127) and prevents removal of the breech block (110).
10: The device as defined in claim 6, wherein a subregion of the breech block guide (140) comprises a shift gate (141) acting as a safety device for interaction with the free end (125) of the guide pin (123).
11: The device as defined in claim 6, wherein a subregion of the breech block guide (140) comprises a shift gate (141) for interaction with the recess (126) in the guide pin (123).
12: The device as defined in claim 5, wherein a contact element (122) is disposed in an upper region of the breech block (110) and is mounted such that when a cartridge (101) is present in the barrel (102), the contact element projects from that region of the surface (111) of the breech block that is centrally disposed in relation to the lateral surfaces (112) of the breech block, in order to act as an optical andor tactile indicator element (120) for indicating the presence of a cartridge (101) in the barrel (102).
13: The device as defined in claim 12, wherein the indicator element (120) is guided at least partly in a recess (103) of the barrel (102).
14: The device as defined in claim 12, wherein the indicator element (120), the contact element (122), and the guide pin (123) are formed as a single piece.