CN109684896B - Infrared positioning method, terminal and computer readable storage medium - Google Patents

Infrared positioning method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109684896B
CN109684896B CN201811653776.8A CN201811653776A CN109684896B CN 109684896 B CN109684896 B CN 109684896B CN 201811653776 A CN201811653776 A CN 201811653776A CN 109684896 B CN109684896 B CN 109684896B
Authority
CN
China
Prior art keywords
infrared
image
target object
signal
infrared signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811653776.8A
Other languages
Chinese (zh)
Other versions
CN109684896A (en
Inventor
陈滔
刘一帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tonly Electronics Holdings Ltd
Original Assignee
Tonly Electronics Holdings Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tonly Electronics Holdings Ltd filed Critical Tonly Electronics Holdings Ltd
Priority to CN201811653776.8A priority Critical patent/CN109684896B/en
Publication of CN109684896A publication Critical patent/CN109684896A/en
Application granted granted Critical
Publication of CN109684896B publication Critical patent/CN109684896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1443Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides an infrared positioning method, which comprises the steps of obtaining a template image of a target object, wherein the template image is a visible light image of the target object; when the target object receives the infrared signal emitted by the infrared light source module, an infrared image acquired by the infrared camera module is acquired, and the infrared image is compared with the template image to confirm the positioning position of the infrared signal on the target object; the invention also provides a terminal and a computer readable storage medium. Therefore, the technical scheme provided by the embodiment can accurately position the target object to the position on the target object through the infrared signal so as to accurately position the content of the position to be identified by the user, and the user experience is improved.

Description

Infrared positioning method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of infrared positioning technologies, and in particular, to an infrared positioning method, a terminal, and a computer readable storage medium.
Background
At present, a point-to-read device on the market is to read and play an audio file corresponding to an identification code on a book through a micro camera.
Therefore, the conventional point-and-read devices all use the same identification code to identify the entire text message. However, if the user reads detailed information of a certain segment, the conventional click-to-read device can only feed back the entire text information to the user, and the user needs to extract the required detailed information of the certain segment from the entire text information, i.e. it is difficult to accurately position the detailed information of the certain segment.
Disclosure of Invention
The invention mainly aims to provide an infrared positioning method, a terminal and a computer readable storage medium, and aims to solve the problem that a traditional point-reading device is difficult to realize accurate positioning of detailed information of a certain segment.
In order to achieve the above object, the present invention provides an infrared positioning method, which includes the steps of:
acquiring a template image of a target object, wherein the template image is a visible light image of the target object;
when the target object receives the infrared signal emitted by the infrared light source module, acquiring an infrared image acquired by the infrared camera module;
and comparing the infrared image with the template image to confirm the positioning position of the infrared signal on the target object.
Optionally, when the target object receives the infrared signal emitted by the infrared light source module, the step of acquiring the infrared image acquired by the infrared camera module includes:
acquiring an infrared shooting range of the infrared shooting module, and detecting whether the infrared signal exists in the infrared shooting range;
and if the infrared signal exists in the infrared shooting range, acquiring an infrared image acquired by the infrared shooting module.
Optionally, if the infrared signal exists in the infrared shooting range, the step of acquiring the infrared image acquired by the infrared camera module further includes:
if the infrared signal exists in the infrared shooting range, acquiring the signal intensity of the infrared signal;
and if the signal intensity is greater than a preset value, acquiring an infrared image acquired by the infrared camera module.
Optionally, the step of comparing the infrared image with the template image to confirm the location of the infrared signal on the target object includes:
carrying out coordinate processing on the template image;
comparing the infrared signal in the infrared image with the coordinate of the template image, and acquiring the coordinate value corresponding to the infrared signal on the template image;
and confirming the positioning position of the infrared signal on the target object according to the coordinate value.
Optionally, the step of comparing the infrared image with the template image to confirm the location of the infrared signal on the target object further comprises:
acquiring shooting time of the infrared image in real time, and associating the shooting time of the infrared image with a positioning position confirmed by the infrared signal on the target object;
and updating the motion trail of the infrared signal on the target object according to the shooting time and the confirmed positioning position of the infrared signal on the target object.
Optionally, the step of capturing the infrared image of the infrared signal at fixed time further includes:
judging whether the infrared signal is in a static state or not;
and if the state of the infrared signal is in the static state, acquiring an infrared image of the infrared signal in the static state.
In an embodiment of the present invention, the infrared positioning method includes acquiring a template image of a target object, where the template image is a visible light image of the target object; when the target object receives the infrared signal emitted by the infrared light source module, an infrared image acquired by the infrared camera module is acquired, and the infrared image is compared with the template image to confirm the positioning position of the infrared signal on the target object. Therefore, the technical scheme provided by the embodiment can accurately position the target object to the position on the target object through the infrared signal so as to accurately position the content of the position to be identified by the user, and the user experience is improved.
In order to achieve the above object, the present invention further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the infrared positioning method as described above when executing the computer program.
In order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the infrared positioning method as described above.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a first embodiment of an infrared positioning method according to the present invention;
FIG. 2 is a flow chart of a second embodiment of the infrared positioning method of the present invention;
FIG. 3 is a flow chart of a third embodiment of the infrared positioning method of the present invention;
FIG. 4 is a flowchart of a fourth embodiment of the infrared positioning method according to the present invention;
FIG. 5 is a flowchart of a fifth embodiment of an infrared positioning method according to the present invention;
fig. 6 is a flowchart of a sixth embodiment of the infrared positioning method according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, which is a flowchart illustrating steps of a first embodiment of an infrared positioning method according to the present invention, as shown in fig. 1, the infrared positioning method includes the following steps:
s100, acquiring a template image of a target object, wherein the template image is a visible light image of the target object;
in an embodiment, a template image of the target object is obtained, where the template image is a visible light image of the target object. In this step, a terminal acquires a template image, wherein the template image is a visible light image of a target object shot by an image pickup device, and the image pickup device uploads the shot visible light image of the target object to the terminal, wherein the image pickup device and the terminal can be connected in a wired or wireless manner, i.e. the visible light image shot by the image pickup device can be transmitted to the terminal in a wired or wireless manner. Or, the terminal may send an information acquisition instruction to the image capturing apparatus, and after receiving the information acquisition instruction, the image capturing apparatus captures a visible light image of the target object and sends the visible light image to the terminal, and the terminal receives the visible light image of the image capturing apparatus and pre-stores the template image as the target object.
In an embodiment, the target object may be a text object, that is, when the image capturing device captures a visible image of the target object, the text object is turned to a text page to be captured and placed under a lens of the image capturing device, and the image capturing device may be connected to the terminal and triggered by the matched application software, so that the lens above the image capturing device captures the text page to be captured, so as to capture a visible light image of the text object. Of course, the photographing apparatus in this embodiment may also manually photograph the visible light image of the text object, which is not limited herein.
In an embodiment, the target object may be another object, such as a picture object, which is not limited herein. While the above-mentioned photographing device includes, but is not limited to, all-pass color cameras, etc., of course, in other embodiments, any photographing device may be used to photograph the visible light image of the target object, which is not limited herein.
In an embodiment, when the target object is a text object, that is, when the photographed text page is photographed, the photographed text page should be in a static state, so that the selected template image avoids image deviation generated due to vibration of the photographing device or shake of the text page to be photographed, thereby ensuring quality of the template image.
It can be understood that the content in the template image corresponds to the content in the database preset by the target object.
S200, when the target object receives the infrared signal emitted by the infrared light source module, acquiring an infrared image acquired by the infrared camera module;
in one embodiment, an infrared signal is generated by an infrared light source module and emitted onto a target object. When the target object receives the infrared signal emitted by the infrared light source module, the infrared image acquired by the infrared camera module is acquired.
In one embodiment, the position of the infrared signal is captured by an infrared camera module and an infrared image is formed. The infrared camera module adopts an infrared camera, and can shoot infrared images of infrared signals through the infrared camera.
In an embodiment, the shooting range of the infrared camera is consistent with the shooting range of the shooting device in S100, and of course, when the shooting range of the infrared camera is inconsistent with the shooting range of the shooting device, the shooting range of the infrared camera may be kept consistent with the shooting device by adjusting the angle of view of the infrared camera.
In an embodiment, when the target object is a text object, that is, the text object is turned to a photographed text page and placed under the infrared camera, and then the infrared signal is directly emitted to the photographed text, at this time, the infrared camera may be connected to the terminal and triggered by the matched application software to photograph an infrared image of the infrared signal. Of course, the photographing apparatus in this embodiment may also adopt a manual photographing of an infrared image of an infrared signal, which is not limited herein. The infrared camera and the terminal can be connected in a wired or wireless mode, namely, an infrared image shot by the infrared camera can be transmitted to the terminal in a wired or wireless mode.
In an embodiment, the infrared camera is a camera sensitive to infrared signals, that is, an infrared image captured by the infrared camera has a marker, and the marker is a position of the infrared signals in the target object.
In an embodiment, the infrared light source module is an infrared emitting tube, and the infrared emitting tube is configured to emit an infrared signal, where a wavelength of the infrared signal is 940nm. Of course, in other embodiments, other specific infrared sources may be used according to specific needs, without limitation.
S300, comparing the infrared image with the template image to confirm the positioning position of the infrared signal on the target object;
in an embodiment, the infrared image in S200 is compared with the template image in S100, that is, the position of the infrared signal in the infrared image on the template image may be obtained, so as to confirm the positioning position of the infrared signal on the template image, that is, the positioning position of the infrared signal on the target object may be confirmed.
In an embodiment, since the template image photographed in S100 corresponds to the content of the pre-stored database of the target object, that is, after the position of the infrared signal on the template image is obtained, that is, the positioning process of the infrared signal is finished at this time, the computer invokes the TTS speech engine or the speech packet with the computer to read the text recognized by the OCR recognition engine according to the positioning position of the infrared signal, so as to complete the operation of infrared click-to-read positioning.
In an embodiment of the present invention, the infrared positioning method includes acquiring a template image of a target object, where the template image is a visible light image of the target object; when the target object receives the infrared signal emitted by the infrared light source module, an infrared image acquired by the infrared camera module is acquired, and the infrared image is compared with the template image to confirm the positioning position of the infrared signal on the target object. Therefore, the technical scheme provided by the embodiment can accurately position the target object to the position on the target object through the infrared signal so as to accurately position the content of the position to be identified by the user, and the user experience is improved.
Based on the first embodiment, the present invention also provides a second embodiment of the infrared positioning method, and fig. 2 is a flowchart illustrating steps of the second embodiment of the infrared positioning method.
As shown in fig. 2, the step S200 further includes:
s210, acquiring an infrared shooting range of the infrared shooting module, and detecting whether the infrared signal exists in the infrared shooting range;
in an embodiment, in the step S200, when the target object receives the infrared signal emitted by the infrared light source module, the infrared image of the infrared signal is acquired, that is, when the infrared image of the infrared signal is captured, the terminal connected with the infrared image capturing module firstly acquires the infrared capturing range of the infrared image capturing module, where the infrared capturing range of the infrared image capturing module is consistent with the capturing range of the capturing device, so that the range of the target object in the infrared image is consistent with the range of the target object in the template image, and the accuracy of the comparison result between the infrared image and the template image can be improved.
In an embodiment, before the infrared camera module collects the infrared image of the infrared signal, it is required to detect whether the infrared signal exists in the infrared shooting range. For example, when the target object is a text object, a region having text on the text object is taken as a photographing range of the photographing apparatus, that is, the region is also an infrared photographing range, and at this time, whether an infrared signal exists in the region, that is, whether a landing point of the infrared signal has text on the text object is detected. Of course, in other embodiments, when the target object is an image object, the area of the entire image may be taken as the shooting range of the shooting device, that is, the infrared shooting range, or the middle portion of the image object may be taken as the shooting range of the shooting device, which is not limited herein.
S220, if the infrared signals exist in the infrared shooting range, acquiring infrared images acquired by the infrared shooting module;
in an embodiment, if an infrared signal is detected to exist in the infrared shooting range, an infrared image acquired by the infrared camera module is acquired, and the specific content refers to the description of S100 in the first embodiment and is not repeated herein.
In an embodiment, when the shooting object is a text object, that is, when an infrared signal of a shot text page is shot, the shot text page should be in a static state, so that the acquired infrared image is prevented from causing deviation of a shooting range between the infrared image and a template image due to vibration of shooting equipment or shake of the text page to be shot, and accuracy of confirming the position of the infrared signal is ensured.
In an embodiment, if no infrared signal exists in the infrared shooting range, the infrared shooting module does not execute the acquired infrared image. For example, in the step S210, when the target object is assumed to be a text object, the area with the text on the text object is taken as the shooting range of the shooting device, that is, the area is also the infrared shooting range, and at this time, when the drop point of the infrared signal is on the text object and is located outside the area with the text, that is, the infrared signal is not determined to be within the infrared shooting range.
In an embodiment of the present invention, the above infrared positioning method further includes obtaining an infrared shooting range of the infrared camera module, and detecting whether the infrared signal exists in the infrared shooting range; and if the infrared signal exists in the infrared shooting range, acquiring an infrared image acquired by the infrared shooting module. In this way, by detecting the infrared signal in the infrared shooting range of the infrared camera module before the step of acquiring the infrared image of the infrared signal is performed, the effectiveness of the shot infrared image and the accuracy of the infrared signal position judgment can be improved.
Based on the above-mentioned second embodiment, the present invention also provides a third embodiment of the infrared positioning method, and fig. 3 is a flowchart illustrating steps of the third embodiment of the infrared positioning method.
As shown in fig. 3, the step S220 further includes:
s221, if the existence of the infrared signal in the infrared shooting range is detected, acquiring the signal intensity of the infrared signal;
in an embodiment, if an infrared signal exists in the shooting range, the signal intensity of the infrared signal is acquired. That is, in step S11, if it is detected that the infrared signal exists in the shooting range, the signal intensity of the infrared signal is acquired.
In one embodiment, the signal strength of the infrared signal includes, but is not limited to, voltage, current, or electric power when the infrared light source module is in operation. Optionally, the signal strength of the infrared signal is the electric power of the infrared light source module when in operation, and the electric power is the signal strength of the infrared signal.
In an embodiment, the signal strength of the infrared signal is set according to the sensitivity of the user system, and the electric power of the infrared light source module is greater than or equal to 0.033W when the infrared light source module works, that is, the signal strength of the infrared signal is greater than or equal to 0.033W.
S222, if the signal intensity is larger than a preset value, acquiring an infrared image acquired by the infrared camera module;
in one embodiment, the step of acquiring the infrared image of the infrared signal is performed if the signal strength is greater than a predetermined value. The preset value is set according to the specific infrared positioning requirement in the embodiment, and optionally, the preset value is 0.033W. Of course, in other embodiments, the preset value may be set to other values according to specific requirements, which is not limited herein.
In an embodiment, when the signal intensity is greater than 0.033W, an infrared image acquired by the infrared camera module is acquired, and the specific content refers to the description of S100 in the first embodiment and is not repeated herein.
In an embodiment, if the signal strength is less than or equal to the preset value, the infrared signal may not be the infrared signal emitted by the infrared generating device, that is, the signal strength may be an interference signal of other devices, that is, when the signal strength is less than or equal to 0.033W, no processing is performed.
In an embodiment of the present invention, the above infrared positioning method further includes acquiring signal intensity of the infrared signal if the infrared signal exists in the infrared shooting range, and acquiring an infrared image acquired by the infrared camera module if the signal intensity is greater than a preset value. Thus, when the signal intensity of the infrared signal is larger than a preset value, the interference of other signals can be filtered out.
Based on the first embodiment, the present invention also provides a fourth embodiment of the infrared positioning method, and fig. 4 is a flowchart illustrating steps of the fourth embodiment of the infrared positioning method.
As shown in fig. 4, in step S300, the above infrared positioning method further includes:
s310, carrying out coordinate processing on the template image;
in one embodiment, the template image is coordinated, that is, a plane rectangular coordinate system is established according to the shooting range confirmed by the template image.
S320, comparing the infrared signal in the infrared image with the coordinate of the template image, and acquiring the coordinate value corresponding to the infrared signal on the template image;
in an embodiment, the shooting ranges of the infrared image and the template image are consistent, so that the template image and the infrared image are completely overlapped, namely, when the infrared image is compared with the template image, the infrared image and the template image are overlapped together, and the coordinates of the infrared signal in the infrared image in a plane rectangular coordinate system can be confirmed. That is, after comparing the coordinates of the template image with the infrared signal in the infrared image, the coordinate value corresponding to the infrared signal on the template image is obtained.
S330, confirming the positioning position of the infrared signal on the target object according to the coordinate value;
in one embodiment, the location of the infrared signal on the target object may be confirmed by the coordinate value corresponding to the infrared signal confirmed in step S220 on the template image.
In one embodiment, when the positioning position of the infrared signal on the target object is obtained, the computer may call a TTS speech engine or a speech packet in the computer to read the text recognized by the OCR recognition engine according to the positioning position of the infrared signal, so as to complete the operation of infrared click-to-read positioning.
In an embodiment of the present invention, the above-mentioned infrared positioning method includes performing a coordinate processing on the template image, comparing an infrared signal in the infrared image with coordinates of the template image, and obtaining a coordinate value corresponding to the infrared signal on the template image, and determining a positioning position of the infrared signal on the target object according to the coordinate value. Therefore, the technical scheme provided by the embodiment can confirm the positioning position of the infrared signal on the target object through the coordinate comparison of the infrared image and the template image so as to accurately position the content of the position to be identified by the user, and the user experience is improved.
Based on the first embodiment, the present invention also provides a fifth embodiment of the infrared positioning method, and fig. 5 is a flowchart illustrating steps of the fifth embodiment of the infrared positioning method.
As shown in fig. 5, the above infrared positioning method further includes:
s400, acquiring shooting time of the infrared image in real time, and associating the shooting time of the infrared image with a positioning position confirmed by the infrared signal on the target object;
s500, updating the motion trail of the infrared signal on the target object according to the shooting time and the confirmed positioning position of the infrared signal on the target object.
In an embodiment, when the infrared signal moves from one point to another point of the target object, the infrared image of the infrared signal needs to be captured again by the infrared imaging module, that is, in this embodiment, the infrared imaging module may capture the infrared image of the infrared signal at regular time, for example, the infrared signal may move to the next position every 30s, that is, the infrared imaging module captures the infrared image of the infrared signal every 30s, and the positioning position of the infrared signal is confirmed according to the coordinate ratio of the infrared image and the template image. Here, the positioning position of the above-mentioned infrared signal includes a plurality of.
In an embodiment, the terminal acquires the shooting time of the infrared image in real time, that is, if the shooting time is marked on the infrared image when the infrared image is shot, at this time, the terminal can read the shooting time marked on the infrared image uploaded to the terminal and record the shooting time of the infrared image. Of course, it can be understood that when the infrared camera module shoots an infrared image, the shooting time of the infrared image can be recorded, and the infrared image and information related to the infrared image can be uploaded to the terminal, wherein the related information comprises the shooting time of the infrared image.
In an embodiment, the shooting time of the infrared image and the confirmed positioning positions of the infrared signals on the target object are associated, that is, the confirmed positioning positions are ordered according to the front and rear of the shooting time, for example, the positioning positions of ten infrared signals are confirmed within 5min, that is, the positioning positions of ten infrared signals are ordered according to the shooting time of ten acquired infrared images within 5 min.
In one embodiment, the motion trail of the infrared signal on the target object is updated according to the shooting time and the confirmed positioning position on the target object. After the ordered positioning positions are connected according to the sequence numbers, the motion track of the infrared signals on the target object is updated, and the click-reading operation of each positioning position is realized.
In an embodiment of the present invention, the infrared positioning method includes acquiring a capturing time of the infrared image in real time, and associating the capturing time of the infrared image with a positioning position confirmed by the infrared signal on the target object; and updating the motion trail of the infrared signal on the target object according to the shooting time and the confirmed positioning position of the infrared signal on the target object. In this way, the motion track of the infrared signal on the target object can be confirmed according to the association of the shooting time and the positioning position of the infrared signal, so that the track of the infrared signal can be tracked.
Based on the fifth embodiment, the present invention also provides a sixth embodiment of the infrared positioning method, and fig. 6 is a flowchart illustrating steps of the sixth embodiment of the infrared positioning method.
As shown in fig. 6, the above infrared positioning method further includes:
s01, judging whether the infrared signal is in a static state or not;
s02, if the state of the infrared signal is in the static state, acquiring an infrared image of the infrared signal in the static state.
In one embodiment, the status of an infrared signal is acquired. Since the infrared signal moves to the next position on the target object at intervals, the state of the infrared signal needs to be acquired before the next position is read, i.e. the infrared image is acquired.
In one embodiment, determining whether the infrared signal is in a stationary state; wherein the states of the infrared signal include a moving state and a stationary state.
In one embodiment, when the state of the infrared signal is in a stationary state, an infrared image of the infrared signal in the stationary state is acquired. The infrared camera module shoots the infrared image of the infrared signal in the static state, and the infrared image shot by the infrared camera module is uploaded to the terminal, so that the phenomenon that the image is unclear and the infrared signal is positioned inaccurately to influence the quality of the infrared image due to the fact that the infrared camera module shoots the image of the infrared signal in the moving process is avoided.
In an embodiment, when the state of the infrared signal is in a motion state, the infrared camera module does not shoot an infrared image of the infrared signal.
In the embodiment of the invention, whether the infrared signal is in the static state is judged, and if the state of the infrared signal is in the static state, an infrared image of the infrared signal in the static state is acquired. Thus, a clear image of the infrared signal emitted into the target object can be obtained, so that the accuracy of infrared signal positioning is improved when the positioning of the infrared signal is performed.
In an embodiment, the above-mentioned infrared positioning method may be used in a pointing device, that is, an infrared generating device is disposed on the pointing device, and an infrared signal is emitted onto a pointing object of the pointing device, at this time, a photographing device and an infrared camera module are configured directly above the pointing object, where the photographing device and the infrared camera module respectively use an all-pass color camera and an infrared camera, and are used for obtaining a template image of the pointing object and an infrared image of the infrared signal. Through the coordinate comparison of the infrared image and the template image, the point reading position of the infrared signal on the point reading object can be confirmed, and the content corresponding to the point reading position is read, so that the point reading operation of the point reading device is completed.
In an embodiment, the book content photographed by the all-pass color camera corresponds to a pre-stored book database, and the infrared camera captures the area where the infrared signal is located, so as to identify the book content in the area where the infrared signal is located, and the book content can read OCR (Optical Character Recognition) the characters identified by the identification engine by calling an external TTS (Text To Speech) voice engine or a voice packet, so as to complete the click-to-read operation.
Optionally, when the infrared camera captures the position of the infrared signal emitted by the infrared light source module, the field angle of the infrared camera can be adjusted according to the application range, so that the shooting range of the infrared camera overlaps with the shooting range of the all-pass color camera.
Of course, it should be understood that the above description is only one scenario of application of the infrared positioning method of the present embodiment, and is not limited to a specific application scenario of the present embodiment, i.e., the infrared positioning method of the present embodiment may also be used in other fields, such as a location tracking positioning field, a security protection field, or a detection field.
Specifically, when the camera is used in a traffic place, the infrared camera and the installed camera can be matched for use through the shooting range of the installed camera in the traffic place. Acquiring shooting time of an infrared image in real time, and associating the shooting time of the infrared image with a positioning position confirmed by an infrared signal on the target object; and updating the motion track of the infrared signal on the target object according to the shooting time and the confirmed positioning position of the infrared signal on the target object, so that the track of the infrared signal is tracked at fixed points.
Based on the above embodiment, the embodiment of the present invention further provides a terminal, where the terminal may include a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the infrared positioning method provided by the embodiment of the present invention when executing the computer program.
Based on the above embodiments, the present invention further provides a computer readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the infrared positioning method provided in the embodiments of the present application.
The memory computer-readable storage media described above can employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory; EPROM) or flash Memory, an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
The computer program code for carrying out operations of the present application may be written in the above embodiments in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (Local Area Network; hereinafter referred to as LAN) or a wide area network (Wide Area Network; hereinafter referred to as WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device), a portable computer cartridge (magnetic device), a random access Memory (Random Access Memory; hereinafter RAM), a Read Only Memory (ROM), an erasable programmable Read Only Memory (Erasable Programmable Read Only Memory; hereinafter EPROM) or flash Memory, an optical fiber device, and a portable compact disc Read Only Memory (Compact Disc Read Only Memory; hereinafter CD-ROM) having one or more wiring. In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, the implementation in hardware may be accomplished with any one or combination of the following techniques, as are known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable gate arrays (Programmable Gate Array; hereinafter PGA), field programmable gate arrays (Field Programmable Gate Array; hereinafter FPGA), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structural changes made by the description of the present invention and the accompanying drawings or direct/indirect application in other related technical fields are included in the scope of the invention.

