Embodiments disclosed herein generally relate to a counting system, and more particularly, to calibrating the counting system, e.g., via a mobile device.
Generally, a counting system may track objects, such as individuals passing through one or more areas within the field of view of a camera of the counting system, and maintain a count of each object. The counting system may include multiple devices that serve various functions. Prior to use, the counting system is calibrated to ensure that individuals are accurately tracked for the given area (or areas) being monitored. However, the calibration process often requires extensive tuning and can still be subject to repeated trial and error to achieve accuracy. As a result, performance of the counting system may be significantly impacted.
Embodiments disclosed herein provide a method for calibrating a device having a stereoscopic camera. The method generally includes calibrating the stereoscopic camera using a target provided by a mobile device. The method also includes generating one or more zones each defining an area in a field of view of the calibrated stereoscopic camera. The method also generally includes refining the one or more zones based on input provided by the mobile device.
Another embodiment disclosed herein provides a computer-readable storage medium storing instructions, which, when executed, performs an operation for calibrating a device having a stereoscopic camera. The operation itself generally includes calibrating the stereoscopic camera using a target provided by a mobile device. The operation also includes generating one or more zones each defining an area in a field of view of the calibrated stereoscopic camera. The operation also generally includes refining the one or more zones based on input provided by the mobile device.
Yet another embodiment disclosed herein provides a system having one or more processors and a memory. The memory stores program code, which, when executed by the one or more processors, performs an operation for calibrating a device having a stereoscopic camera. The operation itself generally includes calibrating the stereoscopic camera using a target provided by a mobile device. The operation also includes generating one or more zones each defining an area in a field of view of the calibrated stereoscopic camera. The operation also generally includes refining the one or more zones based on input provided by the mobile device.
In accordance with these and other objectives that will become apparent hereafter, the present disclosure will be described with particular references to the accompanying drawings.
This detailed description is presented in terms of programs, data structures or procedures executed on a computer or a network of computers. The software programs implemented by the system may be written in languages such as JAVA, C, C++, C#, Assembly language, Python, PHP, or HTML. However, one of skill in the art will appreciate that other languages may be used instead, or in combination with the foregoing.
As shown, the stereoscopic sensor unit 100 includes, without limitation, a central processing unit (CPU) 102, a stereoscopic camera 104, a network interface 106, memory 108, and storage 110. Each of these components may be interconnected via an interconnect bus 112.
The CPU 102 retrieves and executes programming instructions stored in memory 108 and stores and retrieves application data residing in storage 110. The bus 112 is used to transmit programming instructions and data between CPU 102, storage 110, network interface 106, and memory 108. The CPU 102 is representative of a single CPU but may also be multiple CPUs, a single CPU having multiple processing cores, and the like. The memory 108 is generally included to be representative of a random access memory. The storage 110 may be a disk drive storage device. Although shown as a single unit, storage 110 may be a combination of fixed and/or removable storage devices, such as fixed disc drives, removable memory cards, or optical storage, network attached storage (NAS), or a storage area network (SAN).
The stereoscopic camera 104 may include multiple sensor lenses (e.g., camera lenses) to capture image data, which the storage 110 may temporarily maintain. The memory 108 may include program code logic to direct the stereoscopic camera 104 to capture image data. The program code may also identify individuals in the image data (e.g., using the techniques described above) for counting data. The network interface 106 may be embodied as any communication circuit, device, or collection thereof, capable of enabling communications over a network (e.g., a local area network, the Internet, etc.) between the stereoscopic sensor unit 100 and other devices. Further, the network interface 106 allows the stereoscopic sensor unit 100 to establish a connection via a wireless protocol, such as BLUETOOTH, though any kind of radio frequency protocol may be used.
The memory 108 further includes a calibration application 109 to configure components within the stereoscopic sensor unit 100. For example, the calibration application 109 may communicate with remote devices for calibrating components of the stereoscopic sensor unit 100, such as the stereoscopic camera 104. In such an example, the calibration application 109 provides a communication interface for a mobile application executing on a mobile device, in which the mobile application itself provides a user interface to configure the stereoscopic sensor unit 100, allowing a user to customize calibration settings for the stereoscopic sensor unit 100. For instance, during installation of the stereoscopic sensor unit 100 in a location, such as at the entrance of a retail setting, the calibration application 109 may cause the mobile application to generate an image used to calibrate the stereoscopic camera 104, as further described herein.
As another example, the calibration application 109 may generate one or more positioning instructions that instruct a user to walk within various portions of a field of view of the stereoscopic camera 104. Advantageously, doing so allows the calibration application 109 to automatically detect counting zones that are indicative of areas in which individual traffic is to be counted. The calibration application 109 may define the zones and transmit data regarding the zones for further customization by the mobile application. Once calibrated, the calibration application 109 may store the calibration data 111.
The CPU 202 retrieves and executes programming instructions stored in memory 208 as well as stores and retrieves application data residing in the storage 210 (e.g., calibration data 211). The bus 212 is used to transmit programming instructions and data between CPU 202, storage 210, network interface 206, and memory 208. Note, the CPU 202 representative of a single CPU but multiple CPUs, a single CPU having multiple processing cores, and the like may also be included. The memory 208 is generally included to be representative of a random access memory. The storage 210 may be a disk drive storage device. Although shown as a single unit, storage 210 may be a combination of fixed and/or removable storage devices, such as fixed disc drives, removable memory cards, or optical storage, network attached storage (NAS), or a storage area network (SAN).
The I/O device interface 204 allows various I/O devices (e.g., keyboards, mouse devices, and the like) to connect with the mobile device 200 and communicate with hardware and software components of the mobile device 200. The network interface 206 may be embodied as any communication circuit, device, or collection thereof, capable of enabling communications over a network (e.g., a local area network, the Internet, etc.) between the mobile device 200 and other devices, such as the stereoscopic sensor unit 100. Further, the network interface 206 allows the mobile device 200 to establish a connection via a wireless protocol, such as BLUETOOTH, though any kind of radio frequency protocol may be used.
The memory 208 further includes a calibration tool 209 to communicate with the calibration application 109 for calibrating components of the stereoscopic sensor unit 100, such as the stereoscopic camera 104. The calibration tool 209 may be a mobile application that provides a graphical user interface. A user may interact with the interface to, e.g., generate a calibration target used to calibrate the stereoscopic camera 104, retrieve positioning instructions from the calibration application 109 to identify counting zones within the field of view of the calibrated stereoscopic camera 104, and refine the counting zones as needed. Storage 210 may maintain calibration data 211, which may be embodied as any data used in calibrating the stereoscopic sensor unit 100. Advantageously, the calibration tool 209 provides a vision-based application that guides a user through complex calibration of the components of the stereoscopic sensor unit 100. For example, the calibration tool 209 can display a live feed of the stereoscopic sensor unit 100 that allows the user to view counting zones that have been defined by the calibration application 109. Doing so in turn allows the user to customize the counting zones as needed.
In an embodiment, the stereoscopic sensor unit 100 is configured to scan the calibration target 300 to determine configuration parameters for calibrating components within the stereoscopic sensor unit 100, such as the stereoscopic camera 104. To do so, the calibration tool 209 may direct the calibration target 300 (e.g., displayed on the mobile device 200) to be positioned within the field of view of the stereoscopic camera 104. For example, the calibration application 109 may transmit instructions to the calibration tool 209 to be presented on the mobile device 100. The instructions may direct the mobile device 200 to be placed at a location under the stereoscopic camera 104 or some other location. Once positioned, the stereoscopic sensor unit 100 may scan the calibration target 300. Thereafter, the stereoscopic sensor unit 100 can generate configuration parameters such as a distance between the stereoscopic sensor unit 100 and the calibration target 300, lighting relative to the stereoscopic sensor unit 100 and the calibration target 300, a position of the calibration target 300 relative to the stereoscopic sensor unit 100, and the like. In some embodiments, the calibration target 300 may also have data embedded therein, such as predefined values to be used in calibration. Once scanned, the stereoscopic sensor unit 100 may apply such values to components within the stereoscopic sensor unit 100, such as the stereoscopic camera 104.
In block 406, the calibration application 109 generates one or more configuration parameters based on the positioning of the calibration target relative to the stereoscopic sensor unit 100. For example, the calibration application 109 may determine a distance from the calibration target to the stereoscopic sensor unit 100 (e.g., if the calibration target is positioned on the floor, the stereoscopic sensor unit 100 may calculate distance from the stereoscopic sensor unit 100 to the floor), a positioning of the calibration target relative to the stereoscopic sensor unit 100, and ambient settings based on an image capture of the calibration target by the stereoscopic camera 104. As stated, the calibration target may also include embedded data used by the calibration application 109 to calibrate the stereoscopic camera 104. In block 408, the calibration application 109 calibrates the stereoscopic camera 104 according to the configuration parameters. For example, the calibration application 109 may apply values determined from the configuration parameters (e.g., distance of camera to floor) to the stereoscopic camera 104.
In block 410, the calibration application 109 generates one or more zones for the field of the calibrated stereoscopic camera. Each zone may be indicative of an area within the field of view in which distinct counts can be obtained. To identify zones within a field of view of the stereoscopic camera 104, the calibration application 109 identifies areas in the field of view having distinct traffic. For instance, in many settings, a field of view can be subdivided into a door zone (in which individuals enter the field of view from an entrance of the setting) and an interior zone (in which individuals may traverse through a portion of the setting further from the entrance). As another example, assume that the field of view has a kiosk in one end and a shelf on the other. In practice, each the kiosk and the shelf may have distinct counts of foot traffic and thus can be counted as separate zones. Each zone may be defined using a heat map generated by the calibration application 109.
In block 412, the calibration application 109 generates one or more positioning instructions used by the mobile device 200. The positioning instructions may direct that the mobile device 200 to be placed in an area (e.g., by a user carrying the mobile device 200), e.g., instructing the user to walk across a certain area within the field of view of the stereoscopic sensor unit 100 and hold the position for a predetermined amount of time. The positioning instructions may include visual and textual directions for the mobile device 200 to establish systematic movement between areas within the field of view of the stereoscopic camera 104. Doing so allows the calibration application 109 to identify an initial set of counting zones for the mobile device 200 to confirm.
In block 414, the calibration application 109 transmits the positioning instructions to the mobile device 200 for display thereon. A user of the mobile device 200 may position the mobile device 200 based on the instructions received from the calibration application 109. The mobile device 200 may send the calibration application 109 movement data (e.g., accelerometer and gyroscope data produced within the mobile device 200), which the calibration application 109 may, in turn, correlate to a current position of the mobile device 200 within the field of view. In some embodiments, the stereoscopic sensor unit 100 uses input image data from the stereoscopic camera 104 to determine movement data (e.g., via image processing techniques to discern moving foreground objects in a background scene).
In block 416, the stereoscopic sensor unit 100 generates a heat map from the movement data once the movement data exceeds a specified threshold. The heat map may be used to generate a zoning template, e.g., zones that are automatically identified by the stereoscopic sensor unit 100 based on the movement data. For instance, areas in the heat map having a relatively high amount of movement data (or otherwise exceeding a specified threshold) can correspond to a counting zone.
In block 418, the calibration application 109 defines one or more zones based on the heat map to create the zoning template. For example, the calibration application 109 may automatically attribute an area with a high amount of movement data during the positioning process as a zone. Once defined, the calibration application 109 may store the definition in a configuration (e.g., the calibration data 111). In block 420, the calibration application 109 transmits the data indicative of the one or more zones and the heat map for display on the mobile device 200. For example, the calibration application 109 may stream a live feed of the stereoscopic camera 104 to the mobile device 200. The zones may be defined in the display as bounded boxes overlaying areas indicative of the zones in the live feed. Displaying the automatically defined zones on the mobile device 200 advantageously provides an opportunity for the user to refine such zones via the calibration tool 209 on the mobile device 200.
In block 422, the calibration application 109 refines the one or more zones. For instance, continuing the example, the calibration application 109 may receive, from the calibration tool 209 of the mobile device 200, one or more refinements to the defined zones. The refinements may be an extension of the bounded box, a minimization of a given bounded box, a removal of the bounded box, and the like. The refinements may also include a labeling of a defined zone. In block 426, the calibration application 109 updates the definitions of the zones based on the refinements. For example, to do so, the calibration application 109 may update the definitions in the stored calibration data 111. The calibration application 109 may continue the calibration and refinement process until the mobile device 200 acknowledges that the calibration is complete.
In block 510, the calibration tool 209 may display the one or more positioning instructions on the mobile device 200. In response, a user may position the mobile device 200 according to the positioning instructions. In turn, the stereoscopic sensor unit 100 may generate a heat map based on movement of the mobile device 200 made in response to the positioning instructions. Further, the stereoscopic sensor unit 100 may automatically defines one or more zones within field of view of the stereoscopic camera 104 based on the heat map.
In block 512, the calibration tool 209 receives feed data and heat map data indicative of the defined zones. The calibration tool 209 may present the feed to the display of the mobile device 200 including the defined zone information. The calibration tool 209 may allow the user to refine the zones via an interface provided by the calibration tool 209. In block 514, the calibration tool 209 receives user input indicative of refinements to the defined zones. For example, the refinements may be a redrawing of the zones by the user. In block 516, the calibration tool 209 transmits the refinements to the stereoscopic sensor unit 100. In block 518, the calibration tool 209 receives a confirmation of the refinements to the defined zones. The refinement process may continue until the user (via an interface for the calibration tool 209) or the calibration application 109 indicates that the calibration is complete.
Note, in some embodiments, rather than authenticating the mobile device 200 via login credentials to allow the mobile device 200 to calibrate the stereoscopic sensor unit 100, the mobile device 200 may establish a connection with the stereoscopic sensor unit 100 using a wireless protocol, such as BLUETOOTH (or some other radio frequency protocol). For instance, a user may hold a reset pin button on the stereoscopic sensor unit 100 for a predetermined amount to time and trigger the pairing process to connect the mobile device 200 with the stereoscopic sensor unit 100.
Aspects of the present disclosure may be embodied as a system, method, or computer-readable storage medium. Accordingly, aspects of the present disclosure may take the form of an entirely hardware-based embodiment, an entirely software-based embodiment (e.g., firmware, resident software, micro-code, etc.), or an embodiment combining software and hardware aspects. Further, aspects of the present disclosure may take the form of a computer-readable storage medium having computer-readable instructions embodied thereon.
Any combination of one or more computer-readable storage media may be used. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may include an electronic, magnetic, optical, electromagnetic, infrared, semiconductor system, apparatus, device, or any suitable combination of the foregoing. More specific examples include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the current context, a computer-readable storage medium may be any tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
It will be readily understood that components of the embodiments as generally disclosed herein and illustrated in the appended figures could be arranged and designed in a wide variety of different configurations. Thus, the following and more detailed description of various embodiments, as represented in the figures, is not intended to limit the scope of the present disclosure, but is merely representative of various embodiments. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The present disclosure may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by this detailed description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
Reference throughout this specification to features, advantages, or similar language does not imply that all of the features and advantages that may be realized with the present invention should be or are in any single embodiment of the invention. Rather, language referring to the features and advantages is understood to mean that a specific feature, advantage, or characteristic described in connection with an embodiment is included in at least one embodiment of the present disclosure. Thus, discussions of the features and advantages, and similar language, throughout the specification may, but do not necessarily, refer to the same embodiment.
Furthermore, the described features, advantages and characteristics of the invention may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize, in light of the description herein, that the invention can be practiced without one or more of the specific features or advantages of a particular embodiment. In other instances, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments of the invention.
Reference throughout this specification to “one embodiment”, “an embodiment”, or similar language means that a particular feature, structure, or characteristic described in connection with the indicated embodiment is included in at least one embodiment of the present invention. Thus, the phrases “in one embodiment”, “in an embodiment”, and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment. Many modifications and variations are possible in view of the above disclosure. The embodiments were chosen and described to best explain the principles of the present disclosure and practical applications to thereby enable one of ordinary skill in the art to best use the present disclosure as may be suited to the particular use that is contemplated.
As used in this document, the singular form “a”, “an”, and “the” include plural references unless the context clearly dictates otherwise. Unless defined otherwise, all technical and scientific terms used herein have the same meanings as commonly understood by one of ordinary skill in the art. As used in this document, the term “comprising” means “including, but not limited to”. The features and functions disclosed above, as well as alternatives, may be combined into many other different systems or applications. Various presently unforeseen or unanticipated alternatives, modifications, variations or improvements may be made by those skilled in the art, each of which is also intended to be encompassed by the disclosed embodiments.
Number | Name | Date | Kind |
---|---|---|---|
4179607 | Lange | Dec 1979 | A |
5793879 | Benn | Aug 1998 | A |
5819016 | Watanabe | Oct 1998 | A |
6118893 | Li | Sep 2000 | A |
6141009 | Li | Oct 2000 | A |
6289117 | Li | Sep 2001 | B1 |
6690393 | Heron | Feb 2004 | B2 |
6874420 | Lewis, Jr. | Apr 2005 | B2 |
7605926 | Hetzler | Oct 2009 | B1 |
7774075 | Lin | Aug 2010 | B2 |
7787105 | Hipp | Aug 2010 | B2 |
7907166 | Lamprecht | Mar 2011 | B2 |
7943240 | Zama | May 2011 | B2 |
7991193 | Hampapur | Aug 2011 | B2 |
8130244 | Cooper | Mar 2012 | B2 |
8270678 | Murray | Sep 2012 | B2 |
8396485 | Grainger | Mar 2013 | B2 |
8503763 | Zhang | Aug 2013 | B2 |
8504061 | Grainger | Aug 2013 | B2 |
8825140 | Rice | Sep 2014 | B2 |
8953684 | Cai | Feb 2015 | B2 |
9240049 | Ciurea | Jan 2016 | B2 |
9261428 | Hoffmann | Feb 2016 | B2 |
9275441 | Marcelpoil | Mar 2016 | B2 |
9327406 | Hinterstoisser | May 2016 | B1 |
9369689 | Tran | Jun 2016 | B1 |
9384551 | Ramaswamy | Jul 2016 | B2 |
9400937 | Mishra | Jul 2016 | B2 |
9459276 | Joseph | Oct 2016 | B2 |
9460613 | Whiting | Oct 2016 | B1 |
9569786 | Shaw | Feb 2017 | B2 |
9596643 | Paek | Mar 2017 | B2 |
9704250 | Shah | Jul 2017 | B1 |
9792836 | Rios | Oct 2017 | B2 |
9805474 | Whiting | Oct 2017 | B1 |
10063840 | Somanath | Aug 2018 | B2 |
10140855 | Swaminathan | Nov 2018 | B1 |
10258309 | Su | Apr 2019 | B2 |
10335115 | Grbic | Jul 2019 | B2 |
10366472 | Lelescu | Jul 2019 | B2 |
10373322 | Buibas | Aug 2019 | B1 |
10397495 | Graber | Aug 2019 | B1 |
10443981 | Tinichigiu | Oct 2019 | B2 |
10586321 | Leordeanu | Mar 2020 | B2 |
10593064 | Ben Moshe | Mar 2020 | B2 |
10599929 | Cuban | Mar 2020 | B2 |
11107150 | Houston | Aug 2021 | B2 |
11170215 | Sieracki | Nov 2021 | B1 |
20060076540 | Zama | Apr 2006 | A1 |
20100085276 | Cable | Apr 2010 | A1 |
20110261427 | Hart | Oct 2011 | A1 |
20120196062 | Sato | Aug 2012 | A1 |
20120218301 | Miller | Aug 2012 | A1 |
20120289334 | Mikhailov | Nov 2012 | A9 |
20130271579 | Wang | Oct 2013 | A1 |
20140327944 | Naidoo | Nov 2014 | A1 |
20150049201 | Liu | Feb 2015 | A1 |
20150156481 | Varga | Jun 2015 | A1 |
20160012465 | Sharp | Jan 2016 | A1 |
20160343137 | Skans | Nov 2016 | A1 |
20170094251 | Wolke | Mar 2017 | A1 |
20170277166 | Popa-Simil | Sep 2017 | A1 |
20180182088 | Leordeanu | Jun 2018 | A1 |
20180232859 | Siddiqui | Aug 2018 | A1 |
20180242946 | Grbic | Aug 2018 | A1 |
20180260601 | Brebner | Sep 2018 | A1 |
20180330471 | Qin | Nov 2018 | A1 |
20180341818 | Steffanson | Nov 2018 | A1 |
20190019303 | Siver | Jan 2019 | A1 |
20190028632 | Nobori | Jan 2019 | A1 |
20190035104 | Cuban | Jan 2019 | A1 |
20190043259 | Wang | Feb 2019 | A1 |
20190369641 | Gillett | Dec 2019 | A1 |
20200005448 | Subramanian | Jan 2020 | A1 |
Number | Date | Country |
---|---|---|
2014006179 | Jan 2014 | JP |
Number | Date | Country | |
---|---|---|---|
20200099918 A1 | Mar 2020 | US |