Image translation method and system
Patent Information
- Application Number
- JP2022161333
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-10-14
- Filing Date
- 2022-10-06
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2042-10-06
AI Technical Summary
【0011】 本開示の一部の実施例によれば、ユーザには、カメラにより動画が撮影される間に、当該動画に含まれる特定言語のテキストが他の言語に翻訳されて、フレーム別にレンダリングされた結果が提供されることで、毎回翻訳対象物のイメージを撮影してイメージ翻訳を遂行しなくても、リアルタイムでカメラにより撮影された動画を見ながら、当該動画内に含まれるテキストの翻訳結果を共に確認できる。
Smart Images

Figure 0007572130000001 
Figure 0007572130000002 
Figure 0007572130000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an image translation method and system, and in particular to an augmented reality based image translation method and system. [Background technology]
[0002] Recently, translation applications that can be executed on mobile devices have become widespread, allowing users to easily translate foreign words that they do not understand or find difficult to interpret in their daily lives or at work using their mobile devices.
[0003] In existing translation applications, if a user directly inputs text in a language to be translated, the translation application itself can translate the text or obtain the translation result of the text from an external server and provide it to the user. For this reason, when translating a language that is not digitally documented, it takes time for the user to input the text, and typos during the text input process can cause mistranslations.
[0004] To solve this problem, image translation applications have been introduced that take a picture of an object with a foreign language displayed on it and then analyze the image to provide a translation service. However, image translation applications take pictures of static objects that are fixed or placed in a certain position and translate them, so the scope of application may be limited. For example, if a user is walking down the street and wants to translate a signboard written in a foreign language, or if the object is moving, it may be difficult to use the image translation service. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Korean Patent Registration No. 10-1769981 Summary of the Invention [Problem to be solved by the invention]
[0006] The present disclosure provides an augmented reality-based image translation method, computer program, and device (system) for solving the above problems. [Means for solving the problem]
[0007] The present disclosure can be embodied in numerous ways, including as a method, an apparatus (system) or a computer program product.
[0008] According to one embodiment of the present disclosure, an augmented reality based image translation method performed by at least one processor includes the steps of storing a plurality of frames representing a video captured by a camera, extracting a first frame from the stored plurality of frames that satisfies a predetermined criterion, translating a first language sentence contained in the first frame into a second language sentence, determining a translation region including the second language sentence contained in the first frame, and rendering the translation region into the second frame.
[0009] According to another embodiment of the present disclosure, a computer program product for executing an augmented reality based image translation method on a computer is provided.
[0010] According to yet another embodiment of the present disclosure, an augmented reality based image translation system includes a memory and at least one processor coupled to the memory and configured to execute at least one computer-readable program contained in the memory, the at least one program including instructions for storing a plurality of frames representing video captured by a camera, extracting a first frame from the stored plurality of frames that satisfies a predetermined criterion, translating a first language sentence contained in the first frame into a second language sentence, determining a translation region including the second language sentence contained in the first frame, and rendering the translation region into the second frame. Effect of the Invention
[0011] According to some embodiments of the present disclosure, a user can view the video captured by the camera in real time while checking the translation results of the text contained in the video, as the text in a specific language contained in the video is translated into another language and rendered frame by frame, without having to capture an image of the object to be translated each time and perform image translation.
[0012] According to some embodiments of the present disclosure, when the shooting angle of an object to be translated contained in a video captured by a camera is changed or the position of the object is changed, the angle and position of the translation result for the object to be translated are also changed and rendered accordingly, so that the user can check the translation result regardless of changes in the shooting angle or position of the camera or the object to be translated.
[0013] According to some embodiments of the present disclosure, the translation result of the translation target object contained in a video captured by a camera is rendered and displayed on a frame of the most recently captured video, allowing the user to see the translation result displayed in real time on the actual translation target object based on augmented reality.
[0014] The effects of the present disclosure are not limited to these, and other effects not mentioned should be clearly understood by a person having ordinary skill in the art to which the present disclosure pertains (hereinafter referred to as "a person skilled in the art") from the description in the claims. [Brief description of the drawings]
[0015] BRIEF DESCRIPTION OF THE DRAWINGS Examples of the present disclosure will now be described with reference to the accompanying drawings, in which like reference numerals refer to like elements, without limitation, and in which: FIG. [Figure 1] FIG. 13 is a diagram illustrating an example in which a processor according to an embodiment of the present disclosure translates language on an image based on augmented reality. [Diagram 2]FIG. 1 is a schematic diagram showing a configuration in which an information processing system is connected to multiple user terminals so as to be able to communicate with them in order to translate a first language contained in a video captured based on augmented reality into a second language in accordance with one embodiment of the present disclosure. [Diagram 3] 2 is a block diagram showing an internal configuration of a user terminal and an information processing system according to an embodiment of the present disclosure. FIG. [Figure 4] FIG. 2 is a block diagram showing an internal configuration of a processor according to an embodiment of the present disclosure. [Diagram 5] 2 is a block diagram showing an internal configuration of a processor of a user terminal and a processor of an information processing system according to an embodiment of the present disclosure. FIG. [Figure 6] FIG. 13 is a diagram showing an example of extracting and translating a frame from a captured video according to an embodiment of the present disclosure, and then determining a translation area within the frame that contains the translated sentence. [Figure 7] FIG. 11 is a diagram illustrating an example of determining a rendering target area in a second frame based on a first frame according to an embodiment of the present disclosure. [Figure 8] FIG. 11 is a diagram illustrating an example of determining and rendering a rendering target area in a second frame based on a first frame according to an embodiment of the present disclosure. [Figure 9] 1 is a flowchart illustrating an example of an augmented reality based image translation method according to an embodiment of the present disclosure. [Figure 10] 1 is a flowchart illustrating an example of an augmented reality based image translation method according to an embodiment of the present disclosure. [Figure 11] 1 is a flowchart illustrating an example of an augmented reality based image translation method according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Hereinafter, specific contents for carrying out the present disclosure will be described in detail with reference to the accompanying drawings. However, in the following description, detailed descriptions of known functions and configurations will be omitted if there is a risk of unnecessarily obscuring the gist of the present disclosure.
[0017] In the accompanying drawings, the same or corresponding components are given the same reference numerals. In addition, in the following description of the embodiments, repeated descriptions of the same or corresponding components may be omitted. However, even if the description of a component is omitted, it should not be intended that such a component is not included in a certain embodiment.
[0018] The advantages and features of the disclosed embodiments and the methods for achieving them will become apparent from the following examples based on the accompanying drawings. However, the present disclosure is not limited to the embodiments disclosed below, and may be embodied in various different forms. However, the embodiments are provided only to make the disclosure complete and to allow those skilled in the art to accurately recognize the category of the invention.
[0019] The terms used in this specification are briefly explained, and the disclosed embodiments are specifically explained. The terms used in this specification are selected as widely used general terms as possible while considering the function in this disclosure, but these may change depending on the intention or precedent of the engineers engaged in the related field, the emergence of new technology, etc. In addition, there may be terms arbitrarily selected by the applicant in specific cases, but the meanings of these will be described in detail in the description of the invention. Therefore, the terms used in this disclosure should be defined based on the meanings that the terms have and the overall content of this disclosure, rather than simply the names of the terms.
[0020] In this specification, unless otherwise clearly specified in the context, the singular expression can include the plural expression, and the plural expression can include the singular expression. Throughout the specification, when a part "comprises" a certain element, this does not mean excluding other elements, but can further include other elements, unless otherwise specified to the contrary.
[0021] In addition, the term "module" or "unit" as used in the specification means a software or hardware component, and the "module" or "unit" performs a certain function. However, the term "module" or "unit" is not limited to software or hardware. The "module" or "unit" may be configured to reside on an addressable storage medium and may be configured to execute one or more processors. Thus, by way of example, a "module" or "unit" may include components such as software components, object-oriented software components, class components, and task components, as well as at least one of a process, a function, an attribute, a procedure, a subroutine, a segment of program code, a driver, firmware, microcode, a circuit, data, a database, a data structure, a table, an array, or a variable. The components and "modules" or "units" may be combined into a smaller number of components and "modules" or "units" or the functions provided therein may be further separated into additional components and "modules" or "units".
[0022] According to one embodiment of the present disclosure, a "module" or "unit" may be embodied with a processor and a memory. A "processor" should be broadly construed to include a general purpose processor, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a controller, a microcontroller, a state machine, and the like. In some environments, a "processor" may also refer to an application specific semiconductor (ASIC), a programmable logic device (PLD), a field programmable gate array (FPGA), and the like. A "processor" may also refer to a combination of processing devices, such as, for example, a combination of a DSP and a microprocessor, a combination of multiple microprocessors, a combination of one or more microprocessors in conjunction with a DSP core, or any other such configuration. Additionally, a "memory" should be broadly construed to include any electronic component capable of storing electronic information. "Memory" may refer to various types of processor-readable media such as Random Access Memory (RAM), Read Only Memory (ROM), Non-Volatile Random Access Memory (NVRAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash memory, magnetic or optical data storage devices, registers, etc. A memory is said to be in electronic communication with a processor when the processor can read information from the memory and write information read into the memory. Memory that is integrated into a processor is in electronic communication with the processor.
[0023] In the present disclosure, a "system" may include at least one of a server device and a cloud device, but is not limited thereto. For example, the system may be composed of one or more server devices. As another example, the system may be composed of one or more cloud devices. As yet another example, the system may be operated by being composed of all of the server device and the cloud device.
[0024] In this disclosure, "rendering" may generally refer to superimposing a specific object on each frame (or image) of a video in a two-dimensional or three-dimensional manner. More specifically, rendering may refer to superimposing a translation result (or text) on a translation target object included in each frame of a video. For example, rendering may include mapping an area or box containing the translation text to a corresponding area on the translation target object included in each frame of a video, or performing warping for mapping, and superimposing the mapping result on the frame.
[0025] In this disclosure, "Augmented Reality (AR)" may refer to outputting a virtual object rendered two-dimensionally or three-dimensionally in a specific area of a video captured by a camera connected to a user terminal while outputting the video on the display of the user terminal. In this disclosure, the translation result of the text in a specific area included in the video captured by the camera can be provided to the user in real time based on the augmented reality.
[0026] FIG. 1 is a diagram showing an example in which a processor according to an embodiment of the present disclosure translates a language on an image based on augmented reality. As shown in the figure, the processor can extract a first frame 120 from a plurality of frames 110 included in a video captured by a camera. The processor can also translate a first language sentence included in the first frame into a second language sentence, and determine a translation region 122 including the second language sentence in the first frame. The processor can render the translation region in a rendering target region 132 on a second frame 130 captured after a first time (e.g., T1 seconds) has elapsed. Here, the first time may be the same as or longer than the time it takes for the first language sentence included in the translation region 122 to be translated into the second language sentence after the first frame 120 is captured. Here, the processor can use a feature point conversion model to map the translation region 122 included in the first frame 120 to the rendering target region 132 included in the second frame 130. Furthermore, the processor can use the feature point conversion model to determine a rendering target region 142 included in a second frame 130 in which a translation region including a second language sentence is rendered and each of a plurality of consecutive frames 140 in order to translate a first language included in a video captured by a camera into a second language in real time and display the translation region on a display. The processor can render the translation region on each of the rendering target regions 142 included in each of the plurality of frames 140.
[0027] According to an embodiment, the processor may store a plurality of frames included in a video captured by a camera in a buffer and determine and extract a frame suitable for image translation from among the plurality of stored frames in order to extract a first frame 120 from a plurality of frames 110 included in a video captured by a camera. Here, a frame suitable for image translation may be a frame in which the text to be translated is included in a certain ratio or more, or the text to be translated included in the frame includes sufficient information to derive an accurate translation result. For example, a frame suitable for image translation may be determined in consideration of the sharpness of an object or text included in the frame, the presence or absence or area ratio of text included in the frame, the brightness of the frame, and the blurriness of the frame.
[0028] According to one embodiment, the processor can translate the first language sentence contained in the extracted first frame into the second language sentence. For example, the processor can translate the first language sentence contained in the first frame into the second language sentence using a character recognition algorithm based on an artificial neural network. According to another embodiment, to translate the first language sentence, the processor can transmit the first frame to an external device and receive the second language sentence or the frame containing the second language sentence translated by the external device.
[0029] According to an embodiment, the processor may extract feature points, etc., including the text to be translated and its surroundings, included in the first frame 120 including the second language sentence, to determine the translation region 122 in the first frame 120. For example, the processor may extract feature points, etc., including the outline of each character of the text, after performing pre-processing, including noise removal, binarization, segmentation, layout analysis, etc., on the first frame 120. The processor may determine the translation region 122 as an area connecting the extracted feature points, etc.
[0030] According to an embodiment, the processor can render the translation region 122 including the second language sentence converted from the first language sentence in the second frame 130. To this end, the processor can determine the rendering target region 132 included in the second frame 130 using a feature point transformation model. The feature point transformation model can calculate a transformation matrix for determining feature points, etc. of the second frame 130 based on feature points, etc. extracted from the first frame 120 including the translation region 122, and can determine the rendering target region 132 on the second frame 130 based on the feature points, etc. of the second frame 130 using the calculated transformation matrix. Thereafter, the processor can render the translation region 122 including the second language sentence in the rendering target region 132 on the second frame 130.
[0031] On the other hand, if the second frame 130 does not satisfy the predefined criteria compared to the first frame 120, the processor may not render the translation region 122. For example, if the time interval (T1) between the first frame 120 and the second frame 130 exceeds the predefined time interval, the processor may not render the translation region 122 and re-perform a new translation cycle. In another example, if the motion difference between the first frame 120 and the second frame 130 exceeds a predefined difference, the processor may re-perform a new translation cycle.
[0032] According to one embodiment, in order to translate a first language sentence included in a video captured by a camera into a second language sentence in real time, a processor can use the feature point transformation model to determine a rendering target region 142 included within each of a plurality of frames 140 consecutive to a second frame 130 in which a translation region 122 including the second language sentence is rendered. Then, the translation region 122 can be rendered to correspond to each of the rendering target regions 142 included in each of the plurality of frames 140.
[0033] With this configuration, a user does not have to take an image of the object to be translated with a camera and perform image translation; instead, the user can watch the video input / taken by the camera in real time and check the result of the first language sentence contained in the video being translated into the second language sentence.
[0034] FIG. 2 is a schematic diagram showing a configuration in which an information processing system 230 is connected to a plurality of user terminals 210_1, 210_2, and 210_3 so as to be able to communicate with them in order to translate a first language included in a video captured based on augmented reality into a second language according to an embodiment of the present disclosure. The information processing system 230 may include a system capable of providing an augmented reality-based image translation to the plurality of user terminals 210_1, 210_2, and 210_3 via a network 220. According to an embodiment, the information processing system 230 may include a computer executable program (e.g., a downloadable application) associated with the augmented reality-based image translation service, one or more server devices and / or databases capable of storing, providing, and executing data, or one or more distributed computing devices and / or distributed databases based on a cloud computing service. The augmented reality-based image translation service provided by the information processing system 230 may be provided to a user through an augmented reality-based image translation application installed in each of the plurality of user terminals 210_1, 210_2, and 210_3.
[0035] A plurality of user terminals 210_1, 210_2, and 210_3 can communicate with the information processing system 230 via the network 220. The network 220 can be configured to enable communication between the plurality of user terminals 210_1, 210_2, and 210_3 and the information processing system 230. The network 220 can be composed of a wired network such as Ethernet (registered trademark), PLC (Power Line Communication), telephone line communication device, and RS-serial communication, a mobile communication network, a wireless network such as WLAN (Wireless LAN), Wi-Fi, Bluetooth (registered trademark), and ZigBee (registered trademark), or a combination thereof, depending on the installation environment. The communication method is not limited, and includes not only a communication method utilizing a communication network (e.g., a mobile communication network, a wired Internet, a wireless Internet, a broadcast network, a satellite network, etc.) that can include the network 220, but also a short-distance wireless communication between the user terminals 210_1, 210_2, and 210_3. For example, network 220 may include any one or more of a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), a broadband network (BBN), the Internet, etc. Network 220 may also include any one or more of a network topology including, but not limited to, a bus network, a star network, a ring network, a mesh network, a star-bus network, a tree or hierarchical network, etc.
[0036] 2, a mobile phone terminal 210_1, a tablet terminal 210_2, and a PC terminal 210_3 are shown as examples of user terminals, but the user terminals 210_1, 210_2, and 210_3 may be any computer device capable of wired and / or wireless communication and capable of installing and executing an image translation application based on augmented reality. For example, the user terminal may include a smartphone, a mobile phone, a navigation system, a desktop computer, a laptop computer, a digital broadcasting terminal, a PDA (Personal Digital Assistant), a PMP (Portable Multimedia Player), a tablet PC, a game console, a wearable device, an IoT (internet of things) device, a VR (virtual reality) device, an AR (augmented reality) device, and the like. Also, while FIG. 2 shows three user terminals 210_1, 210_2, and 210_3 communicating with the information processing system 230 via the network 220, this is not limited thereto, and a different number of user terminals may be configured to communicate with the information processing system 230 via the network 220.
[0037] In one embodiment, the user terminals 210_1, 210_2, and 210_3 running an image translation application based on augmented reality can perform image translation on a video captured by a camera (not shown) or a frame (or image) extracted from the video, and render the result of the image translation on the video to provide it. Specifically, the user terminals 210_1, 210_2, and 210_3 can extract frames suitable for image translation from a video captured by a camera and stored in a buffer, perform image translation on the frames, and then render the translation result on one or more frames of the video currently stored in the buffer to output it via a display.
[0038] According to another embodiment, the user terminals 210_1, 210_2, and 210_3 may transmit video captured by a camera or frames (or images) extracted from the video to the information processing system 230 via the network 220. The information processing system 230 may perform image translation on the received video or frames extracted from the video, and transmit the results of the image translation to the user terminals 210_1, 210_2, and 210_3. The user terminals 210_1, 210_2, and 210_3 that receive the results of the image translation may render the translation results onto one or more frames of the video currently stored in the buffer, and output the results via a display.
[0039] 3 is a block diagram showing the internal configuration of a user terminal 210 and an information processing system 230 according to an embodiment of the present disclosure. The user terminal 210 may refer to any computing device capable of executing an image translation application based on augmented reality and capable of wired / wireless communication, and may include, for example, a mobile phone terminal 210_1, a tablet terminal 210_2, and a PC terminal 210_3 of FIG. 2. As shown in the figure, the user terminal 210 may include a memory 312, a processor 314, a communication module 316, and an input / output interface 318. Similarly, the information processing system 230 may include a memory 332, a processor 334, a communication module 336, and an input / output interface 338. As shown in FIG. 3, the user terminal 210 and the information processing system 230 may be configured to communicate information and / or data via the network 220 using their respective communication modules 316 and 336. Additionally, the input / output device 320 may be configured to input information and / or data to the user terminal 210 and output information and / or data generated by the user terminal 210 via the input / output interface 318 .
[0040] The memories 312 and 332 may include any non-transitory computer-readable recording medium. According to an embodiment, the memories 312 and 332 may include a permanent mass storage device such as a random access memory (RAM), a read only memory (ROM), a disk drive, a solid state drive (SSD), and a flash memory. As another example, a permanent mass storage device such as a ROM, an SSD, a flash memory, and a disk drive may be included in the user terminal 210 or the information processing system 230 as a separate permanent storage device separate from the memory. In addition, the memories 312 and 332 may store an operating system and at least one program code (e.g., code for an image translation application based on augmented reality installed and operated in the user terminal 210).
[0041] Such software components may be loaded from a computer-readable recording medium separate from the memories 312 and 332. Such separate computer-readable recording medium may include a recording medium directly connectable to the user terminal 210 and the information processing system 230, and may include computer-readable recording media such as a floppy drive, a disk, a tape, a DVD / CD-ROM drive, and a memory card. As another example, the software components may be loaded into the memories 312 and 332 via a communication module rather than a computer-readable recording medium. For example, at least one program may be loaded into the memories 312 and 332 based on a computer program (e.g., an application providing an image translation service based on augmented reality) installed by a file provided via the network 220 by a developer or a file distribution system that distributes installation files for the application.
[0042] The processor 314, 334 may be configured to process computer program instructions by performing basic arithmetic, logic, and input / output operations. The instructions may be provided to the processor 314, 334 by the memory 312, 332 or the communication module 316, 336. For example, the processor 314, 334 may be configured to execute instructions received by program code stored in a storage device, such as the memory 312, 332.
[0043] The communication modules 316 and 336 may provide a configuration or function for the user terminal 210 and the information processing system 230 to communicate with each other via the network 220, and may provide a configuration or function for the user terminal 210 and / or the information processing system 230 to communicate with other user terminals or other systems (e.g., a separate cloud system, an image translation system, etc.). As an example, a request (e.g., an image translation request) generated by the processor 314 of the user terminal 210 according to a program code stored in a storage device such as the memory 312 may be transmitted to the information processing system 230 via the network 220 under the control of the communication module 316. Conversely, a control signal or command provided under the control of the processor 334 of the information processing system 230 may be received by the user terminal 210 via the communication module 316 of the user terminal 210 through the communication module 336 and the network 220. For example, the user terminal 210 may receive text translated by image translation or a video / image in which the text is rendered from the information processing system 230 via the communication module 316.
[0044] The input / output interface 318 may be a means for interfacing with the input / output device 320. As an example, the input device may include a device such as a camera including an image sensor, a keyboard, a microphone, a mouse, etc., and the output device may include a device such as a display, a speaker, a haptic feedback device, etc. As another example, the input / output interface 318 may be a means for interfacing with a device in which configurations and functions for performing input and output are integrated into one, such as a touch screen. For example, when the processor 314 of the user terminal 210 processes instructions of a computer program loaded in the memory 312, a service screen configured using information and / or data provided by the information processing system 230 or another user terminal may be displayed on the display via the input / output interface 318. In FIG. 3, the input / output device 320 is illustrated as not being included in the user terminal 210, but is not limited thereto, and may be configured integrally with the user terminal 210. In addition, the input / output interface 338 of the information processing system 230 may be a means for interfacing with an input or output device (not shown) that may be connected to the information processing system 230 or may be included in the information processing system 230. In FIG. 3, the input / output interfaces 318, 338 are illustrated as elements configured separately from the processors 314, 334, but are not limited thereto, and the input / output interfaces 318, 338 may be configured to be included in the processors 314, 334.
[0045] The user terminal 210 and the information processing system 230 may include more components than those shown in FIG. 3. However, it is not necessary to explicitly show most of the conventional technical components. According to an embodiment, the user terminal 210 may be embodied to include at least a part of the above-mentioned input / output device 320. The user terminal 210 may further include other components such as a transceiver, a global positioning system (GPS) module, a camera, various sensors, and a database. For example, if the user terminal 210 is a smartphone, it may include components that are generally included in a smartphone, and may be embodied to further include various components such as an acceleration sensor, a gyro sensor, a camera module, various physical buttons, a button using a touch panel, an input / output port, and a vibrator for vibration.
[0046] According to an embodiment, the processor 314 of the user terminal 210 may be configured to run an augmented reality based image translation application or a web browser application that provides an augmented reality based image translation service. At this time, program code associated with the application may be loaded into the memory 312 of the user terminal 210. When the application is running, the processor 314 of the user terminal 210 may receive information and / or data provided from the input / output device 320 via the input / output interface 318 or may receive information and / or data from the information processing system 230 via the communication module 316, process the received information and / or data, and store it in the memory 312. Also, such information and / or data may be provided to the information processing system 230 via the communication module 316.
[0047] When the augmented reality based image translation application is operated, the processor 314 may receive text or images input or selected through an input device such as a touch screen or keyboard connected to the input / output interface 318, and may store the received text and / or images in the memory 312 or provide them to the information processing system 230 via the communication module 316 and the network 220. For example, the processor 314 may receive information regarding an image translation request through an input device such as a touch screen or keyboard. The received request and / or information may be provided to the information processing system 230 via the communication module 316 and the network 220.
[0048] The processor 314 of the user terminal 210 may be configured to manage, process, and / or store information and / or data received from the input / output device 320, other user terminals, the information processing system 230, and / or multiple external systems. The information and / or data processed by the processor 314 may be provided to the information processing system 230 via the communication module 316 and the network 220. The processor 314 of the user terminal 210 may transfer and output information and / or data to the input / output device 320 via the input / output interface 318. For example, the processor 314 may display the received information and / or data on a screen of the user terminal.
[0049] The processor 334 of the information processing system 230 may be configured to manage, process, and / or store information and / or data received from a plurality of user terminals 210 and / or a plurality of external systems. The information and / or data processed by the processor 334 may be provided to the user terminal 210 via the communication module 336 and the network 220. For example, while the user terminal 210 operates an augmented reality based image translation application, the processor 314 may receive an image and / or an image translation request from the user terminal 210 via the communication module 336, store the received image in the memory 332, or perform image translation on the received image. The processor 314 may also store the image translation result in the memory 332 again, or provide it to the user terminal 210 via the communication module 336 and the network. In FIG. 3, the information processing system 230 is illustrated as a single system, but is not limited thereto, and may be comprised of a plurality of systems / servers for providing various services associated with the augmented reality based image translation service. For example, the information processing system 230 may include a separate server including an image translation model.
[0050] Fig. 4 is a block diagram showing an internal configuration of the processor 314 according to an embodiment of the present disclosure. As shown in the figure, the processor 314 can include a frame extractor 410, a translator 420, a translation region determiner 430, and a renderer 440. Although Fig. 4 shows that the processor 314 includes a single processor, the present invention is not limited thereto and may include a plurality of processors.
[0051] According to an embodiment, the frame extractor 410 may store a plurality of frames representing a video captured by a camera. The camera may refer to, but is not limited to, a camera device that is detachable from or built into the user terminal. The video captured by the camera may be output via a display device installed in the user terminal. At the same time, the plurality of frames constituting the video may be stored in a buffer set in the memory of the user terminal or a separate storage device. The number of the plurality of frames stored in the buffer may be a predetermined number. For example, the buffer may store 10 video frames.
[0052] Also, the frame extraction unit 410 may extract frames that satisfy a predetermined criterion from the plurality of stored frames. Here, the predetermined criterion may be a criterion for selecting a frame suitable for image translation, such as a frame containing a text to be translated at a certain ratio or more, or a text to be translated contained in the frame containing enough information to derive an accurate translation result. For example, the frame extraction unit 410 may extract frames that satisfy a predetermined brightness or sharpness from the plurality of stored frames. In another example, the frame extraction unit 410 may extract frames that contain a number of characters or edges that exceeds a predetermined number, or that have a certain degree of application of a specific graphic process, such as a blurring effect that processes the entire or part of the frame, above a certain criterion.
[0053] According to an embodiment, the translation unit 420 can translate a sentence to be translated (hereinafter referred to as a "first language sentence") included in a frame (hereinafter referred to as a "first frame") extracted by the frame extraction unit 410 into a translation sentence (hereinafter referred to as a "second language sentence"). For example, the translation unit 420 can translate a first language sentence into a second language sentence using a character recognition algorithm based on an artificial neural network. In another example, the translation unit 420 can transmit a first frame to an external device to translate the first language sentence, and receive a second language sentence translated by the external device or a frame including the second language sentence. In an embodiment, the translation unit 420 can call an image translation API (application programming interface) to perform image translation by such an external device. In this case, the image translation API can input a frame including a sentence to be translated and output a translation sentence or a frame including the translation sentence.
[0054] According to an embodiment, the translation area determination unit 430 may determine a translation area in a first frame including a sentence in a second language. In an embodiment, the translation area determination unit 430 may determine a translation area by extracting feature points around a sentence in a first language translated into a sentence in a second language in a first frame and connecting the feature points. For example, the translation area determination unit 430 may extract feature points including the outline of each character of text included in the first frame after performing pre-processing including noise removal, binarization, segmentation, layout analysis, etc. on the first frame. The translation area determination unit 430 may determine an area connecting the extracted feature points, etc. as a translation area.
[0055] According to an embodiment, the rendering unit 440 may render the translation area determined by the translation area determination unit 430 to another frame (hereinafter, referred to as a "second frame") of the video currently stored in the buffer. In this case, the second frame may be a frame captured after the time when the first frame is extracted. Specifically, the second frame may refer to a frame indicating a part of the video captured by a camera or stored in the buffer at the time when the translation unit 420 translates the first language sentence into the second language sentence.
[0056] The rendering unit 440 may determine whether to render the translation region in the second frame. According to an embodiment, if the first frame and the second frame satisfy a predetermined criterion, the rendering unit 440 may render the translation region in the second frame. For example, if the time interval between the first frame and the second frame exceeds a certain time interval, the rendering unit 440 may determine not to render the translation region in the second frame. In another example, if the motion difference between the first frame and the second frame is greater than a predetermined motion difference, the rendering unit 440 may determine not to render the translation region in the second frame. This is because if a certain amount of time has passed since the video including the first frame was shot, or if there is a large change in the form or position of one or more objects including the translation region between the first frame and the second frame including the second language sentence, the sentence to be translated included in the frame, etc. may be changed, or it may be difficult to match the translation region of the first frame including the second language sentence and the region to be rendered of the second frame.
[0057] According to an embodiment, the rendering unit 440 may determine a rendering target region in order to render the translation region in the second frame. In an embodiment, the rendering unit 440 may determine a rendering target region on the second frame using a feature point transformation model based on feature points of the translation region extracted / determined by the translation region determination unit 430. Here, the feature point transformation model may include a transformation matrix or a homography matrix that matches the translation region on the first frame including the second language sentence and the rendering target region on the second frame.
[0058] According to an embodiment, the rendering unit 440 may determine whether to render the translation region in a plurality of frames (hereinafter referred to as "third frames") subsequent to the second frame in which the translation region is rendered, and / or whether to maintain the region to be rendered in the third frame. To this end, the rendering unit 440 may determine a time interval between the second frame and the third frame, and may determine whether to maintain the region to be rendered based on the determined time interval.
[0059] For example, if the time interval between the second frame and the third frame is less than a predetermined time interval, the rendering unit 440 can maintain the rendering target area determined on the second frame on the third frame. In this case, the rendering unit 440 can render the translation region on the third frame including the maintained rendering target area. In this case, the third frame can be one of a plurality of frames that are consecutive after the second frame. In other words, the third frame can refer to a frame that shows at least a part of a video captured by a camera or stored in a buffer at the time of rendering the translation region.
[0060] In another example, if the time interval between the second frame and the third frame is equal to or greater than a predetermined time interval, the frame extraction unit 410 can re-store the multiple frames captured by the camera in a buffer, re-extract frames that satisfy a predetermined criterion from the multiple stored frames, and perform subsequent procedures including image translation, etc.
[0061] According to an embodiment, the rendering unit 440 may determine a feature point transformation model (or transformation matrix) or a matching algorithm for determining a region to be rendered based on the time interval between the first frame and the second frame.
[0062] For example, when the time interval between frames is long, a feature point transformation model for determining the rendering target region can be determined using a feature point matching algorithm. The feature point matching algorithm can extract keypoints indicating text and descriptors indicating the surrounding feature points from each of a first frame and a second frame (or a second frame and a third frame) including a second language sentence, and then calculate the similarity between all the keypoints and feature points to perform matching. In addition, the feature point matching algorithm can estimate a transformation matrix between matched keypoints or feature points, and warp the translation region of the first frame including the second language sentence into the rendering target region of the second frame using the estimated transformation matrix.
[0063] In another example, when the time interval between frames is short, a feature point transformation model for determining the rendering target region can be determined using a feature tracking algorithm. The feature point tracking algorithm can extract key points indicating text from a first frame (or a second frame) including a second language sentence, and track the path along which the key points move from the second frame (or a third frame) using an optical flow technique. The feature point tracking algorithm can also estimate a transformation matrix between the key points on the first frame including the second language sentence and the key points on the second frame, and use the estimated transformation matrix to transform the translation region of the first frame including the second language sentence into the rendering target region of the second frame.
[0064] With this configuration, the translation result of the object to be translated contained in a video captured by a camera is rendered and displayed on a frame of the most recently captured video, allowing the user to confirm the translation result displayed in real time on the actual object to be translated based on augmented reality.
[0065] FIG. 5 is a block diagram illustrating an internal configuration of the processor 314 of the user terminal and the processor 334 of the information processing system according to an embodiment of the present disclosure.
[0066] As shown in the figure, the processor 314 of the user terminal can include a frame extraction unit 512. Also, the processor 334 of the information processing system can include a translation unit 522, a translation region determination unit 524, and a rendering unit 526. In Fig. 5, the processor of the user terminal and the processor of the information processing system are each shown as a single processor, but are not limited to this and may be composed of multiple processors.
[0067] According to an embodiment, in the processor 314 of the user terminal, the frame extraction unit 512 can extract a first frame suitable for image translation from a plurality of frames of a video captured by a camera and stored. The processor 314 can transfer an image corresponding to the first frame to the information processing system and receive a second frame including a sentence in a second language that is a translation result of the sentence in a first language included in the first frame from the information processing system. That is, the translation unit 522 of the processor 334 of the information processing system can perform image translation on the first frame, and the rendering unit 526 can render the translation area determined by the translation area determination unit 524 into the rendering target area on the second frame and transfer it to the user terminal. The processor 314 that receives the second frame can output the received second frame via the display of the user terminal.
[0068] According to another embodiment, the processor 314 of the user terminal may include a frame extracting unit 512, a translation area determining unit 524, and a rendering unit 526, and the processor 334 of the information processing system may include a translating unit 522. In this case, the frame extracting unit 512 of the processor 314 may extract a first frame suitable for image translation from among a plurality of frames of a video captured by a camera and stored, and transfer the first frame to the information processing system. In the processor 334 of the information processing system that receives the first frame, the translating unit 522 may perform image translation on a first language sentence on the first frame, and transfer the result to the user terminal. In the processor 314 of the user terminal that receives the image translation result, the translation area determining unit 524 may perform preprocessing on the first frame to determine a translation area including a second language sentence. In addition, the rendering unit 526 may render the translation area into a rendering target area on the second frame, and output it via a display of the user terminal.
[0069] As described above in various embodiments, the frame extraction unit 512, the translation unit 522, the translation area determination unit 524, and the rendering unit 526 can be appropriately distributed and installed in the user terminal and the information processing system according to the arrangement of computer resources of the entire system including the user terminal and the information processing system. Also, the processor 314 of the user terminal can determine whether the image translation and / or rendering of the translation area of the first language sentence included in the first frame is performed in the user terminal or in an external device (or information processing system). That is, the processor 314 of the user terminal can cooperate with the processor 334 of the information processing system to determine the entity that performs the translation and / or rendering in consideration of the resolution of the frame to be image translated, the required translation quality, and the required translation speed.
[0070] FIG. 6 is a diagram illustrating an example of extracting and translating a frame from a captured video according to an embodiment of the present disclosure, and then determining a translation area within the frame including the translated text.
[0071] As shown in the figure, the processor can store a number of frames from a video captured by a camera, extract a frame suitable for image translation, translate a first language sentence contained in the extracted frame into a second language sentence, and then determine a translation region within the frame that contains the translated sentence.
[0072] Specifically, in the first operation 610, the processor can store a number of frames of the video captured by the camera in a buffer. The number of frames stored in the buffer can be a predetermined number. For example, as shown in the figure, 10 frames can be stored in a buffer set in the memory of the user terminal, etc.
[0073] In a second operation 620, the processor may extract a frame that satisfies a predetermined criterion from the plurality of stored frames. The predetermined criterion may include the brightness, sharpness, number of characters included in the frame, number of edges, or the presence or absence of graphic processing such as a blurring effect that blurs all or part of the frame, etc. For example, as shown in the figure, the processor may extract one frame that includes characters, has no blurring effect, and has the highest sharpness from the plurality of frames stored in the buffer.
[0074] In a third operation 630, the processor may perform image translation of a first language sentence included in the extracted frame into a second language sentence, and determine a translation region 632 including the second language sentence. For example, as shown in the figure, the processor may extract English text included in the extracted frame and its surrounding feature points, etc., and connect them to determine the translation region 632. Although FIG. 6 illustrates that the translation region 632 includes a plurality of rectangular regions, the translation region 632 may include one or more regions defined by one or more points, one or more regions defined by a closed curve, or one or more regions of a polygon.
[0075] FIG. 7 is a diagram illustrating an example of determining a rendering target area in a second frame based on a first frame according to an embodiment of the present disclosure.
[0076] As shown in the figure, based on keypoints 712 in a translation region containing text in a first language in a first frame or a translation region containing translated text in a second language, the processor can use a feature point tracking algorithm to determine a rendering region containing keypoints 722 in a second frame.
[0077] Specifically, in a first operation 710, key points 712 of text in a first language or a second language included in a first frame can be extracted. In addition, in a second operation 720, the movement of the key points 712 in the first frame can be tracked to correspond to key points 722 of text included in a second frame to determine a region to be rendered. In one embodiment, a feature point transformation model that defines a transformation relationship between the key points 712, 722 can be determined using a feature point tracking algorithm. For example, the feature point transformation model can apply an optical flow technique to the extracted key points 712 from the first frame to track and match key points 722 in a second frame captured after a certain time (e.g., t seconds) has elapsed from the first frame. Then, a transformation matrix between the extracted key points 712 and the tracked key points 722 can be estimated to determine a region to be rendered in the second frame.
[0078] According to an embodiment, the estimation of the transformation matrix using the feature point tracking algorithm can be performed when a predetermined criterion is satisfied. For example, when the time between the first frame and the second frame is short or the motion difference between the frames is small, the feature point tracking algorithm can be used to determine the region to be rendered. In this case, since the similarity between the frames is high, it is efficient to use the feature point tracking algorithm to simply and quickly determine the region to be rendered and render the image translation result.
[0079] 7 shows an example of determining a rendering target area in a second frame based on a first frame, but the present invention is not limited thereto, and the above-mentioned example can be applied to a case where a rendering target area is determined in a plurality of frames (e.g., a third frame) consecutive to the second frame. In addition, in the above-mentioned embodiment, one of various keypoint detection techniques including a FAST detector and a Harris corner detector can be used to extract keypoints, and the optical flow technique can include one of various optical flow tracking techniques such as RLOF optical flow (Robust Local Optical Flow) and Lucas-Kanade optical flow. In addition, in the above-mentioned embodiment, it has been described that an optical flow technique is used to match feature points between frames, but the present invention is not limited thereto, and other matching techniques such as kernel-based tracking and silhouette-based tracking can be applied.
[0080] FIG. 8 is a diagram illustrating an example of determining and rendering a rendering target region in a second frame based on a first frame according to an embodiment of the present disclosure.
[0081] As shown in the figure, the processor can estimate a homography matrix 810 based on the region to be translated or the translation region 822 in the first frame to determine a region to be rendered 834 in the second frame and render the image translation result.
[0082] Specifically, in the first operation 820, the processor can determine a translation region 822 based on key points indicating text in the first frame and their surrounding feature points, etc. Also, in the second operation 830, the processor can extract key points of text and their surrounding feature points, etc. from a second frame that is captured and stored after a certain time (t seconds) has elapsed from the first frame, and determine a rendering target region 834. Thereafter, the processor can perform matching based on the similarity between the key points and feature points, etc. of the first frame and the second frame, and estimate a homography matrix 810 indicating a transformation relationship between the matched key points and feature points, etc. Also, the processor can transform the translation region 822 of the first frame into the rendering target region 834 on the second frame using the homography matrix 810.
[0083] Although FIG. 8 shows an example of determining a rendering target area in a second frame based on a first frame, the present invention is not limited thereto, and the above-described example can be applied to a case of determining a rendering target area in a plurality of frames (e.g., a third frame) consecutive to the second frame. In addition, in the above-described embodiment, one of various key point detection techniques including a FAST detector and a Harris corner detector can be used to extract key points, and one of various feature point extraction techniques including a BEBLID descriptor extractor and a SURF descriptor extractor can be used to extract feature points. In addition, matching between key points and feature points can be performed using, for example, a Brute-Force Matcher technique.
[0084] 9 is a flow chart illustrating an example of an augmented reality based image translation method 900 according to one embodiment of the present disclosure. In one embodiment, the augmented reality based image translation method 900 may be performed by a processor (e.g., at least one processor of an information processing system or a user terminal).
[0085] As shown in the figure, the method 900 may begin by a processor storing a plurality of frames representing a video captured by a camera in a buffer (S910). The processor may then extract a first frame from the stored plurality of frames that satisfies a predetermined criterion (S920). According to one embodiment, the predetermined criterion may include a predetermined number of texts, a predetermined number of edges, or the presence or absence of graphic processing included in the plurality of frames. According to another embodiment, the predetermined criterion may include a predetermined brightness or a predetermined sharpness of the plurality of frames. For example, the processor may extract one frame from the plurality of frames stored in the buffer that satisfies criteria such as a frame that includes text in an area of a certain ratio or more, a frame to which graphic processing such as blurring has been applied to a certain degree or less, and / or a frame that has a certain degree or more of sharpness.
[0086] The processor may translate the first language sentence included in the extracted first frame into the second language sentence (S930). In one embodiment, the first language sentence may be translated into the second language sentence using an external device. For example, the processor may transmit the first frame to the external device and receive the first frame from the external device in which the first language sentence included in the first frame has been translated into the second language sentence.
[0087] According to one embodiment, the processor can determine a translation region including a second language sentence included in the first frame (S940). For example, the processor can extract key points and surrounding feature points of text included in the translation sentence (i.e., the second language sentence) in the first frame, and determine the translation region by connecting the key points and / or feature points.
[0088] The processor may then render the translation region in the second frame (S950). According to one embodiment, the processor may determine a rendering target region on the second frame in order to render the translation region in the second frame. In one embodiment, the processor may determine a rendering target region on the second frame using a feature point transformation model based on feature points of the determined translation region, and may render the translation region in the determined rendering target region. Here, the feature point transformation model may include a homography matrix that matches the translation region on the first frame including the second language sentence and the rendering target region on the second frame.
[0089] 9 and the above description are merely illustrative and may be implemented in different ways in some embodiments, for example, one or more steps may be omitted or implemented in a different configuration, the order of the steps may be changed, one or more steps may be performed simultaneously or overlappingly, or one or more steps may be performed multiple times.
[0090] 10 is a flowchart illustrating an example of an augmented reality based image translation method 1000 according to an embodiment of the present disclosure. In one embodiment, the augmented reality based image translation method 1000 can be performed by a processor (e.g., at least one processor of an information processing system or a user terminal).
[0091] As shown, the method 1000 may begin by a processor storing a plurality of frames representing video captured by a camera in a buffer (S1010). The processor may then extract a first frame from the stored plurality of frames that satisfies a predefined criterion (S1020). The processor may then translate a first language sentence included in the extracted first frame into a second language sentence (S1030) and determine a translation region that includes the second language sentence included in the first frame (S1040). The processor may then render the translation region into a second frame (S1050).
[0092] According to an embodiment, the processor can determine a time interval between the first frame and the second frame, and can determine whether to maintain the rendered region based on the determined time interval (S1060). For example, if the time interval between the first frame and the second frame is less than a predetermined criterion, it can determine to maintain the rendered region (S1070). The processor can then render the translation region in a third frame including the maintained rendered region (S1080). Here, the third frame can be one of a plurality of consecutive frames after the second frame. In other words, the third frame can refer to a frame showing at least a part of a moving image captured by a camera at the time of rendering the translation region. On the other hand, if the time interval between the first frame and the second frame is equal to or greater than the predetermined criterion, the processor can move to step (S1010) and re-perform the image translation cycle.
[0093] 10 and the above description are merely illustrative and may be implemented in different ways in some embodiments, for example, one or more steps may be omitted or implemented in different configurations, the order of the steps may be changed, one or more steps may be performed simultaneously or overlappingly, or one or more steps may be performed multiple times.
[0094] 11 is a flow chart illustrating an example of an augmented reality based image translation method 1100 according to an embodiment of the present disclosure. In one embodiment, the augmented reality based image translation method 1100 may be performed by a processor (e.g., at least one processor of an information processing system or a user terminal).
[0095] As shown, the method 1100 may begin by a processor storing a plurality of frames representing a video captured by a camera in a buffer (S1110). The processor may then extract a first frame from the stored plurality of frames that satisfies a predefined criterion (S1120). The processor may then translate a first language sentence included in the extracted first frame into a second language sentence (S1130). In one embodiment, the first language sentence may be translated into the second language sentence using an external device. For example, the processor may transmit the first frame to the external device and receive, from the external device, the second language sentence into which the first language sentence included in the first frame has been translated. The processor may also determine a translation region that includes the second language sentence included in the first frame (S1140).
[0096] According to one embodiment, it may be determined whether a predefined criterion between the first frame and the second frame is satisfied (S1150), and if so, a translation region including the translated second language sentence may be rendered in the second frame (S1160). If the predefined criterion is not satisfied, the processor may not render the translation region and proceed to step (S1110) to re-perform the image translation cycle. Here, the predefined criterion between the first frame and the second frame may indicate a time interval and / or a motion difference between the first frame and the second frame. For example, if the time interval between the first frame and the second frame exceeds the predefined time interval, the processor may not render the translation region and re-perform a new translation cycle. Additionally or alternatively, if the motion difference between the first frame and the second frame exceeds a predefined difference, a new translation cycle may be re-performed.
[0097] 11 and the above description are merely illustrative and may be implemented in different ways in some embodiments, for example, one or more steps may be omitted or implemented in different configurations, the order of the steps may be changed, one or more steps may be performed simultaneously or overlappingly, or one or more steps may be performed multiple times.
[0098] The above-mentioned method may be provided as a computer program stored in a computer-readable recording medium for execution by a computer. The medium may be a medium for continuously storing a computer-executable program or a medium for temporarily storing the program for execution or download. The medium may be various recording means or storage means in the form of a single or multiple hardware components combined, and may be distributed over a network without being limited to a medium directly connected to a computer system. Examples of the medium include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and ROMs, RAMs, flash memories, etc., configured to store program instructions. Other examples of the medium include recording media or storage media managed by app stores that distribute applications, or sites, servers, etc. that supply or distribute various other software.
[0099] The disclosed methods, operations, or techniques can be embodied in a variety of ways. For example, such techniques can be embodied in hardware, firmware, software, or a combination thereof. Those skilled in the art will appreciate that the various exemplary logic blocks, modules, circuits, and algorithm steps described in the present disclosure can be embodied in electronic hardware, computer software, or a combination of both. To clearly illustrate such interchangeability between hardware and software, the various exemplary components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is embodied as hardware or software will vary depending on the particular application and design requirements imposed on the overall system. Those skilled in the art may also embody the described functionality in various ways for each particular application, but such implementations should not be interpreted as departing from the scope of the present disclosure.
[0100] In a hardware implementation, the processing units used to perform the techniques may be embodied within one or more ASICs, DSPs, digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), processors, controllers, microcontrollers, microprocessors, electronic devices, other electronic units designed to perform the functions described in this disclosure, computers, or any combination thereof.
[0101] Thus, the various example logic blocks, modules and circuits described in this disclosure may be embodied or performed by any combination of general purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate and transistor logic, discrete hardware components, or any combination designed to perform the functions described herein. A general purpose processor may be a microprocessor, but alternatively, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be embodied by a combination of computing devices, such as a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in conjunction with a DSP core, or any other configuration.
[0102] In a firmware and / or software implementation, the techniques may be embodied as instructions stored on a computer-readable medium, such as random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable PROM (EEPROM), flash memory, compact disc (CD), magnetic or optical data storage devices, etc. The instructions may be executable by one or more processors to cause the processors to perform certain aspects of the functions described in this disclosure.
[0103] Although the embodiments described above are described as utilizing aspects of the presently disclosed subject matter on one or more stand-alone computer systems, the present disclosure is not so limited and may be embodied in any computing environment, such as a network or distributed computing environment. Moreover, aspects of the subject matter in the present disclosure may be embodied in multiple processing chips or devices, and storage may be affected across multiple devices in the same manner. Such devices may include PCs, network servers, and handheld devices.
[0104] Although the present disclosure has been described in accordance with some embodiments, various modifications and alterations can be made within the scope of the present disclosure that can be understood by those skilled in the art to which the present disclosure pertains. In addition, such modifications and alterations should be understood to fall within the scope of the claims attached to this specification. [Explanation of symbols]
[0105] 110 Multiple Frames 120 First Frame 122 Translation Areas 130 Second Frame 132 Rendering Area 140 Multiple Frames 142 Rendering Area
Claims
1. 1. A method for augmented reality based image translation performed by at least one processor, comprising: storing a number of frames representing a moving image captured by the camera; extracting a first frame from the stored plurality of frames that satisfies a first predefined criterion; translating a first language sentence contained in the first frame into a second language sentence; determining a translation region including a second language sentence included in the first frame; and rendering the translation area into the second frame when a predefined second criterion between the first frame and a second frame taken after a certain time interval from the first frame is satisfied, wherein the predefined second criterion between the first frame and the second frame includes that the time interval between the first frame and the second frame does not exceed a predefined time interval.
2. The step of determining a translation area including a sentence in a second language included in the first frame includes a step of extracting feature points of the translation area; Rendering the translation region into a second frame includes: determining a rendering target area on the second frame using a feature point transformation model based on the feature points of the translation area; 2. The method of claim 1, further comprising the step of: rendering the translation area in the rendering target area on the second frame.
3. The method of claim 2 , wherein the feature point transformation model includes a homography matrix that matches the translation region on the first frame and the rendering target region on the second frame.
4. The step of determining a rendering target area on the second frame using a feature point transformation model based on the feature points of the translation area includes: determining the time interval between the first frame and the second frame; The method of claim 2 , further comprising: determining a region to be rendered on the second frame using the feature point transformation model including an algorithm determined based on the time interval.
5. 2. The method of claim 1, wherein the second frame is a frame showing at least a portion of a video captured by the camera at a time when the first language sentence contained in the first frame is translated into a second language sentence.
6. determining the time interval between the first frame and the second frame; The method of claim 2 , further comprising: determining whether to maintain the region to be rendered based on the time interval.
7. if the time interval is less than a predefined time interval, maintaining the region to be rendered; 7. The method of claim 6, further comprising the step of: rendering the translation area in a third frame that includes the maintained to-be-rendered area.
8. The method of claim 7 , wherein the third frame is a frame showing at least a portion of a video captured by the camera at a time when the translation area is rendered.
9. The method of claim 1 , wherein the predetermined first criteria comprises a predetermined brightness or a predetermined sharpness of the plurality of frames.
10. The method of claim 1 , wherein the predetermined first criteria includes a number of predetermined characters, a number of predetermined edges, or the presence or absence of graphic processing included in the plurality of frames.
11. The step of translating the first language sentence included in the first frame into the second language sentence includes: transferring the first frame to an external device; The method of claim 1 , further comprising: receiving a first frame from the external device in which the first language sentence contained in the first frame has been translated into a second language sentence.
12. A computer program for executing the method for augmented reality based image translation according to any one of claims 1 to 11 on a computer.
13. 1. An augmented reality based image translation system, comprising: Memory, at least one processor coupled to the memory and configured to execute at least one program contained in the memory; The at least one program comprises: storing a number of frames representing video captured by the camera; Extracting a first frame from the stored plurality of frames that satisfies a predefined criterion; translating a first language sentence contained in the first frame into a second language sentence; determining a translation region including a second language sentence included in the first frame; 11. An augmented reality based image translation system comprising: instructions for rendering the translation area into the second frame when a predefined second criterion between the first frame and a second frame captured after a certain time interval from the first frame is satisfied, wherein the predefined second criterion between the first frame and the second frame includes the time interval between the first frame and the second frame not exceeding a predefined time interval.
Citation Information
Patent Citations
Image processor, image display system, and program
JP2010074292A
Text-based 3D augmented reality
JP2014510958A
Systems and methods for real-time display of foreign language character sets and their translations on resource-constrained mobile devices
JP2016519797A
Method, user terminal, server, system and computer program for providing translation using image
KR101769981B1
Method and Apparatus for Stabilizing Video
KR101945233B1