Claims (7)

1. An infrared positioning method is characterized by comprising the following steps:
acquiring a template image of a target object, wherein the template image is a visible light image of the target object;
when the target object receives the infrared signal emitted by the infrared light source module, acquiring an infrared image acquired by the infrared camera module;
comparing the infrared image with the template image to confirm the positioning position of the infrared signal on the target object;
the step of comparing the infrared image with the template image to confirm the positioning position of the infrared signal on the target object comprises the following steps:
carrying out coordinate processing on the template image;
comparing the infrared signal in the infrared image with the coordinate of the template image, and acquiring the coordinate value corresponding to the infrared signal on the template image;
and confirming the positioning position of the infrared signal on the target object according to the coordinate value.
2. The infrared positioning method as set forth in claim 1, wherein the step of acquiring the infrared image acquired by the infrared camera module when the target object receives the infrared signal emitted by the infrared light source module includes:
acquiring an infrared shooting range of the infrared shooting module, and detecting whether the infrared signal exists in the infrared shooting range;
and if the infrared signal exists in the infrared shooting range, acquiring an infrared image acquired by the infrared shooting module.
3. The infrared positioning method according to claim 2, wherein the step of acquiring the infrared image acquired by the infrared camera module if the infrared signal exists in the infrared shooting range is further performed by:
if the infrared signal exists in the infrared shooting range, acquiring the signal intensity of the infrared signal;
and if the signal intensity is greater than a preset value, acquiring an infrared image acquired by the infrared camera module.
4. The infrared positioning method of claim 1, wherein the step of comparing the infrared image with the template image to confirm the positioning position of the infrared signal on the target object further comprises:
acquiring shooting time of the infrared image in real time, and associating the shooting time of the infrared image with a positioning position confirmed by the infrared signal on the target object;
and updating the motion trail of the infrared signal on the target object according to the shooting time and the confirmed positioning position of the infrared signal on the target object.
5. The infrared positioning method according to claim 4, wherein the step of acquiring the infrared image acquired by the infrared camera module further comprises:
judging whether the infrared signal is in a static state or not;
and if the state of the infrared signal is in the static state, acquiring an infrared image of the infrared signal in the static state.
6. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the infrared positioning method according to any of claims 1 to 5 when the computer program is executed.
7. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the infrared localization method of any of claims 1 to 5.
CN201811653776.8A 2018-12-29 2018-12-29 Infrared positioning method, terminal and computer readable storage medium Active CN109684896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811653776.8A CN109684896B (en) 2018-12-29 2018-12-29 Infrared positioning method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811653776.8A CN109684896B (en) 2018-12-29 2018-12-29 Infrared positioning method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109684896A CN109684896A (en) 2019-04-26
CN109684896B true CN109684896B (en) 2023-04-25

