System capable of conducting watch time synchronization through image recognition
Technical Field
The invention relates to a watch time setting system, in particular to a watch time setting system capable of identifying time through images.
Background
The current watch time setting is generally observed by human eyes, and if the time setting is different from the network time, the watch time setting is manually adjusted. With the rise of intelligent devices, automatic time setting methods are gradually available, but the automatic time setting methods are generally limited to electronic watches. The reason is that the watch of the quartz movement or the mechanical movement belongs to mechanical control, and the position of the pointer relative to the dial plate is not fed back, so that the position of the pointer at present cannot be known even if an intelligent module is installed on the quartz movement or the mechanical movement.
Disclosure of Invention
In order to solve the technical problem, the invention provides a controller in a watch with a stepping motor, and the controller judges the position of a pointer by means of externally acquiring images so as to adjust the time. The technical scheme of the invention is as follows:
a system capable of carrying out watch time setting through image recognition comprises a watch, wherein the watch comprises a movement, the movement comprises a pointer and a dial plate, the pointer is connected with a stepping motor, and the movement further comprises a controller connected with the stepping motor;
the system also comprises a mobile phone, wherein the mobile phone comprises image analysis software, the image analysis software can open a camera of the mobile phone, take a picture of the dial plate of the movement, and analyze the image obtained by taking the picture to obtain the display moment of the dial plate;
the mobile phone comprises a microprocessor, and the image analysis software can call the microprocessor to compare the display time with the actual time of image acquisition to obtain a time difference;
the handset may send the time difference to the watch via a wireless communication module,
the controller receives the time difference sent by the mobile phone and can adjust the pointer.
Further, the mobile phone comprises a storage module, and the image analysis software can record the actual time t1 when the picture is taken and analyze the display time t2, and store the actual time t1 and the display time t2 in the storage module.
Further, the image analysis software may call the microprocessor to calculate a time difference Δ t = t1-t2 between the actual time t1 and a display time t2, and store the calculated time difference Δ t to the storage module.
Furthermore, the mobile phone and the watch both comprise wireless communication modules, and the wireless communication modules of the mobile phone and the watch are connected in a matching mode.
Further, a time threshold T is set in the controller, and after the controller receives the time difference Δ T transmitted by the mobile phone, the controller controls the stepping motor to adjust the entity pointer and start timing at the same time, wherein the adjustment amount is Δ T + T.
Further, if the stepping motor controls the entity pointer to complete the adjustment amount within the time threshold T, the controller controls the entity pointer to stop rotating until the controller times the time threshold T, and the entity pointer starts to rotate again.
Further, if the stepping motor controls the entity pointer to not finish the adjustment amount within the time threshold T, the controller starts counting from 2 according to a natural number, counts once every other time threshold T, and increases the adjustment amount by T every other time threshold T; and if the counted count value is N when the stepping motor controls the entity pointer to finish the increased adjustment amount, the controller controls the entity pointer to stop rotating until the controller times to the Nth time threshold T, and the entity pointer starts to rotate again.
Through the technical scheme, a user only needs to photograph the dial plate by using the mobile phone, processed data are transmitted to the watch, and the watch can automatically adjust the time.
Drawings
FIG. 1 is a schematic diagram of the system of the present invention.
Detailed Description
Example embodiments will now be described more fully. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
As shown in fig. 1, a system capable of performing time setting of a watch through image recognition includes the watch, the watch includes a movement, the movement includes a pointer and a dial plate, the pointer is connected to a stepping motor, and the movement further includes a controller connected to the stepping motor; the system also comprises a mobile phone, wherein the mobile phone comprises image analysis software, the image analysis software can open a camera of the mobile phone, take a picture of the dial plate of the movement, and analyze the image obtained by taking the picture to obtain the display moment of the dial plate; the mobile phone comprises a microprocessor, and the image analysis software can call the microprocessor to compare the display time with the actual time of image acquisition to obtain a time difference; the mobile phone can send the time difference to the watch through the wireless communication module, and the controller receives the time difference sent by the mobile phone and can adjust the pointer.
Further, the mobile phone comprises a storage module, and the image analysis software can record the actual time t1 when the picture is taken and analyze the display time t2, and store the actual time t1 and the display time t2 in the storage module.
Further, the image analysis software may call the microprocessor to calculate a time difference Δ t = t1-t2 between the actual time t1 and a display time t2, and store the calculated time difference Δ t to the storage module.
Furthermore, the mobile phone and the watch both comprise wireless communication modules, and the wireless communication modules of the mobile phone and the watch are connected in a matching mode.
Further, a time threshold T is set in the controller, and after the controller receives the time difference Δ T transmitted by the mobile phone, the controller controls the stepping motor to adjust the entity pointer and start timing at the same time, wherein the adjustment amount is Δ T + T.
Further, if the stepping motor controls the entity pointer to complete the adjustment amount within the time threshold T, the controller controls the entity pointer to stop rotating until the controller times the time threshold T, and the entity pointer starts to rotate again.
Further, if the stepping motor controls the entity pointer to not finish the adjustment amount within the time threshold T, the controller starts counting from 2 according to a natural number, counts once every other time threshold T, and increases the adjustment amount by T every other time threshold T; and if the counted count value is N when the stepping motor controls the entity pointer to finish the increased adjustment amount, the controller controls the entity pointer to stop rotating until the controller times to the Nth time threshold T, and the entity pointer starts to rotate again.
The operation of the system is described below by way of example:
example 1:
the dial plate of the watch is photographed by using image analysis software of the mobile phone, the image analysis software acquires an image of the dial plate, records the actual photographing time t1 at the same time, such as 3 minutes and 20 seconds when t1 is 5 minutes and 20 seconds, and stores the actual photographing time t1 in a storage module of the mobile phone.
The image analysis software analyzes the acquired image to obtain the display time t2 of the dial plate, for example, t2 is 5 hours, 2 minutes and 55 seconds, and the display time t2 is stored in the storage module of the mobile phone.
The image analysis software calculates the time difference Δ t = t1-t2=25 seconds.
The mobile phone transmits the time difference 25s to the watch through the wireless communication module, and the controller of the watch adjusts the pointer after receiving the time difference and starts to time from 0 at the same time. The time threshold T =30 seconds is stored in the controller, then the adjustment amount is Δ T + T, i.e. 55s, 55s is positive, then the dial hand is rotated forward (clockwise) for 55 s.
When the adjustment is finished, if the time counted from 0 is within the time threshold value 30s, the controller controls the pointer to stop rotating until the counted time reaches the time threshold value T.
Example 2:
the dial plate of the watch is photographed by using image analysis software of the mobile phone, the image analysis software acquires an image of the dial plate, records the actual photographing time t1 at the same time, such as 3 minutes and 20 seconds when t1 is 5 minutes and 20 seconds, and stores the actual photographing time t1 in a storage module of the mobile phone.
The image analysis software analyzes the acquired image to obtain the display time t2 of the dial plate, for example, t2 is 5 hours, 5 minutes and 20 seconds, and the display time t2 is stored in the storage module of the mobile phone.
The image analysis software calculates the time difference Δ t = t1-t2= -120 seconds.
The mobile phone transmits the time difference 25s to the watch through the wireless communication module, and the controller of the watch adjusts the pointer after receiving the time difference and starts to time from 0 at the same time. The time threshold T =30 seconds is stored in the controller, then the adjustment amount is Δ T + T, i.e. -90s, -90s is negative, then the dial hands are rotated backwards (anticlockwise) for 90 s.
If the timer counts from 0 to 30s and the wall is not adjusted completely, the controller starts the counter to count from 2 according to a natural number, counts once every other time threshold T, increases the adjustment amount by 30s every other time threshold T, and if the counter count value is 5, the adjustment is completed, the adjustment amount is-120 s +5 + 30=30, namely the final actual adjustment amount is 30 s. After the adjustment is finished, the controller controls the pointer to stop until the time reaches 5 × 30s =150s, and then the controller controls the pointer to continue rotating.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.