EP0969403B1

Two-dimensional code recognition processing method and apparatus, and storage medium

Abstract

This record has no abstract on file.

EP0969403B1, drawing sheet 1
Sheet 1 of 24

Term

Term ended

Expired 30 June 2019, 7.2 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

17 claims: 4 independent, 13 dependent

  1. 1
    A two-dimensional code recognition processing method for recognizing a two-dimensional code made of a plurality of square cells arranged in accordance with predetermined layout rules, the method comprising the steps of:generating binary (S2) data from image information acquired externally;detecting (S10) a reference cell (301) serving as a reference in recognizing said two-dimensional code based on said binary data generated in said binary data generating step;detecting (S12) corner cells each located in a predetermined search range with respect to said reference cell (301) detected in said reference cell detecting step (S10), on the basis of said binary data generated in said binary data generating step (S2);and detecting (S14) code data assigned to said two-dimensional code existing inside an area of a code part (202) enclosed by said reference cell (301) and by said corner cells on the basis of said binary data generated in said binary data generating step;characterised in that said binary data generating step comprises generating the data in accordance with a predetermined threshold value (A-E), and in that the method comprises the steps of counting (S3) a total number of black pixel contiguous regions based on said binary data generated in said binary data generating step, and of changing (S6) said predetermined threshold value (A-E) from one candidate value to another for said binary data generating step in stages until said total number drops below (S4) a predetermined region count.
  2. 10
    A method according to any one of the preceding claims, wherein said code data detecting step (S14) includes the steps of:calculating (S62) code data from said two-dimensional code existing inside said area of said code part enclosed by said reference cell (301) and by said corner cells on the basis of said binary data generated in said binary data generating step;calculating (S62) check data from said two-dimensional code existing inside said area of said code part;and verifying (S70) said code data calculated in said code data calculating step on the basis of said check data calculated in said check data calculating step.
  3. 11
    A method according to any one of the preceding claims, wherein said binary data generating step further comprises capturing image information picked up by external image pickup means (23) so as to generate binary data from the captured image information in accordance with a predetermined threshold value.
  4. 12
    A two-dimensional code recognition processing apparatus for recognizing a two-dimensional code made of a plurality of square cells arranged in accordance with predetermined layout rules, the apparatus comprising:binary data generating means (82,52) for generating binary data from image information acquired externally;reference cell detecting means (52) for detecting a reference cell (301) serving as a reference in recognizing said two-dimensional code based on said binary data generated by said binary data generating means;corner cell detecting means (52) for detecting corner cells each located in a predetermined search range with respect to said reference cell (301) detected by said reference cell detecting means, on the basis of said binary data generated by said binary data generating means;and code data detecting means (52) for detecting code data assigned to said two-dimensional code existing inside an area of a code part enclosed by said reference cell (301) and by said corner cells on the basis of said binary data generated by said binary data generated means;characterised in that said binary data generating means(82,52) is operative to generate the data in accordance with a predetermined threshold value (A-E), and in that threshold value changing means (52) is provided for counting (i) a total number of black pixel contiguous regions based on said binary data generated by said binary data generating means, and for changing said predetermined threshold value (A-E) from one candidate value to another for said binary data generating means in stages until said total number drops below a predetermined region count.