1. Field of the Invention
The present invention relates to video tagging, and in particular, relates to an electronic device and method capable of automatically adding tags when recording videos.
2. Description of the Related Art
With advances in technology, it has become popular to record videos by using an electronic device equipped with a camera. In addition, when a user is recording a video, there may be an important moment or scene, wherein after recording, the user may want to review the recorded video to search for the important moment or scene. However, conventional electronic device cannot add tags automatically when recording a video. Therefore, it is very inconvenient for a user to search for important moments or scenes in recorded video by using a conventional electronic device.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
In an exemplary embodiment, a video tagging method for use in an electronic device is provided. The electronic device comprises an image capture device and a processor. The method comprises the following steps of: recording a video via the image capture device of the electronic device; and adding at least one tag to the recorded video automatically by the processor in response that at least one specific condition occurs during the recording of the video.
In another exemplary embodiment, an electronic device is provided. The electronic device comprises: an image capture device configured to record a video; and a processor configured to add at least one tag to the recorded video automatically in response that at least one specific condition occurs during the recording of the video.
In yet another exemplary embodiment, a video tagging method for use in an electronic device is provided. The electronic device comprises a processor and a display. The method comprises the following steps of: displaying a video on the display of the electronic device; and adding a tag to the video automatically by the processor in response that an image of the video is captured while displaying the video on the display.
In yet another exemplary embodiment, an electronic device is provided. The electronic device comprises: a display; and a processor configured to process a video for displaying on the display, and add a tag to the video automatically in response that an image of the video is captured while displaying the video on the display.
The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
In addition, the RF circuitry 130 may be coupled to one or more antennas 135 and may allow communications with one or more additional devices, computers and/or servers via wireless network. The electronic device 100 may support various communications protocols, such as the code division multiple access (CDMA), Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), High-Speed Downlink Packet Access (HSDPA), Wi-Fi (such as IEEE 802.11a/b/g/n), Bluetooth, and Wi-MAX communication protocol, and a protocol for emails, instant messaging (IM), and/or a short message services (SMS), but the invention is not limited thereto.
When the display unit 140 is implemented as a touch-sensitive screen, it may detect contact and any movement or break thereof using any of a plurality of touch sensitivity technologies now known or to be later developed, including, but not limited to, capacitive, resistive, infrared, and surface acoustic wave touch sensitivity technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch-sensitive screen. However, the touch-sensitive screen may also display visual output of the electronic device 100. In some other embodiments, the electronic device 100 may include circuitry (not shown in
The image capture unit 150 may be one or more optical sensors configured to capture images. For example, the image capture unit 150 may be one or more CCD or CMOS sensors, but the invention is not limited thereto.
The memory unit 120 may comprise one or more types of computer readable medium. The memory unit 120 may be high-speed random access memory (e.g. SRAM or DRAM) and/or non-volatile memory, such as flash memory (for example embedded multi media card). The memory unit 120 may store program codes of an operating system 122, such as LINUX, UNIX, OS X, Android, iOS or WINDOWS operating system, or an embedded operating system such as VxWorks. The operating system 122 may executes procedures for handling basic system services and for performing hardware dependent tasks. The memory unit 120 may also store communication programs 124 for executing communication procedures. The communication procedures may be used for communicating with one or more additional devices, one or more computers and/or one or more servers. The memory unit 120 may comprise display programs 125, contact/motion programs 126 to determine one or more points of contact and/or their movement, and graphics processing programs 128. The graphics processing programs 128 may support widgets, i.e. modules or applications, with embedded graphics. The widgets may be implemented using JavaScript, HTML, Adobe Flash, or other suitable computer program languages and technologies.
The memory unit 120 may also comprise one or more application programs 130. For example, application programs stored in the memory unit 120 may be telephone applications, email applications, text messaging or instant messaging applications, memo pad applications, address books or contact lists, calendars, picture taking and management applications, and music playback and management applications. The application programs 130 may comprise a web browser (not shown in
It should be noted that each of the above identified programs and applications correspond to a set of instructions for performing one or more functions described above. These programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules. The various programs and sub-programs may be rearranged and/or combined. Various functions of the electronic device 100 may be implemented in software and/or in hardware, including one or more signal processing and/or application specific integrated circuits.
Alternatively, the processor 110 may also detect some specific objects (e.g. a cat, a dog) appearing in the video currently recording. When a specific object is detected in the video at another moment, the processor 110 may also add a tag to the frame in which the specific object first appears within video correspondingly. Once tags for various scenes are built for the video, it is easy for a user to select a desired tag freely while viewing the video.
Note that the electronic device 100 is capable to take photos while recording a video in other embodiments of the invention. During the recording of the video, the processor 110 may capture a photo corresponding to an image frame currently recording in response to receiving an image capture input, add a tag to the corresponding image frame of the video, and then associate the photo and the corresponding tag of the video. When the user views the photo on the electronic device 100, a visual icon or indicator of the corresponding tag of the video associated with the photo will be displayed on the display unit 140 for selection by the user if desired. If the corresponding tag is selected, the video associated with the photo will be displayed from the moment the photo was taken, i.e. from the corresponding image frame of the tag. It should be noted that the user may use the electronic device 100 to take multiple photos while recording a video, and thus tags corresponding to the multiple photos may be added to multiple image frames of the video. Each of the image frame recorded with a tag represents different time point within the video. Conversely, when the user views the recorded video on the electronic device 100, visual icon or indicator of the one or more tags associated with the video may be displayed on the display unit 140, so that the user may select a desired tag to view the photo corresponding to the desired tag.
In yet another embodiment, the processor 110 may detect the sound volume of the surroundings during recording of the video. When a sound change occurs, it may be of some importance. For example, a relatively large sound volume may indicate laughter or singing etc. The processor 110 may further add a tag to the frame first detected with sound peak within the video automatically upon detection of sound condition change. In embodiments of the invention, the processor 110 may determine various sound conditions for adding tags, such as sound volume exceeding a predetermined threshold, sound volume below another predetermined threshold, occurrence of a different sound frequency, occurrence of a constant sound over a period of time, etc. In embodiments of the invention, the processor 110 may provide a user interface on the display unit 140 for user to configure desired conditions of adding tags to the video. Once tags corresponding to various events are built for the recorded video, it is easy for a user to select a desired tag freely while viewing the recorded video.
It should be noted that the aforementioned embodiments illustrating various ways for automatically adding tags while recording a video can be integrated. That is, the processor 110 may detect faces, photo capturing operations, and sound conditions simultaneously while recording a video, and then add corresponding tags to the recorded video.
The methods, or certain aspects or portions thereof, may take the form of a program code embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable (e.g., computer-readable) storage medium, or computer program products without limitation in external shape or form thereof, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine thereby becomes an apparatus for practicing the methods. The methods may also be embodied in the form of a program code transmitted over some transmission medium, such as an electrical wire or a cable, or through fiber optics, or via any other form of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the disclosed methods. When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates analogously to application specific logic circuits.
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.