CN110264516A - A kind of light rifle laser pen direction position determination system - Google Patents

A kind of light rifle laser pen direction position determination system Download PDF

Info

Publication number
CN110264516A
CN110264516A CN201910443447.9A CN201910443447A CN110264516A CN 110264516 A CN110264516 A CN 110264516A CN 201910443447 A CN201910443447 A CN 201910443447A CN 110264516 A CN110264516 A CN 110264516A
Authority
CN
China
Prior art keywords
laser pen
display screen
screen
light rifle
rifle laser
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.)
Pending
Application number
CN201910443447.9A
Other languages
Chinese (zh)
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.)
Shandong University of Science and Technology
Original Assignee
Shandong University of Science and Technology
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 Shandong University of Science and Technology filed Critical Shandong University of Science and Technology
Priority to CN201910443447.9A priority Critical patent/CN110264516A/en
Publication of CN110264516A publication Critical patent/CN110264516A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Measurement Of Optical Distance (AREA)

Abstract

The invention discloses a kind of light rifle laser pens to be directed toward position determination system, and in particular to light rifle laser positioning technical field.When the light rifle laser pen based on particle swarm algorithm is started to work, the scene image of the photographic device intake of light rifle laser pen installation is obtained every preset time;According to preset display screen template, screen area is detected in the scene image of acquisition;When detecting screen area in the scene image in acquisition, according to the size of the central point of the scene image of the acquisition and the screen area detected, the coordinate on the display screen of the aiming point of light rifle laser pen in three dimensions is calculated;When the controller of the light rifle laser pen is triggered, the calculated coordinate is sent to display screen, luminous point is shown with designated position on control display screen.

Description

