1. Technical Field
The present disclosure relates to an electronic device capable of annotating photos and a method thereof.
2. Description of Related Art
In the past people would make notes on the back of photographs to preserve their memories. Now, however, with the introduction of digital photos and digital photo frames (DPF's), there is no convenient way to do this.
Therefore, what is needed is an electronic device capable of annotating photos and a method thereof.
The processing unit 200 includes a reading module 210, a display module 220, an identification module 230, an overlay module 240, an parameter file generating module 250, a storage module 260, and a relationship establishing module 270.
The reading module 210 is configured to read a to-be-displayed original photo from the storage unit 100.
The identification module 230 is configured to generate an annotation interface on the original photo in response to the touch operations from the input unit 300, identify an annotation corresponding to the touch operations, and display the annotation on the annotation interface. In the exemplary embodiment, the annotation interface can be used to input text, drawings etc. The annotation interface can be pre-programmed to open as a window of a default size overlaying a portion of the image to be annotated. Then the annotation interface can be expanded or shrank to fit the annotations entered by the user. In addition, the position of the annotation interface in the original photo can be changed by the user, using for example a sliding touch on an edge of the annotation interface to drag the annotation interface to a desired position overlaying the image. Furthermore, the touch screen 400 employs an OCR (Optical Character Recognition) technology to identify the annotations on the annotation interface. However it should be noted that, in other exemplary embodiments, the touch screen 400 could also use some other technology to identify the annotations on the annotation interface.
The overlay module 240 is configured to make the annotation interface becoming transparent leaving only the annotations overlaying the image, or attractively design the annotation interface overlaying on the image along with the annotations to provide a contrasting background for the annotations.
The display module 220 is configured to display the read original photo and overlaid photos on the display unit 400.
The parameter file generating module 250 is configured to generate a parameter file. The parameter file includes parameters of the annotations on the annotation interface. The parameters can be, but are not limited to, annotation position, annotation content, and so on.
The storage module 260 is configured to store the generated parameter file in the storage unit 100.
The relationship establishing module 270 is configured to establish a relationship between the original photo with the generated parameter file. In the exemplary embodiment, when the user views an original photo, the display module 220 detects whether the original photo has an associated parameter file. If the original photo has an associated parameter file, the display module 220 will pop up a window to prompt the user to choose whether to overlay the photo with annotations. If the user chooses yes, the display module 220 overlays the photo on the display unit 400 with the annotations. If the user chooses no, or the original photo does not have an associated parameter file, the display module 220 just displays the original photo on the display unit 400.
In the exemplary embodiment, the relationship establishing module 270 establishes the relationship between the original photo and the parameter file in a table such as that shown in
In another exemplary embodiment, instead of using a table, the relationship establishing module 270 can record the relationship between the original photo and the parameter file in the metadata of the original photo. For example, the relationship establishing module 270 records a name of the parameter file in the metadata of the original photo. Thereafter, if the parameter file generating module 250 generates a new parameter file, the relationship establishing module 270 records a name of the new parameter file in the metadata of the original photo to establish the relationship. Accordingly, when the user views an original photo, the display module 220 obtains the metadata of the original photo to detect whether the original photo has an associated parameter file.
In step S601, the reading module 210 reads a to-be-displayed original photo from the storage unit 100.
In step S602, the display module 220 displays the read original photo on the display unit 400.
In step S603, the identification module 230 generates an annotation interface on the original photo in response to the touch operations from the input unit 300, identifies an annotation corresponding to the touch operations, and displays the annotation on the annotation interface.
In step S604, the overlay module 240 makes the annotation interface becoming transparent leaving only the annotations overlaying the image, or attractively designs the annotation interface overlaying on the image along with the annotations to provide a contrasting background for the annotations.
In step S605, the parameter file generating module 250 generates a parameter file which includes parameters corresponding to the annotations on the annotation interface.
In step S606, the storage module 260 stores the generated parameter file in the storage unit 100.
In step S607, The relationship establishing module 270 establishes a relationship between the original photo with the generated parameter file. In first exemplary embodiment, the relationship establishing module 270 establishes the relationship in a table. In second exemplary embodiment, the relationship establishing module 270 establishes the relationship in the metadata of the original photo.
In step S701, the reading module 210 reads a to-be-displayed original photo.
In step S702, the display module 220 detects whether the original photo has an associated with parameter file.
If the original photo does not have an associated with parameter file, in step S703, the display module 220 will directly display the read original photo on the display unit 400.
If the original photo has an associated with parameter file, in step S704, the display module 220 will pop up a window to prompt the user to choose whether overlay the original photo with annotations
In step S705, the display module 220 directly displays the read original photo if the user chooses no.
In step S706, the display module 270 displays an original photo with annotations if the user chooses yes.
Although the present disclosure has been specifically described on the basis of the exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
200810305667.7 | Nov 2008 | CN | national |