Patent ID: 8339477

Claim:
A method for detecting a name of a captured landmark, adapted to a digital camera, wherein the digital camera comprises an environmental condition capturer, a liquid crystal display (LCD) unit, and a map data table, and the map data table comprises a plurality of landmark names and a plurality of landmark coordinates corresponding to the landmark names, the method comprising: capturing an image, and obtaining a focusing distance, wherein the image comprises at least one of the captured landmark; capturing an environmental condition by the environmental condition capturer, wherein the environmental condition comprises shooting information and searching information, the shooting information comprises a shooting direction, a shooting angle, and a shooting coordinate, and the searching information comprises a horizontal search angle and a vertical search angle; obtaining a search focus range by increasing or decreasing the focusing distance by a specified distance, or by being set to a horizontal distance between the digital camera and a captured object; and looking up the map data table according to the search focus range and the shooting information to obtain an output coordinate corresponding to the captured landmark and the landmark name corresponding to the output coordinate, comprising: calculating a shooting axis according to the shooting direction and the shooting angle; obtaining a shooting pyramid according to the shooting axis, the horizontal search angle, and the vertical search angle; defining a search pyramid range according to the search focus range and the shooting pyramid; looking up the map data table for the output coordinate according to each of the search pyramid range and the shooting coordinate, comprising: Step a: looking up the map data table for at least one of the landmark coordinate located within the search pyramid range according to the search pyramid range and the shooting information; Step b: when only one of the landmark coordinates is found within the search pyramid range, taking the found landmark coordinate as the output coordinate; Step c: when ones of the landmark coordinates is found within the search pyramid range, selecting the output coordinate from the found landmark coordinates according to the found landmark coordinates, the focusing distance, and the shooting information; and Step d: when none of the landmark coordinates is found within the search pyramid range, performing the following steps: setting an another search pyramid range according to the search focus range and the search pyramid range; and returning to Step a, and looking up the map data table for the landmark coordinate located within the another search pyramid range according to the another search pyramid range and the shooting information; and looking up the map data table for the landmark name corresponding to the output coordinate.