Patent ID: 9703404
Date: 2017-07-11
CPC Classifications: G06F,G06K

Claim:
1. A detecting device configured to detect a position code, the position code consisting of a plurality of cyclic main number sequences that are each shifted by a predetermined amount and arranged in a one-dimensional direction, each of the cyclic main number sequences consisting of cycles of a main number sequence that has a base number b and a length K and having K types of characteristic partial sequences with a predetermined length, the detecting device including: a detection section that detects, from each of at least two adjacent cyclic main number sequences among the plurality of cyclic main number sequences, a partial sequence having a length N and satisfying a formula K+K*(b−1)*N≦b a non-transitory memory storing a program, which when executed by a hardware processor causes the detecting device to operate as: a determination section that determines a place of each of the detected partial sequences having the length N in each of the cyclic main number sequences, and an acquisition section that acquires, based on the determined places, positional information given to a detected position in the position code, wherein determination section: specifies, for each of the detected partial sequences having the length N, a characteristic partial sequence having the smallest Hamming distance from each of the detected partial sequences having the length N, among the K types of characteristic partial sequences; and determines places of the specified characteristic partial sequences in the respective cyclic main number sequences.