×

Object recognition method and object recognition apparatus using the same

  • US 9,400,924 B2
  • Filed: 12/12/2014
  • Issued: 07/26/2016
  • Est. Priority Date: 05/23/2014
  • Status: Expired due to Fees
First Claim
Patent Images

1. An object recognition method, applied to an object recognition apparatus and comprising:

  • acquiring a real-time image comprising a first object;

    performing a chamfer distance transform on the first object of the real-time image to produce a chamfer image comprising a first modified object;

    acquiring a plurality of preset image templates comprising a second object;

    performing the chamfer distance transform on the second object of each of the plurality of preset image templates to produce a chamfer template comprising a second modified object;

    determining whether difference between the first modified object and one of the second modified objects is less than a first preset error threshold;

    when the difference between the first modified object and the second modified object is less than the first preset error threshold, looking up a control command according to the preset image template corresponding to the second modified object, the object recognition apparatus operating according to the control command;

    comparing a size or location of the first object with sizes or locations of the second objects to determine whether to adjust the preset image templates, comprising;

    detecting a first centroid of the first object;

    detecting a first maximum inscribed circle according to the first centroid of the first object;

    detecting a second centroid of each of the second objects;

    detecting second maximum inscribed circles according to the second centroids of the second objects respectively;

    determining whether a size or location of the first maximum inscribed circle is equal to a size or location of one of the second maximum inscribed circles; and

    adjusting the preset image template comprising the second maximum inscribed circle when the size or location of the first maximum inscribed circle is different from the size or location of the second maximum inscribed circle; and

    when the size or location of the first object is different from the size or location of one of the second object, adjusting the preset image template comprising the second object.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×