CN105955011B - Intelligent timing method and device - Google Patents

Intelligent timing method and device Download PDF

Info

Publication number
CN105955011B
CN105955011B CN201610254907.XA CN201610254907A CN105955011B CN 105955011 B CN105955011 B CN 105955011B CN 201610254907 A CN201610254907 A CN 201610254907A CN 105955011 B CN105955011 B CN 105955011B
Authority
CN
China
Prior art keywords
intelligent watch
time
hand
information
intelligent
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.)
Expired - Fee Related
Application number
CN201610254907.XA
Other languages
Chinese (zh)
Other versions
CN105955011A (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 Ou Demeng Science And Technology Ltd
Original Assignee
Shenzhen Ou Demeng Science And Technology 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 Ou Demeng Science And Technology Ltd filed Critical Shenzhen Ou Demeng Science And Technology Ltd
Priority to CN201610254907.XA priority Critical patent/CN105955011B/en
Publication of CN105955011A publication Critical patent/CN105955011A/en
Application granted granted Critical
Publication of CN105955011B publication Critical patent/CN105955011B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04RRADIO-CONTROLLED TIME-PIECES
    • G04R20/00Setting the time according to the time information carried or implied by the radio signal
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

The invention relates to the technical field of intelligent watches, and provides an intelligent time correction method and device. The method comprises the following steps: the intelligent terminal camera scans the dial plate of the intelligent watch and records the current information of the hand and/or the dial plate of the intelligent watch; the intelligent terminal analyzes the intelligent watch hand and/or dial information to obtain the current intelligent watch time information; and the intelligent terminal checks the network standard time and the current time of the intelligent watch and sends the corrected time difference to the intelligent watch. The embodiment of the invention scans the intelligent watch dial through the intelligent terminal camera and analyzes the time specifically represented by the position of each pointer on the current intelligent watch dial by utilizing image algorithm processing. And further, the time difference is corrected with the network standard time to generate the time difference for the automatic calibration of the intelligent watch, so that the watch calibration efficiency of the intelligent watch can be improved.

Description

Intelligent timing method and device
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of intelligent watches, in particular to an intelligent time correction method and device.
[ background of the invention ]
The wearing formula develops as one can, and intelligent bracelet, wrist-watch are various, and it is roughly by: the MEMS device comprises a related MEMS sensor, an MCU and a communication module, and is typically a MOTO 360 watch, an apple iwatch, a fitbit bracelet and the like.
In addition, there is a class of light intelligent wrist-watch, is based on traditional pointer wrist-watch, constitutes through embedding relevant electronic circuit, sensor chip etc. and the biggest difference with intelligent wrist-watch on the general meaning lies in: the appearance, display pointer, quartz movement and the like of the traditional pointer meter are kept, and meanwhile, the intelligent functions of motion recognition, step counting, telephone reminding, intelligent time correction and the like are achieved.
The invention aims at the intelligent timing function of the light intelligent watch. So-called intelligent timing: the time of the watch can be adjusted through the mobile phone, and the time of the traditional pointer watch is adjusted through the crown. The mobile phone time adjustment has the advantages that the network standard time can be calibrated quickly, and particularly, the mobile phone time adjustment is convenient and quick when people go on business to different time zones.
There is an intelligence function of timing among the prior art, sets up a virtual dial plate at the APP end, and through manual clockwise or anticlockwise slip dial plate, the wrist-watch pointer follows clockwise or anticlockwise rotation, and through people's eye discernment wrist-watch pointer point to standard time position, stop to slide can, as shown in FIG. 1. However, the problem of this solution is that the virtual dial needs to be touched continuously by hand, and human eyes look at the hands of the watch tightly at the same time, so that the user experience is poor, the efficiency is low, and the traditional watch is not as good as the watch crown for debugging. The position where the watch finally stops may be subject to a large error depending on the human eye and the virtual dial.
In view of the above, overcoming the drawbacks of the prior art is an urgent problem in the art.
[ summary of the invention ]
The invention aims to solve the technical problem of low efficiency and complexity in time correction and adjustment of the intelligent watch in the prior art.
The invention further aims to solve the technical problem of providing an intelligent time correction method.
The invention adopts the following technical scheme:
in one aspect, an embodiment of the present invention provides an intelligent timing method, where the intelligent timing method includes:
the intelligent terminal camera scans the dial plate of the intelligent watch and records the current information of the hand and/or the dial plate of the intelligent watch;
the intelligent terminal analyzes the intelligent watch hand and/or dial information to obtain the current intelligent watch time information;
and the intelligent terminal checks the network standard time and the current time of the intelligent watch and sends the corrected time difference to the intelligent watch.
Preferably, the intelligent terminal analyzes the intelligent watch hand and/or dial information to obtain current intelligent watch time information, and the method specifically includes:
the method comprises the steps that information of a hand and a dial acquired by current scanning is processed through an image, and an hour hand, a minute hand and/or a second hand are/is identified;
determining the angles of the current hour hand, minute hand and/or second hand relative to the reference time scale mark on the dial plate;
and converting the deviation angle of each pointer relative to the reference time scale mark on the dial plate into the time information of the current intelligent watch.
Preferably, the image processing of the information of the hands and dials obtained by current scanning to identify the hour hand, minute hand and/or second hand specifically includes:
sequentially carrying out one or more of gray processing, top hat transformation and image binarization processing on the scanned image to obtain a preprocessed image;
determining the dial plate center positioning in the preprocessed image, and calculating the maximum communication area passing through the dial plate center in the image;
and carrying out Hough transform on the maximum region and the region to detect the linear attribute of the region, and judging an hour hand, a minute hand and a second hand according to the length and/or the thickness.
Preferably, the determining of the angle of the current hour hand, minute hand and/or second hand with respect to the reference time scale mark on the dial specifically includes:
according to the dial scale of the preprocessed image, determining a reference time scale mark on the dial and a reference line formed by the dial center obtained by positioning; and the reference line is used for finishing the determination of the angle of the current hour hand, minute hand and/or second hand relative to the reference time scale mark on the dial.
Preferably, the intelligent terminal camera scans the intelligent wrist-watch dial plate simultaneously, still includes:
and recording the current scanning time, wherein the scanning time is used for being combined with the time consumed by subsequent analysis of the intelligent pointer and/or dial information, and calculating to obtain the delay time for analysis, and the delay time is used for subsequently calculating the correction time difference.
On the other hand, the embodiment of the invention also provides an intelligent time correction method, which comprises the following steps:
the method comprises the steps that an intelligent terminal camera scans a dial plate of an intelligent watch, and one or more images containing current information of a hand and/or the dial plate of the intelligent watch are intercepted;
the intelligent terminal analyzes the image A containing the intelligent watch hand and/or dial information to obtain the current intelligent watch time information; if the currently acquired time information of the smart watch does not meet the requirements, calling the intercepted and acquired image B for analysis;
and the intelligent terminal checks the network standard time and the current time of the intelligent watch and sends the corrected time difference to the intelligent watch.
Preferably, the dial plate of the smart watch is controllable in brightness, and if it is determined that the currently acquired time information of the smart watch does not meet the requirement, the image B obtained by capturing is called to be analyzed, and the method further includes:
if the intelligent terminal analyzes the image B containing the intelligent watch hand and/or dial information, when the acquired intelligent watch time information does not meet the requirements, the intelligent terminal controls the dial of the intelligent watch to change the brightness, so that the image of the intelligent watch hand and/or dial information captured after adjustment can be analyzed and acquired to obtain the watch time information meeting the requirements.
In a third aspect, an embodiment of the present invention further provides an intelligent timing method, where the intelligent timing method includes:
the intelligent terminal receives an intelligent watch model input by a user, and calls corresponding pointer information and dial plate information according to the intelligent watch model;
the intelligent terminal camera scans the dial of the intelligent watch, and utilizes the called pointer information and dial information under the model of the intelligent watch to identify the target of an hour hand, a minute hand and/or a second hand;
converting the offset angle of each pointer relative to the reference time scale mark on the dial plate into the time information of the current intelligent watch;
and the intelligent terminal checks the network standard time and the current time of the intelligent watch and sends the corrected time difference to the intelligent watch.
In a fourth aspect, an embodiment of the present invention further provides an intelligent timing device, where the device includes a camera, a network interface, a data interface, a memory, and a processor, where the camera, the network interface, the data interface, and the memory are respectively connected to the processor, and specifically:
the camera is used for scanning the dial plate of the intelligent watch and recording the current information of the hand and/or the dial plate of the intelligent watch by using the memory;
the processor is used for analyzing the intelligent watch hand and/or dial information and acquiring the current intelligent watch time information; the intelligent watch is also used for checking the network standard time and the current intelligent watch time and sending the checking time difference to the intelligent watch by using a data interface;
and the network interface is used for providing an interface for the processor to acquire the network standard time.
In a fifth aspect, an embodiment of the present invention further provides an intelligent timing device, where the device includes a camera, a network interface, a data interface, a memory, an input interface, and a processor, where the camera, the network interface, the data interface, the memory, and the input interface are respectively connected to the processor, and specifically:
the input interface is used for receiving the type of the intelligent watch input by a user and transmitting the type of the intelligent watch to the processor;
the processor is used for calling corresponding pointer information and dial plate information stored in the memory according to the model of the intelligent watch;
the camera scans the intelligent watch dial;
the processor is also used for performing target identification of an hour hand, a minute hand and/or a second hand by utilizing the called pointer information and dial plate information under the intelligent watch model; converting the offset angle of each pointer relative to the reference time scale mark on the dial plate into the time information of the current intelligent watch; the network standard time and the current smart watch time are corrected, and the corrected time difference is sent to the smart watch through a digital interface;
and the network interface is used for providing an interface for the processor to acquire the network standard time.
Compared with the prior art, the invention has the beneficial effects that: the embodiment of the invention scans the intelligent watch dial through the intelligent terminal camera and analyzes the time specifically represented by the position of each pointer on the current intelligent watch dial by utilizing image algorithm processing. And further, the time difference is corrected with the network standard time to generate the time difference for the automatic calibration of the intelligent watch, so that the watch calibration efficiency of the intelligent watch can be improved.
[ description of the drawings ]
FIG. 1 is a schematic diagram of a virtual scheduling interface according to the prior art provided by an embodiment of the present invention;
FIG. 2 is a flowchart of a method for intelligently calibrating time according to an embodiment of the present invention;
FIG. 3 is a flow chart of another method for intelligent timing according to an embodiment of the present invention;
FIG. 4 is a flow chart of another method for intelligent timing according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an apparatus for intelligent timing according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another apparatus for intelligent timing according to an embodiment of the present invention;
FIG. 7 is a flowchart of image processing in a method for intelligently calibrating time according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an effect of a dial plate of an intelligent watch according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a binary processing effect of a dial plate of the smart watch according to an embodiment of the present invention;
fig. 10 is a schematic diagram illustrating an effect of a smart watch dial after a maximum connected domain is processed according to an embodiment of the present invention;
fig. 11 is a schematic diagram illustrating a straight-line effect of detecting an image by using hough transform according to an embodiment of the present invention;
fig. 12 is a diagram for identifying the effect of pointer length according to an embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Examples1:
An embodiment 1 of the present invention provides an intelligent timing method, as shown in fig. 2, where the intelligent timing method includes:
in step 201, the intelligent terminal camera scans the dial of the intelligent watch and records the current hand and/or dial information of the intelligent watch.
The scanning is a broader concept, and the actual operation process of the intelligent terminal can be a photographing mode; or shooting short videos; the camera can be used for directly reading the memory, and the APP can complete the subsequent algorithm processing mode.
In step 202, the intelligent terminal analyzes the intelligent watch hand and/or dial information to obtain the current intelligent watch time information.
In step 203, the intelligent terminal checks the network standard time and the current time of the intelligent watch, and sends the checking time difference to the intelligent watch.
After receiving the corrected time difference, the intelligent watch sends out a watch hand gear set through the MCU to complete the adjustment of the time corresponding to the corrected time difference, thereby realizing the time correction function of the intelligent watch.
The embodiment of the invention scans the intelligent watch dial through the intelligent terminal camera and analyzes the time specifically represented by the position of each pointer on the current intelligent watch dial by utilizing image algorithm processing. And further, the time difference is corrected with the network standard time to generate the time difference for the automatic calibration of the intelligent watch, so that the watch calibration efficiency of the intelligent watch can be improved.
With reference to the embodiments of the present invention, there is a preferred implementation scheme, where the intelligent terminal analyzes the smart watch hand and/or dial information to obtain current smart watch time information, and the method specifically includes:
the method comprises the steps that information of a hand and a dial acquired by current scanning is processed through an image, and an hour hand, a minute hand and/or a second hand are/is identified; determining the angles of the current hour hand, minute hand and/or second hand relative to the reference time scale mark on the dial plate; and converting the deviation angle of each pointer relative to the reference time scale mark on the dial plate into the time information of the current intelligent watch.
With reference to the embodiment of the present invention, there is a preferred implementation scheme, where the image processing unit processes the hand and dial information obtained by current scanning to identify an hour hand, a minute hand and/or a second hand, and specifically includes:
sequentially carrying out one or more of gray processing, top hat transformation and image binarization processing on the scanned image to obtain a preprocessed image;
determining the dial plate center positioning in the preprocessed image, and calculating the maximum communication area passing through the dial plate center in the image;
and carrying out Hough transform on the maximum region and the region to detect the linear attribute of the region, and judging an hour hand, a minute hand and a second hand according to the length and/or the thickness.
In combination with the embodiment of the present invention, there is a preferred implementation scheme, where the determining an angle of the current hour hand, minute hand and/or second hand with respect to a reference time scale on the dial specifically includes:
according to the dial scale of the preprocessed image, determining a reference time scale mark on the dial and a reference line formed by the dial center obtained by positioning; and the reference line is used for finishing the determination of the angle of the current hour hand, minute hand and/or second hand relative to the reference time scale mark on the dial.
With reference to the embodiments of the present invention, there is a preferred implementation scheme, where the method for scanning a dial of an intelligent watch by using a camera of an intelligent terminal further includes:
and recording the current scanning time, wherein the scanning time is used for being combined with the time consumed by subsequent analysis of the intelligent pointer and/or dial information, and calculating to obtain the delay time for analysis, and the delay time is used for subsequently calculating the correction time difference. In short, the time used for analyzing the check time difference after the intelligent terminal scans is also accumulated into the check time difference finally sent to the intelligent watch, so that the finally obtained result is more accurate. However, the delay time is usually controlled within 10s by the smart terminal in the display use, which does not have too great influence on the final calibration result of the smart watch, and therefore, the delay time can be ignored.
Example 2:
based on embodiment 1 and a preferred implementation scheme thereof, an embodiment of the present invention further provides an intelligent time calibrating method, which is different from the method described in embodiment 1, in which, in this embodiment, a solution is provided for a situation that image information meeting a condition cannot be obtained by occasionally scanning a dial of an intelligent watch once in a specific application scenario, and as shown in fig. 3, the intelligent time calibrating method includes:
in step 301, the intelligent terminal camera scans the intelligent watch dial, and captures one or more images containing current intelligent watch hand and/or dial information.
The image can be stored on a local memory of the intelligent terminal in a picture file format; or the data can be stored in the internal memory of the intelligent terminal so as to be read more quickly.
In step 302, the intelligent terminal analyzes an image A containing the intelligent watch hand and/or dial information to obtain the current time information of the intelligent watch; and if the currently acquired time information of the smart watch does not meet the requirements, calling the intercepted and acquired image B for analysis.
The method for obtaining the current time information of the smart watch may refer to the relevant preferred scheme in embodiment 1, which is not described herein again.
In step 303, the intelligent terminal checks the network standard time and the current time of the intelligent watch, and sends the checking time difference to the intelligent watch.
After receiving the corrected time difference, the intelligent watch sends out a watch hand gear set through the MCU to complete the adjustment of the time corresponding to the corrected time difference, thereby realizing the time correction function of the intelligent watch.
Specifically, this embodiment is a scheme implemented in a specific scenario in embodiment 1, which not only ensures robustness of a scanning result, but also improves recognition accuracy in a severe environment.
With reference to the embodiment of the present invention, there is a preferred implementation scheme, where a dial of the smart watch is controllable in brightness, and if it is determined that the currently acquired time information of the smart watch does not meet the requirement, the captured image B is called to be analyzed, and the method further includes:
if the intelligent terminal analyzes the image B containing the intelligent watch hand and/or dial information, when the acquired intelligent watch time information does not meet the requirements, the intelligent terminal controls the dial of the intelligent watch to change the brightness, so that the image of the intelligent watch hand and/or dial information captured after adjustment can be analyzed and acquired to obtain the watch time information meeting the requirements. The time and minute hands can be identified and the condition requirement of reference time scale marks can be determined when the requirement is met in specific implementation.
Example 3:
based on embodiment 1 and its preferred implementation, the embodiment of the present invention further provides an intelligent time calibrating method, which is different from embodiments 1 and 2, and in this embodiment, a positioning solution for an hour hand, a minute hand, and a second hand based on an object recognition algorithm is provided, and as shown in fig. 4, the intelligent time calibrating method includes:
in step 401, the intelligent terminal receives an intelligent watch model input by a user, and the intelligent terminal calls corresponding pointer information and dial information according to the intelligent watch model.
In step 402, the intelligent terminal camera scans the intelligent watch dial and performs target identification of the hour hand, minute hand and/or second hand by using the called pointer information and dial information under the intelligent watch model.
In step 403, the deviation angle of each pointer with respect to the reference time scale mark on the dial is converted into the time information of the current smart watch.
In step 404, the smart terminal checks the network standard time and the current smart watch time, and sends the check time difference to the smart watch.
After receiving the corrected time difference, the intelligent watch sends out a watch hand gear set through the MCU to complete the adjustment of the time corresponding to the corrected time difference, thereby realizing the time correction function of the intelligent watch.
According to the embodiment of the invention, the dial plate information and the pointer information of each intelligent watch are stored on the intelligent terminal or remote server, so that after the model information of the intelligent watch is obtained, the corresponding dial plate information and the pointer information can be obtained, the accurate angle position of the hour hand, the minute hand and/or the second hand is obtained through a target matching algorithm, and the proofreading time difference is finally calculated.
Since this embodiment is different from embodiment 1 only in the way of confirming the hour hand, minute hand and/or second hand, this embodiment is also applicable to the preferred scheme in embodiment 1, and details thereof are not repeated herein.
Example 4:
an intelligent timing device, as shown in fig. 5, includes a camera 11, a network interface 12, a data interface 13, a memory 14 and a processor 15, where the camera 11, the network interface 12, the data interface 13 and the memory 14 are respectively connected to the processor 15, and specifically:
the camera 11 is used for scanning the dial plate of the intelligent watch and recording the current hand and/or dial plate information of the intelligent watch by using the memory 14;
the processor 15 is configured to analyze the smart watch hand and/or dial information to obtain current smart watch time information; the system is also used for calibrating the network standard time and the current time of the intelligent watch and sending the calibrated time difference to the intelligent watch by using the data interface 13;
the network interface 12 is configured to provide an interface for the processor 15 to obtain the network standard time.
It should be noted that, because the contents of information interaction, execution process, and the like between the modules and units in the apparatus are based on the same concept as that of embodiment 1 of the present invention, specific contents may refer to the description in embodiment 1 of the present invention, and are not described herein again.
Example 5:
an intelligent timing device, as shown in fig. 6, includes a camera 21, a network interface 22, a data interface 23, a memory 24, an input interface 26 and a processor 26, where the camera 21, the network interface 22, the data interface 23, the memory 24 and the input interface 25 are respectively connected to the processor 26, and specifically:
the input interface 25 is used for receiving the model of the smart watch input by the user and transmitting the model to the processor 26;
the processor 26 is configured to call corresponding pointer information and dial information stored in the memory 24 according to the model of the smart watch;
the camera 21 scans the dial of the intelligent watch;
the processor 26 is further configured to perform target identification of an hour hand, a minute hand and/or a second hand by using the retrieved pointer information and dial plate information of the smart watch model; converting the offset angle of each pointer relative to the reference time scale mark on the dial plate into the time information of the current intelligent watch; and checking the network standard time and the current time of the intelligent watch, and sending the checking time difference to the intelligent watch through a digital interface 23.
The network interface 22 is used for providing an interface for the processor 26 to obtain the network standard time.
It should be noted that, because the contents of information interaction, execution process, and the like between the modules and units in the apparatus are based on the same concept as that of embodiment 3 of the present invention, specific contents may refer to the description in embodiment 3 of the present invention, and are not described herein again.
Example 6:
based on the method described in embodiment 1, in the following, some of the various implementations included in embodiment 1 will be specifically described in combination with specific implementation details, and the description of how to solve the offset angle of each pointer will be focused on the algorithm side. In this embodiment, the smart terminal is embodied as a smart phone. The method is characterized in that a scanning mode is adopted instead of photographing identification, one main reason is that photographing identification needs to be triggered by a user actively, and the user can only perform identification attempt once under the condition of active triggering, once the identification is not clear, the user experience is poor, in addition, as a watch is generally worn on the hand, the other hand of the user operates a mobile phone, the user experience and the intelligence degree can be greatly improved by adopting the scanning mode under the conditions that the screen of the mobile phone is increasingly large and focusing and photographing are almost impossible to operate by one hand. The specific image processing algorithm flow contained therein refers to the flow shown in fig. 7. The overall procedure is set forth below:
the first step is as follows: a user's scanning interface is aligned with the watch dial for scanning, the center of a circle of the dial and the position of 12 points are overlapped with the virtual position of the mobile phone end as much as possible, and the smart phone end can automatically select a picture with clear images and send the picture into a subsequent program for processing. Wherein, the scanning process is finished, and what the smart phone presents to the user is to wait for a moment to correct the progress bar.
The second step is that: the color image is converted to a grayscale image and then top-hat transformed (i.e., the grayscale image minus the on-operated image) in order to extract useful information in addition to the background. Moreover, the top hat transformation can be performed according to different background lights, so that the situation that some dark background places are lost during binarization is prevented, and then binarization processing is performed to obtain the graph 9.
The third step: the method is mainly used for dividing the pointer from the image, the method is used for calculating the maximum connected domain in the image (because the pointer is connected around a shaft, the method is particularly good in effect), the maximum connected domain is that the outline is searched for the graph firstly, then the maximum outline is the maximum connected domain, meanwhile, the center of a circle of the pointer is obtained according to the pointer shaft, the center of the circle is the center of a circle of a pointer coordinate system, the method plays an important role in accurately calculating the angle of the subsequent pointer, and meanwhile, the method plays a role in judging the straight line, and is shown in figure 10.
The fourth step: the straight line of the image is detected by using Hough transform, and the noise interference can be better reduced by finding the straight line through Hough transform compared with other methods. The method comprises the following steps: a straight line is a set of a series of discrete points in an image, and through a discrete polar coordinate formula of the straight line, a geometric equation of the discrete points of the straight line can be expressed as follows: x cos (theta) + y sin (theta) ═ r, where angle theta refers to the angle between r and the X axis, and r is the geometric perpendicular distance to the line. Any point x, y on a straight line can be expressed where r, theta are constants. The formula is graphically represented as shown in fig. 11.
However, in the field of image processing implemented, the pixel coordinates P (x, y) of the image are known, and r, theta are the variables we are looking for. If we can plot each (r, theta) value from the pixel point coordinate P (x, y) value, we convert from the image cartesian coordinate system to the polar hough space system, and this point-to-curve transformation is called the hough transformation of straight lines. The transform equally divides or accumulates the grid for a finite interval of values by quantizing the hough parameter space. When the hough transform algorithm starts, each pixel coordinate point P (x, y) is transformed to the upper surface of the curve point of (r, theta), and is accumulated to the corresponding grid data point, when a peak appears, it indicates that a straight line exists, and the detection result is as shown in fig. 12, where the first and last points of the straight line are detected at the marked position in fig. 12. And judging the hour hand, the minute hand and the second hand according to the length of the straight line.
The fifth step: according to three linear equations obtained by hough transform, the corresponding angle can be calculated by using an inverse triangle, and the time can be calculated by using the angle, for example, the hour hand is 275 °, so that the hour is obtained:
(must be rounded in hours)
The calculation formulas of the minute hand and the second hand can be obtained in turn:
those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the embodiments may be implemented by associated hardware as instructed by a program, which may be stored on a computer-readable storage medium, which may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, or the like.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (5)

1. The intelligent time correction method is applied to time comparison of an intelligent terminal to an intelligent watch, and a dial plate of the intelligent watch is controllable in brightness, and is characterized by comprising the following steps:
the intelligent terminal receives an intelligent watch model input by a user, and calls corresponding pointer information and dial plate information according to the intelligent watch model;
the intelligent terminal camera scans the dial plate of the intelligent watch, records the current information of the hand and/or the dial plate of the intelligent watch, intercepts one or more images containing the current information of the hand and/or the dial plate of the intelligent watch, and performs target identification of the hour hand, the minute hand and/or the second hand by utilizing the called pointer information and the dial plate information under the model of the intelligent watch;
the intelligent terminal analyzes the intelligent watch hand and/or dial plate information to obtain current intelligent watch time information, the intelligent terminal analyzes an image A containing the intelligent watch hand and/or dial plate information to obtain the current intelligent watch time information, and if the current obtained intelligent watch time information is judged not to meet the requirement, an intercepted image B is called to be analyzed;
if the acquired time information of the intelligent watch does not meet the requirements, the intelligent terminal controls the dial plate of the intelligent watch to change the brightness, so that the image of the pointer and/or dial plate information of the intelligent watch intercepted after adjustment can be analyzed and acquired to obtain the time information of the watch meeting the requirements;
recording the current scanning time, wherein the scanning time is used for being combined with the time consumed by analyzing the intelligent pointer and/or dial information, and calculating to obtain the delay time for analysis;
and the intelligent terminal checks the network standard time, the current intelligent watch time and the delay time, calculates to obtain a checking time difference, and sends the checking time difference to the intelligent watch.
2. The intelligent time correction method according to claim 1, wherein the intelligent terminal analyzes the intelligent watch hand and/or dial information to obtain current intelligent watch time information, and specifically comprises:
the method comprises the steps that information of a hand and a dial acquired by current scanning is processed through an image, and an hour hand, a minute hand and/or a second hand are/is identified;
determining the angles of the current hour hand, minute hand and/or second hand relative to the reference time scale mark on the dial plate;
and converting the deviation angle of each pointer relative to the reference time scale mark on the dial plate into the time information of the current intelligent watch.
3. The method for intelligently calibrating time according to claim 2, wherein the image processing is performed on the hand and dial information obtained by current scanning to identify an hour hand, a minute hand and/or a second hand, and specifically comprises:
sequentially carrying out one or more of gray processing, top hat transformation and image binarization processing on the scanned image to obtain a preprocessed image;
determining the dial plate center positioning in the preprocessed image, and calculating the maximum communication area passing through the dial plate center in the image;
and carrying out Hough transform on the maximum region and the region to detect the linear attribute of the region, and judging an hour hand, a minute hand and a second hand according to the length and/or the thickness.
4. The method for intelligently calibrating time according to claim 3, wherein the determining of the angle of the current hour hand, minute hand and/or second hand with respect to the reference time scale mark on the dial specifically comprises:
according to the dial scale of the preprocessed image, determining a reference time scale mark on the dial and a reference line formed by the dial center obtained by positioning; and the reference line is used for finishing the determination of the angle of the current hour hand, minute hand and/or second hand relative to the reference time scale mark on the dial.
5. The utility model provides a device of intelligence timing, its characterized in that, the device includes camera, network interface, data interface, memory, input/output interface and treater, camera, network interface, data interface, memory, input/output interface respectively with the treater links to each other, and is specific: the input interface is used for receiving the type of the intelligent watch input by a user and transmitting the type of the intelligent watch to the processor;
the camera is used for scanning the dial plate of the intelligent watch, recording the current information of the hand and/or the dial plate of the intelligent watch by using the memory, intercepting one or more images containing the current information of the hand and/or the dial plate of the intelligent watch, and performing target identification on the hour hand, the minute hand and/or the second hand by using the called information of the hand and the dial plate under the model of the intelligent watch;
the processor is used for calling corresponding pointer information and dial plate information stored in the memory according to the model of the intelligent watch, performing target identification on an hour hand, a minute hand and/or a second hand by using the called pointer information and dial plate information under the model of the intelligent watch, analyzing the intelligent watch hand and/or dial plate information, acquiring current intelligent watch time information, analyzing an image A containing the intelligent watch hand and/or dial plate information by the intelligent terminal, acquiring current intelligent watch time information, and calling an intercepted and acquired image B for analysis if the current acquired intelligent watch time information is judged to be not satisfactory;
if the acquired time information of the intelligent watch does not meet the requirements, the intelligent terminal controls the dial plate of the intelligent watch to change the brightness, so that the image of the pointer and/or dial plate information of the intelligent watch intercepted after adjustment can be analyzed and acquired, the watch time information meeting the requirements is recorded, the scanning time is used for being combined with the time consumed by analyzing the pointer and/or dial plate information of the intelligent watch, the delay time for analysis is calculated, the network standard time, the current time of the intelligent watch and the delay time are corrected, the correction time difference is calculated and obtained, and the correction time difference is sent to the intelligent watch by using a data interface;
and the network interface is used for providing an interface for the processor to acquire the network standard time.
CN201610254907.XA 2016-04-21 2016-04-21 Intelligent timing method and device Expired - Fee Related CN105955011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610254907.XA CN105955011B (en) 2016-04-21 2016-04-21 Intelligent timing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610254907.XA CN105955011B (en) 2016-04-21 2016-04-21 Intelligent timing method and device

Publications (2)

Publication Number Publication Date
CN105955011A CN105955011A (en) 2016-09-21
CN105955011B true CN105955011B (en) 2019-12-24

Family

ID=56916130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610254907.XA Expired - Fee Related CN105955011B (en) 2016-04-21 2016-04-21 Intelligent timing method and device

Country Status (1)

Country Link
CN (1) CN105955011B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106773607B (en) * 2016-12-02 2019-11-08 歌尔科技有限公司 A kind of the benchmark point calibration method and device of machinery pin type intelligent meter
CN106657852B (en) * 2016-12-21 2019-04-16 智威富(北京)科技有限公司 Time synchronization method, equipment and system
CN106773637A (en) * 2016-12-28 2017-05-31 歌尔科技有限公司 The method of intelligent watch and its setting time with indicator and indicator drive mechanism
CN106597835A (en) * 2016-12-31 2017-04-26 珠海市魅族科技有限公司 Pointer-type timekeeper and pointer-type timekeeper calibration method
CN110462529B (en) * 2017-03-29 2021-06-29 西铁城时计株式会社 Analog electronic timepiece system and analog electronic timepiece
CN106990711B (en) * 2017-05-18 2019-11-29 广东乐源数字技术有限公司 A method of wrist-watch clock synchronization is carried out by image recognition
CN107329397B (en) * 2017-07-26 2023-06-20 歌尔科技有限公司 Light intelligent watch calibration method and device and light intelligent watch
CN107703728B (en) * 2017-10-18 2020-05-19 广东乐芯智能科技有限公司 Method for enabling watch pointer to reach preset position
PL233219B1 (en) * 2017-11-17 2019-09-30 Politechnika Warszawska Method for creation of a calibration grid using the high-resolution display unit
CN108549845B (en) * 2018-03-26 2022-04-05 武汉晨龙电子有限公司 Method for determining surface pointer position
CN108519734B (en) * 2018-03-26 2019-09-10 广东乐芯智能科技有限公司 A kind of system of determining surface pointer position
WO2019184642A1 (en) * 2018-03-26 2019-10-03 广东乐芯智能科技有限公司 Method and system for determining positions of watch face hands
CN108682034B (en) * 2018-04-18 2021-12-14 淮北微立淘科技有限公司 Android system-based smart watch entity pointer position determination method
CN109062026A (en) * 2018-10-26 2018-12-21 珠海罗西尼表业有限公司 Time precision measuring instrument and its measurement method
CN110568751B (en) * 2019-08-30 2021-03-30 歌尔股份有限公司 Watch, time calibration method thereof and readable storage medium
CN111240184B (en) * 2020-02-21 2021-12-31 华为技术有限公司 Method for determining clock error, terminal and computer storage medium
CN113835329A (en) * 2020-06-23 2021-12-24 天津海鸥表业集团有限公司 Time precision detection device and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004093557A (en) * 2002-07-08 2004-03-25 Seiko Epson Corp Time correction system, time correction indicator, timepiece with indicating needle and time correction method
CN101393419A (en) * 2008-10-27 2009-03-25 深圳华为通信技术有限公司 Terminal and time collocation method thereof
CN101982826A (en) * 2010-11-10 2011-03-02 中国船舶重工集团公司第七一○研究所 Finger vein collection and identification method capable of automatically adjusting brightness of light source
CN104090483A (en) * 2014-07-29 2014-10-08 苏州朗昇通信科技有限公司 Method and device for calibrating time display instrument
CN104503221A (en) * 2014-11-18 2015-04-08 深圳市金立通信设备有限公司 Clock calibration method
CN104766073A (en) * 2015-04-28 2015-07-08 天津理工大学 Self-adaptive hand back vein image collecting system
HK1203292A2 (en) * 2015-04-21 2015-10-23 Reena Ltd Method and apparatus for adjusting analog movement of timepiece
CN105279229A (en) * 2015-09-15 2016-01-27 青岛海信移动通信技术股份有限公司 Method for mobile terminal to identify clock time, and mobile terminal
CN105467829A (en) * 2015-12-16 2016-04-06 深圳智能表芯科技有限公司 Pointer calibration method of pointer type intelligent clock based on image identification technology

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102840948B (en) * 2012-09-28 2014-02-12 长庆石油勘探局技术监测中心 Batch calibration equipment and batch calibration method for intelligent pointer-type pressure gages
US10095189B2 (en) * 2014-06-12 2018-10-09 Nokia Technologies Oy Analog type watch and time set method
CN104483827A (en) * 2014-12-22 2015-04-01 中国计量学院 System and method for calibrating digital clock measurement
CN105306689B (en) * 2015-09-25 2019-05-03 重庆蓝岸通讯技术有限公司 Mobile phone time acquisition methods based on bluetooth

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004093557A (en) * 2002-07-08 2004-03-25 Seiko Epson Corp Time correction system, time correction indicator, timepiece with indicating needle and time correction method
CN101393419A (en) * 2008-10-27 2009-03-25 深圳华为通信技术有限公司 Terminal and time collocation method thereof
CN101982826A (en) * 2010-11-10 2011-03-02 中国船舶重工集团公司第七一○研究所 Finger vein collection and identification method capable of automatically adjusting brightness of light source
CN104090483A (en) * 2014-07-29 2014-10-08 苏州朗昇通信科技有限公司 Method and device for calibrating time display instrument
CN104503221A (en) * 2014-11-18 2015-04-08 深圳市金立通信设备有限公司 Clock calibration method
HK1203292A2 (en) * 2015-04-21 2015-10-23 Reena Ltd Method and apparatus for adjusting analog movement of timepiece
CN104766073A (en) * 2015-04-28 2015-07-08 天津理工大学 Self-adaptive hand back vein image collecting system
CN105279229A (en) * 2015-09-15 2016-01-27 青岛海信移动通信技术股份有限公司 Method for mobile terminal to identify clock time, and mobile terminal
CN105467829A (en) * 2015-12-16 2016-04-06 深圳智能表芯科技有限公司 Pointer calibration method of pointer type intelligent clock based on image identification technology

Also Published As

Publication number Publication date
CN105955011A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN105955011B (en) Intelligent timing method and device
CN106446873B (en) Face detection method and device
US11024052B2 (en) Stereo camera and height acquisition method thereof and height acquisition system
CN109688351B (en) Image signal processing method, device and equipment
CN106454079B (en) Image processing method and device and camera
CN111345029B (en) Target tracking method and device, movable platform and storage medium
CN106650614B (en) Dynamic calibration method and device
JP2008152622A (en) Pointing device
CN112614085A (en) Object detection method and device and terminal equipment
JP2013156109A (en) Distance measurement device
US20130064470A1 (en) Image processing apparatus and image processing method for reducing noise
WO2021237732A1 (en) Image alignment method and apparatus, electronic device, and storage medium
CN112085775B (en) Image processing method, device, terminal and storage medium
WO2020216091A1 (en) Image processing method and related apparatus
CN112631303B (en) Robot positioning method and device and electronic equipment
CN104636743B (en) Method and device for correcting character image
JP2014186505A (en) Visual line detection device and imaging device
US10803353B2 (en) Method and apparatus for acquiring information
US11195298B2 (en) Information processing apparatus, system, method for controlling information processing apparatus, and non-transitory computer readable storage medium
US20230326216A1 (en) Object detection method and apparatus for vehicle, device, vehicle and medium
CN114040107B (en) Intelligent automobile image shooting system, intelligent automobile image shooting method, intelligent automobile image shooting vehicle and intelligent automobile image shooting medium
CN115457055A (en) Illuminance meter value identification method, electronic device, and storage medium
JP2015035070A (en) Image collation device, image collation method, and program
WO2017219562A1 (en) Method and apparatus for generating two-dimensional code
KR101444207B1 (en) Uneven pattern image acquisition apparatus and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191224

Termination date: 20210421