A kind of light rifle laser pen direction position determination system
Technical field
The present invention relates to light rifle laser positioning technical fields, and in particular to a kind of light rifle laser pen direction position determines System.
Background technique
Laser pen used in the projector of system, principle are to emit in column of red light to projection projection screen used, by It can the clear hot spot that is irradiated of reflection laser pen in canvas rough surface.Since in recent years, LCD Panel is popularized, Traditional projector and used projection screen are gradually replaced by LCD Panel, due to liquid crystal display scene plot Face is smooth, and the hot spot that traditional laser pen is irradiated is without being clearly reflected into the eyes of participant, so as to cause laser pen User, which can not understand, effectively indicates target.And traditional light rifle method instruction target is inaccurate.
Summary of the invention
The purpose of the present invention is in view of the above deficiencies, propose a kind of light rifle laser pen direction based on particle swarm algorithm Position determination system can obtain light rifle laser pen front region by being mounted on the photographic device in front of light rifle laser pen Scene image calculate the light rifle laser pen in three dimensions when detecting screen area in the scene image Video screen on direction position.
The present invention specifically adopts the following technical scheme that
A kind of light rifle laser pen direction position determination system, including display screen detecting module, computing module, transmission mould Block and three-dimensional template establish module,
The display screen detecting module is used to be detected in the scene image of acquisition according to preset display screen template Screen area;
The computing module is used for when detecting screen area in the scene image in acquisition, according to the scene of the acquisition Image
The size of central point and the screen area detected calculates taking aim at for light rifle laser pen by particle swarm algorithm Coordinate on display screen in three dimensions on schedule;
The delivery module is used for when the controller of light rifle laser pen is triggered, and calculated coordinate is sent to sharp The processing system of light pen, and location spot is shown by the coordinate position of wireless transmission on the screen;
The three-dimensional template establishes module for the camera lens according to preset characteristic point and photographic device in the display screen The distance between information establish display screen template, and the display screen template is stored in the memory of light rifle laser pen In.
Preferably, the display screen detecting module is detected screen area in the scene image of acquisition and is specifically included:
Preset display screen template is obtained from light rifle laser pen memory, and is obtained and shown from display screen template Display screen curtain to camera head lens pre-determined distance, show screen default the ratio of width to height, show screen default size;
If there are a certain selection region satisfactions in scene image: the pixel of the preset number in selection region is taken the photograph to this As the distance of device camera lens is equal to the pre-determined distance, the ratio of width to height of selection region is equal to the default the ratio of width to height, and the selection region Size be equal to the default size, then determine the selection region for screen area.
Preferably, the computing module calculates on the display screen of the aiming point of light rifle laser pen in three dimensions Coordinate includes:
Coordinate system is established by origin of the predeterminated position of the screen area detected, obtains the aiming point of light rifle laser pen Coordinate in the screen area detected, the aiming point of light rifle laser pen are the central point of the scene image of the acquisition; According to the proportionate relationship between the actual size for showing screen in the size of the screen area detected and three-dimensional space, light is determined Coordinate on the display screen of the aiming point of line rifle laser pen in three dimensions.
Preferably, the system determine be directed toward position when, specifically includes the following steps:
Image capturing is obtained every preset time and is installed on light rifle laser pen when light rifle laser pen is started to work Photographic device intake scene image;
It shows screen detecting, according to preset display screen template, detects screen area in the scene image of acquisition;
It calculates, when detecting screen area in the scene image in acquisition, the central point of the scene image of the root acquisition And the size of the screen area detected, the aiming point of light rifle laser pen is calculated in three-dimensional space by particle swarm algorithm In display screen on coordinate;
Calculated coordinate, when the controller of light rifle laser pen is triggered, is sent to the processing of laser pen by transmission System, and location spot is shown by the coordinate position of wireless transmission on the screen.
Preferably, in image capturing, according in the display screen between preset characteristic point and the camera lens of photographic device Range information establish display screen template, and the display screen template is stored in the memory of light rifle laser pen.
Preferably, the display screen detecting specifically includes, and obtains preset display from light rifle laser pen memory Screen template, and display screen is obtained from display screen template to the pre-determined distances of camera head lens, the display screen Default the ratio of width to height, the default size of the display screen, if there are a certain selection region satisfactions in scene image: in selection region The distance of pixel to the camera head lens of preset number be equal to the pre-determined distance, the ratio of width to height of selection region is equal to should Default the ratio of width to height, and the size of selection region is equal to the default size, then determines the selection region for screen area.
Preferably, the calculating specifically includes, and establishes coordinate system as origin using the predeterminated position of the screen area detected, Coordinate of the aiming point of light rifle laser pen in the screen area detected is obtained, the aiming point of light rifle laser pen is should The central point of the scene image of acquisition is big according to the reality for showing screen in the size of the screen area detected and three-dimensional space Proportionate relationship between small determines the coordinate on the display screen of the aiming point of light rifle laser pen in three dimensions.
The invention has the following beneficial effects:
The light rifle laser pen is directed toward position determination system can be by the photographic device that is mounted in front of light rifle laser pen The scene image for obtaining light rifle laser pen front region calculates this when detecting screen area in the scene image It is excellent to positioning progress to use particle swarm algorithm for direction position on the video screen of light rifle laser pen in three dimensions Change, more accurately to be indicated, even if the display screen smooth using surfaces such as LCD Panels, the light that laser pen is irradiated Spot also can be clearly reflected into the eyes of participant, to enable a user to clearly effectively indicate target.
Detailed description of the invention
Fig. 1 is the flow diagram that the light rifle laser pen based on particle swarm algorithm is directed toward position determination system work;
Specific embodiment
A specific embodiment of the invention is described further in the following with reference to the drawings and specific embodiments:
As shown in Figure 1, a kind of light rifle laser pen is directed toward position determination system, including display screen detecting module, calculating Module, delivery module and three-dimensional template establish module,
Show that screen detecting module is used to detect screen in the scene image of acquisition according to preset display screen template Region;
Computing module is used for when detecting screen area in the scene image in acquisition, according to the scene image of the acquisition 's
The size of central point and the screen area detected calculates taking aim at for light rifle laser pen by particle swarm algorithm Coordinate on display screen in three dimensions on schedule;
Delivery module is used for when the controller of light rifle laser pen is triggered, and calculated coordinate is sent to laser pen Processing system, and location spot is shown by wireless transmission coordinate position on the screen;
Three-dimensional template establishes module for according in the display screen between preset characteristic point and the camera lens of photographic device Range information establish display screen template, and the display screen template is stored in the memory of light rifle laser pen.
Display screen detecting module is detected screen area in the scene image of acquisition and is specifically included:
Preset display screen template is obtained from light rifle laser pen memory, and is obtained and shown from display screen template Display screen curtain to camera head lens pre-determined distance, show screen default the ratio of width to height, show screen default size;
If there are a certain selection region satisfactions in scene image: the pixel of the preset number in selection region is taken the photograph to this As the distance of device camera lens is equal to the pre-determined distance, the ratio of width to height of selection region is equal to the default the ratio of width to height, and the selection region Size be equal to the default size, then determine the selection region for screen area.
Display screen detecting module detects screen area in the scene image of acquisition to include:
The preset display screen template is obtained from light rifle laser pen memory, and is obtained from display screen template Show screen to the pre-determined distance of camera head lens, the default the ratio of width to height for showing screen, the default size of display screen;If There are a certain selection region satisfactions in scene image: the pixel of the preset number in selection region to the camera head lens In the first preset range, error of the ratio of width to height of selection region and the default the ratio of width to height exists the error of distance and the pre-determined distance In second preset range, and the error of the size of selection region and the default size then determines to select in third preset range Region is screen area.
The coordinate that computing module calculates on the aiming point display screen in three dimensions of light rifle laser pen includes:
Coordinate system is established by origin of the predeterminated position of the screen area detected, obtains the aiming point of light rifle laser pen Coordinate in the screen area detected, the aiming point of light rifle laser pen are the central point of the scene image of the acquisition; According to the proportionate relationship between the actual size for showing screen in the size of the screen area detected and three-dimensional space, light is determined Coordinate on the display screen of the aiming point of line rifle laser pen in three dimensions.
System determine be directed toward position when, specifically includes the following steps:
Image capturing is obtained every preset time and is installed on light rifle laser pen when light rifle laser pen is started to work Photographic device intake scene image;
It shows screen detecting, according to preset display screen template, detects screen area in the scene image of acquisition;
It calculates, when detecting screen area in the scene image in acquisition, the central point of the scene image of the root acquisition And the size of the screen area detected, counterclockwise from the upper left corner, four apexes name A point, B to display screen respectively Point, C point, D point, the distance of four vertex distance light rifle laser pens is respectively RA、RB、RC、RDIf light rifle laser pen and electricity The linear distance of sub- display screen is d, then (desired indicate and light rifle is same for horizontal target point when light rifle laser pen level The point of one horizontal plane) distance on four vertex of distance is respectively shown in formula (1)-(4):
Assuming that A point coordinate is (x1,y1), B point coordinate is (x2,y2), C point coordinate is (x3,y3), D point coordinate is (x4,y4), Coordinate of ground point is (x, y), and actual range and the error for measuring distance are E.Using particle swarm algorithm to the x in formula (5), y's Specific value carries out optimizing, acquires E minimum, i.e., most accurate horizontal target point:
Particle swarm algorithm (as shown in Equation 6)
Level meter is installed inside light rifle laser pen, when light rifle laser pen has inclination angle theta, calculates mesh according to formula (7) Punctuate coordinate:
Final goal point coordinate is (x, y').
Calculated coordinate, when the controller of light rifle laser pen is triggered, is sent to the processing of laser pen by transmission System, and location spot is shown by the coordinate position of wireless transmission on the screen.
In image capturing, believed according to the distance between camera lens of preset characteristic point and photographic device in the display screen Breath establishes display screen template, and the display screen template is stored in the memory of light rifle laser pen.
Display screen detecting specifically includes, and preset display screen template is obtained from light rifle laser pen memory, and Obtained from display screen template display screen to the pre-determined distances of camera head lens, the display screen default the ratio of width to height, The default size of the display screen, if there are a certain selection region satisfactions in scene image: the preset number in selection region The distances of pixel to the camera head lens be equal to the pre-determined distance, it is default wide high that the ratio of width to height of selection region is equal to this Than, and the size of selection region is equal to the default size, then determines the selection region for screen area.
Calculating specifically includes, and establishes coordinate system by origin of the predeterminated position of the screen area detected, obtains light rifle Coordinate of the aiming point of laser pen in the screen area detected, the aiming point of light rifle laser pen are the scene of the acquisition The central point of image, according to the ratio between the actual size for showing screen in the size of the screen area detected and three-dimensional space Example relationship determines the coordinate on the display screen of the aiming point of light rifle laser pen in three dimensions.
Certainly, the above description is not a limitation of the present invention, and the present invention is also not limited to the example above, this technology neck The variations, modifications, additions or substitutions that the technical staff in domain is made within the essential scope of the present invention also should belong to of the invention Protection scope.

Claims (7)

1. a kind of light rifle laser pen is directed toward position determination system, including display screen detecting module, computing module, delivery module Module is established with three-dimensional template, which is characterized in that
The display screen detecting module is used to detect screen in the scene image of acquisition according to preset display screen template Region;
The computing module is used for when detecting screen area in the scene image in acquisition, according to the scene image of the acquisition Central point and the screen area detected size, existed by the aiming point that particle swarm algorithm calculates light rifle laser pen The coordinate on display screen in three-dimensional space;
The delivery module is used for when the controller of light rifle laser pen is triggered, and calculated coordinate is sent to laser pen Processing system, and location spot is shown by wireless transmission coordinate position on the screen;
The three-dimensional template establishes module for according in the display screen between preset characteristic point and the camera lens of photographic device Range information establish display screen template, and the display screen template is stored in the memory of light rifle laser pen.
2. a kind of light rifle laser pen as described in claim 1 is directed toward position determination system, which is characterized in that the display screen Curtain detecting module is detected screen area in the scene image of acquisition and is specifically included:
Preset display screen template is obtained from light rifle laser pen memory, and obtains display screen from display screen template Curtain to camera head lens pre-determined distance, show screen default the ratio of width to height, show screen default size;
If there are a certain selection region satisfactions in scene image: the pixel of the preset number in selection region to the camera shooting fills The distance for setting camera lens is equal to the pre-determined distance, and the ratio of width to height of selection region is equal to the default the ratio of width to height, and the selection region is big It is small to be equal to the default size, then determine the selection region for screen area.
3. a kind of light rifle laser pen as described in claim 1 is directed toward position determination system, which is characterized in that the calculating mould The coordinate that block calculates on the aiming point display screen in three dimensions of light rifle laser pen includes:
Coordinate system is established by origin of the predeterminated position of the screen area detected, obtains the aiming point of light rifle laser pen at this The coordinate in screen area detected, the aiming point of light rifle laser pen are the central point of the scene image of the acquisition;According to The proportionate relationship between the actual size of screen is shown in the size and three-dimensional space of the screen area detected, determines light rifle Coordinate on the display screen of the aiming point of laser pen in three dimensions.
4. a kind of light rifle laser pen as described in claim 1 is directed toward position determination system, which is characterized in that the system is true When being directed toward position surely, specifically includes the following steps:
Image capturing is taken the photograph when light rifle laser pen is started to work every what is installed on preset time acquisition light rifle laser pen The scene image absorbed as device;
It shows screen detecting, according to preset display screen template, detects screen area in the scene image of acquisition;
Calculate, when detecting screen area in the scene image in acquisition, the central point of the scene image of the root acquisition and should The size of the screen area detected calculates the aiming point of light rifle laser pen in three dimensions by particle swarm algorithm Show the coordinate on screen;
Calculated coordinate, when the controller of light rifle laser pen is triggered, is sent to the processing system of laser pen by transmission, And location spot is shown by the coordinate position of wireless transmission on the screen.
5. a kind of light rifle laser pen as claimed in claim 4 is directed toward position determination system, which is characterized in that in image capturing In, display screen mould is established according to the distance between camera lens of preset characteristic point and photographic device information in the display screen Plate, and the display screen template is stored in the memory of light rifle laser pen.
6. a kind of light rifle laser pen as claimed in claim 4 is directed toward position determination system, which is characterized in that the display screen Curtain detecting specifically includes, and obtains preset display screen template from light rifle laser pen memory, and from display screen template It is middle obtain display screen to the pre-determined distance of camera head lens, default the ratio of width to height of the display screen, the display screen it is pre- If size, if there are a certain selection region satisfactions in scene image: the pixel of the preset number in selection region is taken the photograph to this As the distance of device camera lens is equal to the pre-determined distance, the ratio of width to height of selection region is equal to the default the ratio of width to height, and selection region Size is equal to the default size, then determines the selection region for screen area.
7. a kind of light rifle laser pen as claimed in claim 4 is directed toward position determination system, which is characterized in that the calculating tool Body includes establishing coordinate system by origin of the predeterminated position of the screen area detected, obtaining the aiming point of light rifle laser pen Coordinate in the screen area detected, the aiming point of light rifle laser pen are the central point of the scene image of the acquisition, According to the proportionate relationship between the actual size for showing screen in the size of the screen area detected and three-dimensional space, light is determined Coordinate on the display screen of the aiming point of line rifle laser pen in three dimensions.
CN201910443447.9A 2019-05-27 2019-05-27 A kind of light rifle laser pen direction position determination system Pending CN110264516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910443447.9A CN110264516A (en) 2019-05-27 2019-05-27 A kind of light rifle laser pen direction position determination system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910443447.9A CN110264516A (en) 2019-05-27 2019-05-27 A kind of light rifle laser pen direction position determination system

Publications (1)

Publication Number Publication Date
CN110264516A true CN110264516A (en) 2019-09-20

Family

ID=67915468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910443447.9A Pending CN110264516A (en) 2019-05-27 2019-05-27 A kind of light rifle laser pen direction position determination system

Country Status (1)

Country Link
CN (1) CN110264516A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111833581A (en) * 2020-07-14 2020-10-27 北京仁光科技有限公司 Multi-screen laser remote control method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060172150A1 (en) * 2005-02-03 2006-08-03 Jong-Hyoup Lee Organometallic complex and organic electroluminescent device using the same
CN1861236A (en) * 2005-05-11 2006-11-15 原相科技股份有限公司 Direction pointing positioning method for direction-pointing device and said device
TW201347813A (en) * 2012-05-16 2013-12-01 Hon Hai Prec Ind Co Ltd System and method for detecting a shot direction of a light gun
CN103418132A (en) * 2012-05-17 2013-12-04 鸿富锦精密工业(深圳)有限公司 Ray gun pointing position determining system and method
CN105786225A (en) * 2016-02-22 2016-07-20 京东方科技集团股份有限公司 Positioning touch control method, device and system
CN107341991A (en) * 2017-05-17 2017-11-10 广州视源电子科技股份有限公司 Method for indicating position, operation device and display system for position instruction
CN109541584A (en) * 2018-12-29 2019-03-29 中国人民解放军空军工程大学 A kind of low flyer reconnaissance warning system and method based on intelligent terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060172150A1 (en) * 2005-02-03 2006-08-03 Jong-Hyoup Lee Organometallic complex and organic electroluminescent device using the same
CN1861236A (en) * 2005-05-11 2006-11-15 原相科技股份有限公司 Direction pointing positioning method for direction-pointing device and said device
TW201347813A (en) * 2012-05-16 2013-12-01 Hon Hai Prec Ind Co Ltd System and method for detecting a shot direction of a light gun
CN103418132A (en) * 2012-05-17 2013-12-04 鸿富锦精密工业(深圳)有限公司 Ray gun pointing position determining system and method
CN105786225A (en) * 2016-02-22 2016-07-20 京东方科技集团股份有限公司 Positioning touch control method, device and system
CN107341991A (en) * 2017-05-17 2017-11-10 广州视源电子科技股份有限公司 Method for indicating position, operation device and display system for position instruction
CN109541584A (en) * 2018-12-29 2019-03-29 中国人民解放军空军工程大学 A kind of low flyer reconnaissance warning system and method based on intelligent terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111833581A (en) * 2020-07-14 2020-10-27 北京仁光科技有限公司 Multi-screen laser remote control method and system

Similar Documents

Publication Publication Date Title
CN112689135B (en) Projection correction method, projection correction device, storage medium and electronic equipment
WO2019144666A1 (en) Automatic correction method and apparatus for projection picture, and electronic device
CN101783011B (en) Distortion correction method of fish eye lens
CN107121109A (en) A kind of structure light parameter calibration device and method based on preceding plated film level crossing
CN106643567B (en) A kind of method of calibration and system of lane shift system producing line scaling board
CN102661717A (en) Monocular vision measuring method for iron tower
CN106097367B (en) A kind of scaling method and device of binocular solid camera
CN111583411A (en) Three-dimensional model building method based on oblique photography
WO2017114251A1 (en) Projection correction method and device
CN106651990A (en) Indoor map construction method and indoor map-based indoor locating method
US10831238B2 (en) Display method for flexible display screen and flexible display device
CN103795935B (en) A kind of camera shooting type multi-target orientation method and device based on image rectification
CN103017666A (en) Method and assembly for determining the position of a measurement point in geometric space
CN104482921A (en) Water surface target measuring method
CN103148832A (en) Detection method of installation inclination angle of video camera
CN107687818A (en) Three-dimensional measurement method and three-dimensional measurement device
WO2023274090A1 (en) Scanning method and system for portable electronic device, and electronic device and storage medium
CN106524995A (en) Positioning method for detecting spatial distances of target objects on basis of visible-light images in real time
CN110264516A (en) A kind of light rifle laser pen direction position determination system
CN113411564A (en) Method, device, medium and system for measuring human eye tracking parameters
TWI412729B (en) Method and system of real navigation display
KR101996226B1 (en) Apparatus for measuring three-dimensional position of subject and method thereof
CN113141491A (en) Projection method, system and storage medium based on monochromatic light reference line emitter
CN116929290A (en) Binocular visual angle difference three-dimensional depth measurement method, binocular visual angle difference three-dimensional depth measurement system and storage medium
CN108769459A (en) Multiple spot laser Full-automatic oblique angle shot based on image procossing corrects system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190920

RJ01 Rejection of invention patent application after publication