Family

ID=66191647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811653776.8A Active CN109684896B (en) 2018-12-29 2018-12-29 Infrared positioning method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109684896B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639968B (en) * 2020-05-25 2023-11-03 腾讯科技(深圳)有限公司 Track data processing method, track data processing device, computer equipment and storage medium
CN114279717A (en) * 2021-11-18 2022-04-05 珠海零边界集成电路有限公司 Vehicle fault detection method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014100523A1 (en) * 2012-12-20 2014-06-26 General Electric Company Method and system for monitoring operating conditions in a steam generator
CN107463877A (en) * 2017-07-05 2017-12-12 广东欧珀移动通信有限公司 Method for collecting iris, electronic installation and computer-readable recording medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014100523A1 (en) * 2012-12-20 2014-06-26 General Electric Company Method and system for monitoring operating conditions in a steam generator
CN107463877A (en) * 2017-07-05 2017-12-12 广东欧珀移动通信有限公司 Method for collecting iris, electronic installation and computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
红外激光成像中的弱小目标的准确定位技术研究;蒋理等;《现代电子技术》;20161015(第20期);全文 *

Also Published As

Publication number Publication date
CN109684896A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN111339846B (en) Image recognition method and device, electronic equipment and storage medium
CN111160172B (en) Parking space detection method, device, computer equipment and storage medium
CN108012083B (en) Face acquisition method and device and computer readable storage medium
CN1897644B (en) Method and system for catching pictures
US20150154779A1 (en) Automated iterative image-masking based on imported depth information
US11908160B2 (en) Method and apparatus for context-embedding and region-based object detection
WO2020147498A1 (en) Detection method and apparatus for automatic driving sensor, and electronic device
CN113079325B (en) Method, apparatus, medium, and device for imaging billions of pixels under dim light conditions
US11126875B2 (en) Method and device of multi-focal sensing of an obstacle and non-volatile computer-readable storage medium
CN109684896B (en) Infrared positioning method, terminal and computer readable storage medium
CN107005655A (en) Image processing method
CN109670458A (en) A kind of licence plate recognition method and device
CN104935698A (en) Photographing method of smart terminal, photographing device and smart phone
CN103581562A (en) Panoramic shooting method and panoramic shooting device
US10049454B2 (en) Active triangulation calibration
CN109525790B (en) Video file generation method and system, and playing method and device
CN109034214B (en) Method and apparatus for generating a mark
KR20190086320A (en) The apparatus for proccesing image and method therefor
JP2021105915A (en) Positioning system
CN114723715B (en) Vehicle target detection method, device, equipment, vehicle and medium
JP2013106238A (en) Marker detection and tracking device
KR20210004529A (en) CCTV for recognizing car number based on deep learning
JP5539565B2 (en) Imaging apparatus and subject tracking method
WO2015198148A2 (en) Active triangulation calibration
CN108307155A (en) Suitable for pinpointing the video camera of monitoring

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 516006 Zhongkai high tech Zone 37, Huizhou, Guangdong

Applicant after: Tongli Technology Co.,Ltd.

Address before: 516006 Zhongkai high tech Zone 37, Huizhou, Guangdong

Applicant before: TONLY ELECTRONICS HOLDINGS Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant