Stepl1 Set the synchronization decision threshold n to the value calculated with equation (1) with t as the required synchronous error time (0.03 at this time).
Step2 Set the black-and-white decision threshold b to the mean value of the black and white element at a fixed location, such as at the position detection patterns.
Step3 Set the mobile time to zero (the mobile time increasing with system time except for the time
correction in Step6)
Step4 When the fraction part of the mobile time is 0.5, capture the mobile device screen and scan a scanning line as shown in Figure 6.
Step5 Count pixels with a brightness greater than b as white pixels.
Step6 If the number of white pixels is greater than n, calculate the time equivalent for the numbers of white pixels with equation (1), correct the mobile time with the time, and go to step 4. If not, scan the 2D matrix and set the integer part of the mobile time to the number indicated by the 2D matrix.