A method captures images of objects using an image capturing apparatus. The method obtains x-coordinate values, y-coordinate values, and z-coordinate values of the accelerations of a camera device sensed by a gravity sensor in a default time interval, calculates three-dimensional coordinate differences according to the obtained x-coordinate, y-coordinate, and z-coordinate values, and determines whether the three-dimensional coordinate differences are less than corresponding predefined thresholds. If at least one coordinate difference is not less than a corresponding predefined threshold, the method delays a period of time to obtain the x-coordinate, y-coordinate, and the z-coordinate values in a next default time interval. If all the three-dimensional coordinate differences are less than the corresponding predefined thresholds, the method controls the camera device to capture images of the subject object.
Legal claims defining the scope of protection, as filed with the USPTO.
1. An image capturing apparatus, comprising: a camera device and a gravity sensor; a storage device; at least one processor; and one or more programs stored in the storage device and executable by the at least one processor, the one or more programs comprising: an obtaining module that senses accelerations of the camera device using the gravity sensor when an image capturing demand is received, and obtains x-coordinate values, y-coordinate values, and z-coordinate values of the accelerations of the camera device from a space coordinate system in a default time interval; a calculating module that obtains a maximum x-coordinate value and a minimum x-coordinate value from the obtained x-coordinate values, calculates an x-coordinate difference between the minimum x-coordinate value and the maximum x-coordinate value, obtains a maximum y-coordinate value and a minimum y-coordinate value from the obtained y-coordinate values, calculates a y-coordinate difference between the minimum y-coordinate value and the maximum y-coordinate value, obtains a maximum z-coordinate value and a minimum z-coordinate value from the obtained z-coordinate values, calculates a z-coordinate difference between the minimum z-coordinate value and the maximum z-coordinate value, and determines whether the three-dimensional coordinate differences are less than corresponding predefined thresholds; a delaying module that if at least one coordinate difference is not less than a corresponding predefined threshold, delays a period of time to obtain the x-coordinate values, the y-coordinate values, and the z-coordinate values of the accelerations of the camera device sensed by the gravity sensor in a next default time interval; and a controlling module that if all the three-dimensional coordinate differences are less than the corresponding predefined thresholds, controls the camera device to capture one or more images of a subject object that is placed on a work platform of the image capturing apparatus, and stores the captured images in the storage device.
2. The image capturing apparatus according to claim 1 , wherein the gravity sensor stores the x-coordinate values, the y-coordinate values, and the z-coordinate values of the accelerations of the camera device in a register of the gravity sensor.
3. The image capturing apparatus according to claim 2 , further comprising: a storing module that stores the x-coordinate values, the y-coordinate values, and the z-coordinate values of the camera device sensed by the gravity sensor from the register of the gravity sensor to the storage device.
4. The image capturing apparatus according to claim 1 , wherein the work platform includes a step motor, a conveyor belt, and a transducer, the step motor controls the conveyor belt to move, and the transducer monitors field of view of the camera device and detects when the subject object that is placed on the conveyor belt enters into a field of view of the camera device.
5. The image capturing apparatus according to claim 4 , further comprising a detecting module that sends a control command to the step motor when a control button of the image capturing apparatus is pressed by a user, determines that the image capturing demand is received if the transducer detects the subject object enters into the field of view of the camera device, and determines that no image capturing demand is received if the transducer detects the subject object does not enter into the field of view of the camera device.
6. The image capturing apparatus according to claim 5 , wherein the detecting module further sends a control command to the step motor to control the conveyor belt to stop if the transducer detects the subject object enters into the field of view of the camera device.
7. A method for capturing images of an object using an image capturing apparatus, the method comprising: sensing accelerations of a camera device of the image capturing apparatus using a gravity sensor of the image capturing apparatus when an image capturing demand is received, and obtaining x-coordinate values, y-coordinate values, and z-coordinate values of the accelerations of the camera device from a space coordinates system in a default time interval; obtaining a maximum x-coordinate value and a minimum x-coordinate value from the obtained x-coordinate values, calculating an x-coordinate difference between the minimum x-coordinate value and the maximum x-coordinate value, obtaining a maximum y-coordinate value and a minimum y-coordinate value from the obtained y-coordinate values, calculating a y-coordinate difference between the minimum y-coordinate value and the maximum y-coordinate value, obtaining a maximum z-coordinate value and a minimum z-coordinate value from the obtained z-coordinate values, calculating a z-coordinate difference between the minimum z-coordinate value and the maximum z-coordinate value, and determining whether the three-dimensional coordinate differences are less than corresponding predefined thresholds; if at least one coordinate difference is not less than a corresponding predefined threshold, delaying a period of time to obtain the x-coordinate values, the y-coordinate values, and the z-coordinate values of the accelerations of the camera device sensed by the gravity sensor in a next default time interval; and if all the three-dimensional coordinate differences are less than the corresponding predefined thresholds, controlling the camera device to capture one or more images of a subject object that is placed on a work platform of the image capturing apparatus, and storing the captured images in a storage device of the image capturing apparatus.
8. The method according to claim 7 , wherein the gravity sensor stores the x-coordinate values, the y-coordinate values, and the z-coordinate values of the accelerations of the camera device in a register of the gravity sensor.
9. The method according to claim 8 , further comprising: storing the x-coordinate values, the y-coordinate values, and the z-coordinate values of the camera device sensed by the gravity sensor from the register of the gravity sensor to the storage device.
10. The method according to claim 7 , wherein the work platform includes a step motor, a conveyor belt, and a transducer, the step motor controls the conveyor belt to move, and the transducer monitors field of view of the camera device and detects when the subject object that is placed on the conveyor belt enters into a field of view of the camera device.
11. The method according to claim 10 , further comprising: sending a control command to the step motor when a control button of the image capturing apparatus is pressed by a user, determining that the image capturing demand is received if the transducer detects the subject object enters into the field of view of the camera device, and determining that no image capturing demand is received if the transducer detects the subject object does not enter into the field of view of the camera device.
12. The method according to claim 11 , further comprising: sending a control command to the step motor to control the conveyor belt to stop if the transducer detects the subject object enters into the field of view of the camera device.
13. A non-transitory computer-readable storage medium having stored thereon instructions that, when executed by at least one microprocessor of a image capturing apparatus, causes the image capturing apparatus to perform a method for capturing images of an object, the method comprising: sensing accelerations of a camera device of the image capturing apparatus using a gravity sensor of the image capturing apparatus when an image capturing demand is received, and obtaining x-coordinate values, y-coordinate values, and z-coordinate values of the accelerations of the camera device from a space coordinates system in a default time interval; obtaining a maximum x-coordinate value and a minimum x-coordinate value from the obtained x-coordinate values, calculating an x-coordinate difference between the minimum x-coordinate value and the maximum x-coordinate value, obtaining a maximum y-coordinate value and a minimum y-coordinate value from the obtained y-coordinate values, calculating a y-coordinate difference between the minimum y-coordinate value and the maximum y-coordinate value, obtaining a maximum z-coordinate value and a minimum z-coordinate value from the obtained z-coordinate values, calculating a z-coordinate difference between the minimum z-coordinate value and the maximum z-coordinate value, and determining whether the three-dimensional coordinate differences are less than corresponding predefined thresholds; if at least one coordinate difference is not less than a corresponding predefined threshold, delaying a period of time to obtain the x-coordinate values, the y-coordinate values, and the z-coordinate values of the accelerations of the camera device sensed by the gravity sensor in a next default time interval; and if all the three-dimensional coordinate differences are less than the corresponding predefined thresholds, controlling the camera device to capture one or more images of a subject object that is placed on a work platform of the image capturing apparatus, and storing the captured images in a storage device of the image capturing apparatus.
14. The storage medium according to claim 13 , wherein the gravity sensor stores the x-coordinate values, the y-coordinate values, and the z-coordinate values of the accelerations of the camera device in a register of the gravity sensor.
15. The storage medium according to claim 14 , wherein the method further comprises: storing the x-coordinate values, the y-coordinate values, and the z-coordinate values of the camera device sensed by the gravity sensor from the register of the gravity sensor to the storage device.
16. The storage medium according to claim 13 , wherein the work platform includes a step motor, a conveyor belt, and a transducer, the step motor controls the conveyor belt to move, and the transducer monitors field of view of the camera device and detects when the subject object that is placed on the conveyor belt enters into a field of view of the camera device.
17. The storage medium according to claim 16 , wherein the method further comprises: sending a control command to the step motor when a control button of the image capturing apparatus is pressed by a user, determining that the image capturing demand is received if the transducer detects the subject object enters into the field of view of the camera device, and determining that no image capturing demand is received if the transducer detects the subject object does not enter into the field of view of the camera device.
18. The medium according to claim 17 , wherein the method further comprises: sending a control command to the step motor to control the conveyor belt to stop if the transducer detects the subject object enters into the field of view of the camera device.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
July 1, 2012
June 2, 2015
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.