CN107566713B - Photographing method and device for improving timing photographing quality of camera in user walking - Google Patents

Photographing method and device for improving timing photographing quality of camera in user walking Download PDF

Info

Publication number
CN107566713B
CN107566713B CN201610495112.8A CN201610495112A CN107566713B CN 107566713 B CN107566713 B CN 107566713B CN 201610495112 A CN201610495112 A CN 201610495112A CN 107566713 B CN107566713 B CN 107566713B
Authority
CN
China
Prior art keywords
camera
acceleration
user
walking
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610495112.8A
Other languages
Chinese (zh)
Other versions
CN107566713A (en
Inventor
林云帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Foream Network Technology Co ltd
Original Assignee
Shenzhen Foream Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Foream Network Technology Co ltd filed Critical Shenzhen Foream Network Technology Co ltd
Priority to CN201610495112.8A priority Critical patent/CN107566713B/en
Publication of CN107566713A publication Critical patent/CN107566713A/en
Application granted granted Critical
Publication of CN107566713B publication Critical patent/CN107566713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Details Of Cameras Including Film Mechanisms (AREA)
  • Exposure Control For Cameras (AREA)

Abstract

The invention provides a photographing method and a photographing device for improving the timing photographing quality of a camera during walking of a user, and relates to the technical field of electronics. The photographing method comprises the steps of measuring the acceleration of a camera, judging whether a user walks according to measured camera acceleration data, setting a photo photographing mode as a shutter priority mode if the user walks, recording walking data of the user, calculating and analyzing the time when the current user walks with the smallest acceleration in all directions, photographing the photo at the time when the acceleration in all directions is the smallest, storing the photographed photo and the corresponding camera acceleration data during photographing of the photo, and finally selecting the photo with the smallest camera acceleration data during photographing as the clearest photo. The invention has the beneficial effects that: the problem that the quality of photos shot by a camera regularly in the walking process of a user cannot be guaranteed can be effectively solved, clear photos can be captured, and meanwhile fuzzy photos are identified.

Description

Photographing method and device for improving timing photographing quality of camera in user walking
Technical Field
The invention relates to the technical field of electronics, in particular to a photographing method and a photographing device for improving the timing photographing quality of a camera during walking of a user.
Background
With the continuous development of electronic technology, people have become fashionable to record the pleasure of life by taking pictures. The wearable camera serves as a portable camera, and a user can use the wearable camera to take pictures anytime and anywhere. When the user takes a picture, the wearable camera is adopted, so that the user is likely to be walking when taking a picture, and if the user is just in distance motion at the moment of taking a picture, the quality of the taken picture cannot be guaranteed. If the user moves in the shooting period, the wearable camera can take a large number of blurred photos, and the user needs to select the clearest photo from the blurred photos, so that the time is very long, and the user experience is not high.
Disclosure of Invention
In order to solve the above problems, the present invention provides a photographing method and apparatus for improving the timing photographing quality of a camera during walking of a user, so as to realize that the user takes clear photos during walking.
The invention solves the technical problem by adopting a technical scheme that the photographing method for improving the timing photographing quality of a camera in the walking process of a user comprises the following steps:
s101, when a timing automatic shooting command is received, entering a timing automatic shooting mode;
s102, measuring the acceleration of the camera;
s103, judging whether the user walks according to the measured camera acceleration data, if so, executing the step S104, and if not, directly executing the step S106;
s104, setting a photo shooting mode as a shutter priority mode;
s105, recording walking data of the user, and calculating and analyzing the time when the current user has the minimum acceleration in all directions during walking;
s106, taking a picture at the time of the minimum acceleration in each direction;
s107, storing the shot picture and corresponding camera acceleration data during picture shooting;
s108, selecting a corresponding picture with the minimum camera acceleration data during shooting as a clearest picture;
s109, comparing the camera acceleration data corresponding to the photo with a preset threshold value, and if the camera acceleration data corresponding to the photo exceeds the threshold value, marking the photo as an unclear photo.
Further, in the above-mentioned case,
in step S102, the acceleration of the camera is measured by the acceleration sensor.
The step S101 comprises:
A. collecting acceleration sensor data of a person during normal walking;
B. and establishing a model of the acceleration of the person in each direction during walking according to the collected acceleration sensor data.
The directions specifically include: front-back direction, left-right direction, vertical direction.
The step S103 is specifically to determine whether the user is walking by matching the measured camera acceleration data with a previously established model of acceleration in each direction when the user walks.
In step S106, a plurality of pictures are taken at a time when the picture is taken.
The invention solves the technical problem and adopts another technical scheme that the photographing device for improving the timing photographing quality of the camera in the walking process of the user comprises a module:
the starting module is used for entering a timing automatic shooting mode when receiving a timing automatic shooting command;
a measurement module for measuring an acceleration of the camera;
a judging module for judging whether the user is walking according to the measured camera acceleration data, if so, executing
Setting a module, if not, directly executing a shooting module;
a setting module for setting a photo taking mode to a shutter priority mode;
the processing module is used for recording the walking data of the user, and calculating and analyzing the time when the current user has the minimum acceleration in all directions during walking;
the shooting module is used for shooting a picture at the time when the acceleration in each direction is minimum;
the storage module is used for storing the shot picture and corresponding camera acceleration data during shooting of the picture;
the selection module is used for selecting a corresponding picture with the minimum camera acceleration data during shooting as a clearest picture;
and the marking module is used for comparing the camera acceleration data corresponding to the photo with a preset threshold value, and marking the photo as an unclear photo if the camera acceleration data corresponding to the photo exceeds the threshold value.
Further, the photographing apparatus further includes:
the collecting module is used for collecting the data of the acceleration sensor when a person normally walks;
and the model establishing module is used for establishing a model of the acceleration of the person in each direction when the person walks according to the collected acceleration sensor data.
The invention discloses a photographing method and a photographing device for improving the timing photographing quality of a camera during the walking of a user, and has the advantages that: the problem that the quality of photos can not be guaranteed when the camera regularly shoots in the walking of a user can be effectively solved, clear photos can be captured, meanwhile, the fuzzy photos are identified, the user can conveniently pick out the clear photos, and the user experience is improved.
Drawings
Fig. 1 is a flowchart illustrating an implementation of a photographing method for improving the timing photographing quality of a camera during user walking according to an embodiment of the present invention;
fig. 2 is a signal data diagram of acceleration of the camera in each direction while the user is walking.
Detailed Description
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings.
In a first embodiment, as shown in fig. 1, a photographing method for improving the timing photographing quality of a camera during walking of a user includes:
and S101, when a timing automatic shooting command is received, entering a timing automatic shooting mode.
In this embodiment, the camera is a wearable camera equipped with an acceleration sensor. The camera is started, and when a user inputs a timing automatic shooting command, the camera enters a timing automatic shooting mode.
The method comprises the following steps:
A. collecting acceleration sensor data of a person during normal walking;
B. and establishing a model of the acceleration of the person in each direction during walking according to the collected acceleration sensor data.
The method comprises the steps of establishing a model of acceleration in each direction during walking by collecting data of an acceleration sensor of a person during normal walking, and storing the established model of the acceleration in each direction into a database. As shown in fig. 2, it was found from the collected results that the walking person had a stage in which the vertical accelerations were all the valleys (in this case, both knees were in the bending stage) before and after, and left and right, in each walking cycle.
And S102, measuring the acceleration of the camera.
The camera does not take pictures immediately after entering the timed automatic shooting mode, but the acceleration of the camera is measured through an acceleration sensor, and the acceleration data of the camera is recorded into the self-defined exif information.
And S103, judging whether the user walks according to the measured camera acceleration data, if so, executing the step S104, and if not, directly executing the step S106.
The method specifically comprises the steps of matching measured camera acceleration data with a model of acceleration in each direction when a person walks, namely comparing the measured camera acceleration data with the model of the acceleration in a database to obtain the model of the acceleration in the database closest to the camera acceleration data, and then judging whether the user walks according to the obtained model of the acceleration in the database.
Step S104, setting the photo shooting mode to a shutter priority mode.
And S105, recording walking data of the user, and calculating and analyzing the time when the current user has the minimum acceleration in all directions during walking.
The camera may shake as the user is walking. Since data of walking of a user at different times are different, acceleration data measured by the acceleration sensor in the front-back direction, the left-right direction, and the vertical direction are different. The walking data of the user is recorded, and then the recorded walking data of the user is calculated and analyzed, so that the acceleration data of the camera in the front-back direction, the left-right direction and the vertical direction corresponding to each moment in the time of timing shooting is calculated. And respectively comparing the recorded acceleration data in the front-back direction, the left-right direction and the vertical direction corresponding to the cameras at different moments one by one within a preset time interval, finding out the moment when the reverse acceleration data in the front-back direction, the left-right direction and the vertical direction are all minimum, and taking the moment as the timing automatic shooting moment.
And S106, taking a picture at the time when the acceleration in each direction is minimum.
Before shooting, a camera finds out a characteristic area of a current scene and focuses the current scene. In focusing, if the acceleration of the camera is negative, zooming in and zooming out are performed, and if the acceleration is positive, zooming out and zooming out are performed.
And S107, storing the shot picture and corresponding camera acceleration data during picture shooting.
And S108, selecting the corresponding picture with the minimum camera acceleration data during shooting as the clearest picture.
And S109, comparing the camera acceleration data corresponding to the picture with a preset threshold value, and if the camera acceleration data corresponding to the picture exceeds the threshold value, marking the picture as an unclear picture.
And taking a plurality of photos at one time in each time of timing photo taking so as to select the clearest one from the acceleration data recorded in the shooting. When the photo is stored, the acceleration sensor data is simultaneously recorded into the self-defined exif information, namely the shot photo and the corresponding camera acceleration data when the photo is shot are stored. After the shot photos and the corresponding camera acceleration data during photo shooting are stored, the photos with the minimum corresponding camera acceleration data during shooting are selected as the clearest photos, the camera acceleration data corresponding to the stored photos are compared with a preset threshold value one by one, if the camera acceleration data corresponding to the photos exceeds the threshold value, the photos are marked as the unclear photos, so that a user can conveniently and quickly screen out the clear photos, and the time for the user to screen the photos is saved.
The embodiment can effectively solve the problem that the quality of the photos shot by the camera regularly in the walking of the user cannot be guaranteed, clear photos can be captured, meanwhile, the fuzzy photos are identified, and the user can pick out the clear photos conveniently.
In a second embodiment, a photographing apparatus for improving the timing photographing quality of a camera during walking of a user includes:
the module 1 is a starting module and is used for entering a timing automatic shooting mode when receiving a timing automatic shooting command.
In this embodiment, the camera is a wearable camera equipped with an acceleration sensor. The camera is started, and when a user inputs a timing automatic shooting command, the camera enters a timing automatic shooting mode.
Further, the photographing apparatus further includes:
the module A is a collecting module and is used for collecting data of the acceleration sensor when a person normally walks.
And the module B is a model establishing module and is used for establishing a model of the acceleration of each direction when the person walks according to the collected acceleration sensor data.
The method comprises the steps of establishing a model of acceleration in each direction during walking by collecting data of an acceleration sensor of a person during normal walking, and storing the established model of the acceleration in each direction into a database. As shown in fig. 2, it was found from the collected results that the walking person had a stage in which the vertical accelerations were all the valleys (in this case, both knees were in the bending stage) before and after, and left and right, in each walking cycle.
And the module 2 is a measuring module and is used for measuring the acceleration of the camera.
The camera does not take pictures immediately after entering the timed automatic shooting mode, but the acceleration of the camera is measured through an acceleration sensor, and the acceleration data of the camera is recorded into the self-defined exif information.
And the module 3 is a judging module and is used for judging whether the user walks according to the measured camera acceleration data, if so, executing the setting module, and if not, directly executing the shooting module.
The measured camera acceleration data are matched with the previously established model of the acceleration in each direction when the person walks, namely, the measured camera acceleration data are compared with the model of the acceleration in the database to obtain the model of the acceleration in the database closest to the camera acceleration data, and then whether the user walks or not is judged according to the obtained model of the acceleration in the database.
And the module 4 is a setting module and is used for setting the photo shooting mode to be a shutter priority mode.
And the module 5 is a processing module and is used for recording the walking data of the user and calculating and analyzing the time when the acceleration of the user in each direction is minimum in walking.
The camera may shake as the user is walking. Since data of walking of a user at different times are different, acceleration data measured by the acceleration sensor in the front-back direction, the left-right direction, and the vertical direction are different. The walking data of the user is recorded, and then the recorded walking data of the user is calculated and analyzed, so that the acceleration data of the camera in the front-back direction, the left-right direction and the vertical direction corresponding to each moment in the time of timing shooting is calculated. And respectively comparing the recorded acceleration data in the front-back direction, the left-right direction and the vertical direction corresponding to the cameras at different moments one by one within a preset time interval, finding out the moment when the reverse acceleration data in the front-back direction, the left-right direction and the vertical direction are all minimum, and taking the moment as the timing automatic shooting moment.
And the module 6 is a shooting module and is used for shooting the picture at the moment when the acceleration in all directions is minimum.
Before shooting, a camera finds out a characteristic area of a current scene and focuses the current scene. In focusing, if the acceleration of the camera is negative, zooming in and zooming out are performed, and if the acceleration is positive, zooming out and zooming out are performed.
And the module 7 is a storage module and is used for storing the shot picture and corresponding camera acceleration data during picture shooting.
And the module 8 is a selection module and is used for selecting the corresponding picture with the minimum camera acceleration data during shooting as the clearest picture.
And the marking module is used for comparing the camera acceleration data corresponding to the photos with a preset threshold value, and marking the photos as unclear photos if the camera acceleration data corresponding to the photos exceeds the threshold value.
And taking a plurality of photos at one time in each time of timing photo taking so as to select the clearest one from the acceleration data recorded in the shooting. When the photo is stored, the acceleration sensor data is simultaneously recorded into the self-defined exif information, namely the shot photo and the corresponding camera acceleration data when the photo is shot are stored. After the shot photos and the corresponding camera acceleration data during photo shooting are stored, the photos with the minimum corresponding camera acceleration data during shooting are selected as the clearest photos, the camera acceleration data corresponding to the stored photos are compared with a preset threshold value one by one, if the camera acceleration data corresponding to the photos exceeds the threshold value, the photos are marked as the unclear photos, so that a user can conveniently and quickly screen out the clear photos, and the time for the user to screen the photos is saved.
The embodiment can effectively solve the problem that the quality of the photos shot by the camera regularly in the walking of the user cannot be guaranteed, clear photos can be captured, meanwhile, the fuzzy photos are identified, and the user can pick out the clear photos conveniently.

Claims (5)

1. A photographing method for improving the timing photographing quality of a camera in the walking of a user is characterized by comprising the following steps:
s101, when a timing automatic shooting command is received, entering a timing automatic shooting mode;
s102, measuring the acceleration of the camera;
s103, judging whether the user walks according to the measured camera acceleration data, if so, executing the step S104, and if not, directly executing the step S106;
s104, setting a photo shooting mode as a shutter priority mode;
s105, recording walking data of the user, and calculating and analyzing the time when the current user has the minimum acceleration in all directions during walking;
s106, taking a picture at the time of the minimum acceleration in each direction;
s107, storing the shot picture and corresponding camera acceleration data during picture shooting;
s108, selecting a corresponding picture with the minimum camera acceleration data during shooting as a clearest picture;
s109, comparing the camera acceleration data corresponding to the photo with a preset threshold value, and if the camera acceleration data corresponding to the photo exceeds the threshold value, marking the photo as an unclear photo;
the step S102 is specifically to measure the acceleration of the camera by an acceleration sensor;
the step S101 comprises:
A. collecting acceleration sensor data of a person during normal walking;
B. and establishing a model of the acceleration of the person in each direction during walking according to the collected acceleration sensor data.
2. The method for improving the timing photographing quality of the camera during the walking of the user according to claim 1, wherein the directions specifically include: front-back direction, left-right direction, vertical direction.
3. The method as claimed in claim 1, wherein the step S103 is to determine whether the user is walking by matching the measured acceleration data of the camera with a previously established model of acceleration in each direction when the user walks.
4. The photographing method for improving the timing photographing quality of the camera during the walking of the user as claimed in claim 1, wherein in step S106, a plurality of photos are taken at a time when the photos are taken.
5. The utility model provides an improve camera regularly in user's walking and shoot device of quality which characterized in that includes:
the starting module is used for entering a timing automatic shooting mode when receiving a timing automatic shooting command;
a measurement module for measuring an acceleration of the camera;
the judging module is used for judging whether the user walks according to the measured camera acceleration data, if so, the setting module is executed, and if not, the shooting module is directly executed;
a setting module for setting a photo taking mode to a shutter priority mode;
the processing module is used for recording the walking data of the user, and calculating and analyzing the time when the current user has the minimum acceleration in all directions during walking;
the shooting module is used for shooting a picture at the time when the acceleration in each direction is minimum;
the storage module is used for storing the shot picture and corresponding camera acceleration data during shooting of the picture;
the selection module is used for selecting a corresponding picture with the minimum camera acceleration data during shooting as a clearest picture;
the marking module is used for comparing the camera acceleration data corresponding to the photos with a preset threshold value, and marking the photos as unclear photos if the camera acceleration data corresponding to the photos exceeds the threshold value;
the collecting module is used for collecting the data of the acceleration sensor when a person normally walks;
and the model establishing module is used for establishing a model of the acceleration of the person in each direction when the person walks according to the collected acceleration sensor data.
CN201610495112.8A 2016-06-30 2016-06-30 Photographing method and device for improving timing photographing quality of camera in user walking Active CN107566713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610495112.8A CN107566713B (en) 2016-06-30 2016-06-30 Photographing method and device for improving timing photographing quality of camera in user walking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610495112.8A CN107566713B (en) 2016-06-30 2016-06-30 Photographing method and device for improving timing photographing quality of camera in user walking

Publications (2)

Publication Number Publication Date
CN107566713A CN107566713A (en) 2018-01-09
CN107566713B true CN107566713B (en) 2020-05-26

Family

ID=60968436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610495112.8A Active CN107566713B (en) 2016-06-30 2016-06-30 Photographing method and device for improving timing photographing quality of camera in user walking

Country Status (1)

Country Link
CN (1) CN107566713B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110875976A (en) * 2018-08-29 2020-03-10 青岛海信移动通信技术股份有限公司 Method and equipment for storing photo information

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4434939B2 (en) * 2004-12-27 2010-03-17 キヤノン株式会社 Imaging apparatus and control method thereof
KR100718124B1 (en) * 2005-02-04 2007-05-15 삼성전자주식회사 Method and apparatus for displaying the motion of camera
TW200740210A (en) * 2006-04-06 2007-10-16 Winbond Electronics Corp A method of image blurring reduction and a camera
CN102082898A (en) * 2009-11-27 2011-06-01 英业达股份有限公司 Camera and method for taking pictures by using camera
CN104104856B (en) * 2013-04-09 2016-08-10 腾讯科技(深圳)有限公司 Image-pickup method, device and electronic equipment
US9232137B2 (en) * 2013-04-24 2016-01-05 Microsoft Technology Licensing, Llc Motion blur avoidance
JP2015068973A (en) * 2013-09-27 2015-04-13 カシオ計算機株式会社 Imaging control device, imaging control method, and program
CN105721759B (en) * 2014-12-01 2020-11-24 深圳富泰宏精密工业有限公司 Image shooting method and system
CN105391941B (en) * 2015-11-06 2018-09-21 广东欧珀移动通信有限公司 Photo processing method and device

Also Published As

Publication number Publication date
CN107566713A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
JP4324170B2 (en) Imaging apparatus and display control method
CN101246541B (en) Image-processing device and image-processing method, image-pickup device
CN103139466B (en) Information processor, imaging device, information processing method and computer-readable recording medium
JP4603472B2 (en) Image pickup apparatus and image pickup apparatus having interval shooting function
CN104243800B (en) Control device and storage medium
WO2016016984A1 (en) Image pickup device and tracking method for subject thereof
US20070030381A1 (en) Digital camera
KR101436839B1 (en) Apparatus and mthod for self timer image capture by checking the number of person
CN103685940A (en) Method for recognizing shot photos by facial expressions
CN105744152B (en) Subject tracing equipment, picture pick-up device and subject method for tracing
CN103220463B (en) Image capture apparatus and control method of image capture apparatus
CN107395957B (en) Photographing method and device, storage medium and electronic equipment
JP5630041B2 (en) Electronic equipment
CN104869316B (en) The image capture method and device of a kind of multiple target
EP3062513B1 (en) Video apparatus and photography method thereof
JP5920264B2 (en) Image identification device, image identification system, image identification method, and program
CN108600610A (en) Shoot householder method and device
JP4798506B2 (en) Imaging apparatus and program thereof
EP2993891B1 (en) Electronic device and image capture method thereof
JP2001249265A (en) Range finder
CN101611347A (en) Imaging device
WO2019084756A1 (en) Image processing method and device, and aerial vehicle
CN102650801A (en) Camera and automatic focusing method thereof
CN107566713B (en) Photographing method and device for improving timing photographing quality of camera in user walking
JP2011193063A (en) Electronic camera

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant