WO2017166478A1 - 游戏枪在显示屏幕上瞄准位置的确定方法及装置 - Google Patents
游戏枪在显示屏幕上瞄准位置的确定方法及装置 Download PDFInfo
- Publication number
- WO2017166478A1 WO2017166478A1 PCT/CN2016/088680 CN2016088680W WO2017166478A1 WO 2017166478 A1 WO2017166478 A1 WO 2017166478A1 CN 2016088680 W CN2016088680 W CN 2016088680W WO 2017166478 A1 WO2017166478 A1 WO 2017166478A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- game
- screen
- binocular camera
- color
- guns
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/12—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using a selected wavelength, e.g. to sense red marks and ignore blue marks
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
- A63F13/426—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2250/00—Miscellaneous game characteristics
- A63F2250/48—Miscellaneous game characteristics with special provisions for gripping by hand
- A63F2250/485—Miscellaneous game characteristics with special provisions for gripping by hand using a handle
- A63F2250/487—Miscellaneous game characteristics with special provisions for gripping by hand using a handle with a pistol handle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/10—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8076—Shooting
Definitions
- the invention belongs to the field of electronic technology, and in particular relates to a method and a device for determining a aiming position of a game gun on a display screen.
- One of the types of games is also a kind of action game.
- the shooting game has a very obvious action game feature, and it is necessary to use the game gun to emit a light source to aim at the target of the game on the screen of the display to achieve "shooting".
- a display is a smart liquid crystal display (LCD, Liquid) for a television, computer or other smart display. Crystal Display) or LED (Light Emitting Diode) display.
- a binocular camera is combined with a game gun with a plurality of illuminating light sources, and the screen parameters are used for the distance positioning of the game gun and the camera and the pointing direction of the game gun to the screen.
- the above existing solution has the disadvantage that since the shape of the light-emitting point of the fixed light source is recognized by using the binocular camera, it is impossible to realize the same set of binocular cameras to position a plurality of game guns with light sources, that is, a set of binocular cameras and The reality device can only determine the aiming position of a game light gun, but can not identify and locate multiple game guns.
- the invention provides a method and a device for determining a aiming position of a game gun on a display screen, by adding a multi-color filter capable of filtering a plurality of light colors to a binocular camera, so that the binocular camera can transmit the multi-color filter
- the color filter recognizes a plurality of game guns of different color light sources, and solves the problem that the aiming position of a plurality of game guns on the display screen cannot be recognized in the prior art.
- the invention provides a method for determining a aiming position of a game gun on a display screen, comprising:
- controlling the multi-color filter in the binocular camera to change color according to a preset switching rule, and controlling the binocular camera to pass through the multi-color filter Obtaining an image of light spots of different colors on the screen of the display screen in time, the light spots of different colors being emitted by different game guns; determining the light in the acquired image according to the color and shape of the spot of the preset game gun The point corresponding to the identification information of the current plurality of game guns; determining the aiming position of the current plurality of game guns on the screen according to the acquired image of the spot and the preset positioning algorithm.
- the invention provides a determining device for aiming a position of a game gun on a display screen, comprising:
- Switching a color module configured to control a multi-color filter in the binocular camera to change color according to a preset switching rule when detecting binocular camera access; acquiring an image module for controlling the binocular The camera obtains an image of light spots of different colors on the screen of the display screen through the multi-color filter in a time-sharing manner, and the light spots of different colors are emitted by different game guns; the first determining module is configured according to the Setting a color and a shape of a light spot of the game gun, determining identity information of the current plurality of game guns corresponding to the light points in the acquired image; and a second determining module, configured to perform image according to the acquired light spot and preset positioning An algorithm determines an aiming position of the current plurality of game guns on the screen.
- the method and apparatus for determining the aiming position of the game gun on the display screen controls the multi-color filter by adding a multi-color filter that can filter a plurality of light colors to the binocular camera.
- the color change of the light piece enables the binocular camera to identify a plurality of game guns of different color light sources through the multi-color filter to determine a greater number of game guns at the aiming position of the display screen, and improve the accuracy of determining the aiming position. Increase the number of game guns participating in the game, and use only one binocular camera to support multiple game guns while using them in the game.
- FIG. 1 is a schematic diagram of an application scenario of a method for determining a aiming position of a game gun on a display screen according to an embodiment of the present invention
- FIG. 2 is a schematic flow chart showing an implementation of a method for determining a aiming position of a game gun on a display screen according to a first embodiment of the present invention
- FIG. 3 is a schematic flow chart showing an implementation of a method for determining a aiming position of a game gun on a display screen according to a second embodiment of the present invention
- FIG. 4 is a schematic structural diagram of a determining device for aiming a position of a game gun on a display screen according to a third embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a device for determining a aiming position of a game gun on a display screen according to a fourth embodiment of the present invention.
- the method for determining the aiming position of the game gun on the display screen provided by the embodiment of the present invention can be applied to the determination of the aiming position of the game gun on the display screen when the shooting game is run in the display of the smart device such as a television or a computer.
- the display is an LCD display or an LED display. Please refer to FIG. 1.
- FIG. 1 is a schematic diagram of an application scenario of the determining method.
- the binocular camera 102 is connected to the smart device 101, and may be connected through a USB cable or connected by wireless or other wired connection except the USB cable, which is not specifically limited herein.
- a shooting game module can be disposed in the smart device 101, through which the shooting game module can run a shooting game, and send and receive game-related data generated during the shooting game, including the game guns collected by the binocular camera 102 and the shooting game. 103 related data.
- the shooting game module may also be disposed not in the smart device 101, but in a separate gaming machine, in which the shooting game is run, the gaming machine is connected to the game gun, and the game is played.
- the machine is connected to the smart device 101 to display a game screen on the display screen of the smart device 101.
- the scenario shown in FIG. 1 is to run the shooter game in the smart device 101, and the game gun 30 is directly connected to the smart device 101.
- the game gun 30 is connected to the smart device 10 for the user to operate to form a shooting action on the game screen on the display screen of the smart device 10.
- FIG. 2 is a schematic flowchart of a method for determining a aiming position of a game gun on a display screen according to a first embodiment of the present invention, which can be applied to each device shown in FIG. 1 and includes the following steps:
- the binocular camera includes two cameras, which can be depth cameras (ie, 3D sensor cameras). These cameras often have the same parameters for the convenience of processing the acquired images.
- a multicolor filter and a multicolor filter switcher are provided in the binocular camera.
- the multi-color filter is specifically a power-on filter, and the multi-color filter can be converted into different colors under the control of the switch control board to filter colors of different colors.
- the switching rule specifies that the multicolor filter is converted to a different color in accordance with a predetermined switching frequency and color order such that light of the same color as the current color of the multicolor filter passes.
- the multi-color filter is a red, yellow, and blue color filter.
- the switching rule stipulates that the multi-color filter should have a switching frequency of 60 times/second, and the color order is red, yellow, and blue.
- the multi-color filter is controlled to switch from red light to a red, yellow, and blue filter at a frequency of 60 times per second, and is cyclically switched according to this rule.
- the smart device controls the binocular camera to acquire an image on the screen, and the binocular camera obtains an image of a light spot of a different color on the screen of the display screen through the multicolor filter, the light spot is a light emitted by the light source in the game gun Formed on the display screen.
- the multi-color filter is red, only an image of a red spot is obtained, and when the multi-color filter is blue, only an image of a blue spot can be acquired.
- the different colored spots are emitted by light sources provided in different game guns. Therefore, when the multicolor filter is in the process of discoloration, images of light spots of different colors emitted by the game gun are continuously acquired.
- S202 Determine, according to a color and a shape of a spot of the game gun set in advance, identity information of the current plurality of game guns corresponding to the light points in the acquired image.
- Information about a game gun supported by the shooting game is preset in the smart device, and includes information of a light spot formed by a light source of the game gun, and the information of the light spot may specifically include a color of a light spot formed by each game gun, Shape, quantity of information.
- a shooting game can support up to three game guns.
- the three game guns are effective within 2 meters from the screen.
- the light spots formed on the screen are divided into three colors: red, yellow and blue. They can be the same, both round or square, and the shapes can also be different, which are circular, square, and triangular.
- the identification information of the current plurality of game guns corresponding to the light points in the image acquired by the binocular camera can be determined, that is, the identification information and the light of the game gun can be determined.
- the correspondence of points for example, the red circular spot is issued by the game gun with ID 001, and the blue square spot is issued by the game gun with ID 002.
- S203 Determine an aiming position of the current plurality of game guns on the screen according to the acquired image of the light spot and a preset positioning algorithm.
- the current plurality of game guns may be determined according to the acquired image of the light spot, the parameter of the binocular camera, the on-screen display parameter of the screen, and the position information between the binocular camera and the current plurality of game guns.
- the aiming position on the screen may be determined according to the acquired image of the light spot, the parameter of the binocular camera, the on-screen display parameter of the screen, and the position information between the binocular camera and the current plurality of game guns. The aiming position on the screen.
- the parameters of the binocular camera include: the center distance of the two cameras in the binocular camera, and the focal length of each camera.
- the on-screen parameters of the screen include: display size information of the screen, including the display height and width of the screen, that is, the height and width of the screen that the screen can display.
- the position between the binocular camera and the current plurality of game guns can be calculated by a preset algorithm.
- the two cameras are in the same plane, and the optical axes are parallel to each other, and the muzzle illumination of the game gun is defined as a feature point, and some preprocessing algorithms for the image, such as binarization and edge, are preset. Extraction, feature point denoising, etc.
- the feature points in the two images acquired by the two cameras simultaneously are extracted and segmented, thereby completing the extraction of the feature points.
- the binocular camera respectively acquires the coordinates of the feature point on the two cameras, and according to the distance between the cameras, the coordinates of the feature point in the coordinate system of one of the cameras can be obtained, that is, the position of the game gun is obtained.
- the position of the game gun can be obtained by other positioning algorithms other than this, which is not limited herein. For example, after a game gun is identified, the position of the game gun is located by a preset stereo matching algorithm.
- Determining the current plurality of games respectively according to the acquired images of the plurality of color spots, the parameters of the binocular camera, the on-screen parameters of the screen, and the position information between the binocular camera and the current plurality of game guns The aiming position of the gun on the screen.
- the color change of the multi-color filter is controlled, so that the binocular camera can recognize the multi-color filter through the multi-color filter.
- a game gun with different color light sources to determine the target position of a larger number of game guns on the display screen, improve the accuracy of determining the aiming position, increase the number of game guns participating in the game, and realize support with only one set of binocular cameras. Use the game gun at the same time in the game.
- FIG. 3 is a schematic flowchart of a method for determining a aiming position of a game gun on a display screen according to a second embodiment of the present invention, which can be applied to each device shown in FIG. 1 and includes the following steps:
- a multicolor filter and a multicolor filter switcher are provided in the binocular camera.
- the multi-color filter is specifically a power-on filter, and the multi-color filter can be converted into different colors under the control of the switch control board to filter colors of different colors.
- the switching rule specifies that the multicolor filter is converted to a different color in accordance with a predetermined switching frequency and color order such that light of the same color as the current color of the multicolor filter passes.
- the multi-color filter is a red, yellow, and blue color filter.
- the switching rule stipulates that the multi-color filter should have a switching frequency of 60 times/second, and the color order is red, yellow, and blue.
- the multi-color filter is controlled to switch from red light to a red, yellow, and blue filter at a frequency of 60 times per second, and is cyclically switched according to this rule.
- the smart device controls the binocular camera to acquire an image on the screen, and the binocular camera obtains an image of a light spot of a different color on the screen of the display screen through the multicolor filter, the light spot is a light emitted by the light source in the game gun Formed on the display screen.
- the multi-color filter is red, only an image of a red spot is obtained, and when the multi-color filter is blue, only an image of a blue spot can be acquired.
- the different colored spots are emitted by light sources provided in different game guns. Therefore, when the multicolor filter is in the process of discoloration, images of light spots of different colors emitted by the game gun are continuously acquired.
- Information about a game gun supported by the shooting game is preset in the smart device, and includes information of a light spot formed by a light source of the game gun, and the information of the light spot may specifically include a color of a light spot formed by each game gun, Shape, quantity of information.
- a shooting game can support up to three game guns.
- the three game guns are effective within 2 meters from the screen.
- the light spots formed on the screen are divided into three colors: red, yellow and blue. They can be the same, both round or square, and the shapes can also be different, which are circular, square, and triangular.
- the identification information of the current plurality of game guns corresponding to the light points in the image acquired by the binocular camera can be determined, that is, the identification information and the light of the game gun can be determined.
- the correspondence of points for example, the red circular spot is issued by the game gun with ID 001, and the blue square spot is issued by the game gun with ID 002.
- step S304 If yes, go to step S304; if no, go to step S306.
- S304 Reselect a switching rule for controlling color change of the multi-color filter in the binocular camera according to the current number of the plurality of game guns;
- the color of the spot of the current multiple game guns is less than the color that can be filtered by the multi-color filter preset in the system.
- the current game gun is 2, and the color of the formed spot is red and Blue, while the multi-color filter can filter 5 colors, then, in order to save time and speed, the color other than the color of the current game gun spot is no longer filtered.
- the switching frequency in the reselected switching rule may be the same as or different from the switching frequency in the switching rule in step S301.
- the reselected switching rule specifies a switching frequency of 80 times/second, and the color order conversion order is red and blue.
- the multi-color filter is controlled to start from red light, and is sequentially switched to a red and blue filter at a frequency of 80 times per second, and is cyclically switched according to this rule.
- the preset image recognition algorithm uses the binocular ranging principle to obtain the distance of the current plurality of game guns to the screen and the current Pointing of multiple game guns;
- the parameters of the binocular camera include: the center distance of the two cameras in the binocular camera, and the focal length of each camera.
- the position between the binocular camera and the current plurality of game guns can be calculated by a preset algorithm.
- the specific content of the distance between the current plurality of game guns and the screen is obtained by using the preset image recognition algorithm. For details, refer to the content of step S203 in the embodiment shown in FIG. 2, and details are not described herein again. .
- the display size information of the screen including the display height and width of the screen, that is, the height and width of the screen that the screen can display.
- the color change of the multi-color filter is controlled, so that the binocular camera can recognize the multi-color filter through the multi-color filter.
- a game gun with different color light sources to determine the target position of a larger number of game guns on the display screen, improve the accuracy of determining the aiming position, increase the number of game guns participating in the game, and realize support with only one set of binocular cameras. Use the game gun at the same time in the game.
- FIG. 4 is a schematic structural diagram of a device for determining a aiming position of a game gun on a display screen according to a third embodiment of the present invention.
- the determining device of the aiming position of the game gun illustrated in FIG. 4 on the display screen may be an execution body of the determining method of the aiming position of the game gun on the display screen provided by the foregoing embodiment shown in FIG. 2 and FIG. 3, which may be a smart device or an intelligent device.
- the determining device for the aiming position of the game gun illustrated in FIG. 4 on the display screen mainly includes: a switching color module 401, an acquisition image module 402, a first determining module 403, and a second determining module 404.
- the above functional modules are described in detail as follows:
- the switching color module 401 is configured to control the multi-color filter in the binocular camera to change color according to a preset switching rule when detecting the binocular camera access.
- the binocular camera consists of two cameras.
- the two cameras often have the same parameters for the convenience of processing the acquired images.
- a multicolor filter and a multicolor filter switcher are provided in the binocular camera.
- the multi-color filter is specifically a power-on filter, and the multi-color filter can be converted into different colors under the control of the switch control board to filter colors of different colors.
- the switching rule specifies that the multicolor filter is converted to a different color in accordance with a predetermined switching frequency and color order such that light of the same color as the current color of the multicolor filter passes.
- the multi-color filter is a red, yellow, and blue color filter.
- the switching rule stipulates that the multi-color filter should have a switching frequency of 60 times/second, and the color order is red, yellow, and blue.
- the multi-color filter is controlled to switch from red light to a red, yellow, and blue filter at a frequency of 60 times per second, and is cyclically switched according to this rule.
- the image obtaining module 402 is configured to control the binocular camera to obtain images of light spots of different colors on the screen of the display screen through the multi-color filter, and the light spots of different colors are emitted by different game guns.
- the smart device controls the binocular camera to acquire an image on the screen, and the binocular camera obtains an image of a light spot of a different color on the screen of the display screen through the multicolor filter, the light spot is a light emitted by the light source in the game gun Formed on the display screen.
- the multi-color filter is red, only an image of a red spot is obtained, and when the multi-color filter is blue, only an image of a blue spot can be acquired.
- the different colored spots are emitted by light sources provided in different game guns. Therefore, when the multicolor filter is in the process of discoloration, images of light spots of different colors emitted by the game gun are continuously acquired.
- the first determining module 403 is configured to determine identity identification information of the current plurality of game guns corresponding to the light points in the acquired image according to the color and shape of the spot of the game gun set in advance.
- Information about a game gun supported by the shooting game is preset in the smart device, and includes information of a light spot formed by a light source of the game gun, and the information of the light spot may specifically include a color of a light spot formed by each game gun, Shape, quantity of information.
- a shooting game can support up to three game guns.
- the three game guns are effective within 2 meters from the screen.
- the light spots formed on the screen are divided into three colors: red, yellow and blue. They can be the same, both round or square, and the shapes can also be different, which are circular, square, and triangular.
- the identification information of the current plurality of game guns corresponding to the light points in the image acquired by the binocular camera can be determined, that is, the identification information and the light of the game gun can be determined.
- the correspondence of points for example, the red circular spot is issued by the game gun with ID 001, and the blue square spot is issued by the game gun with ID 002.
- the second determining module 404 is configured to determine an aiming position of the current plurality of game guns on the screen according to the acquired image of the light spot and a preset positioning algorithm.
- the parameters of the binocular camera include: the center distance of the two cameras in the binocular camera, and the focal length of each camera.
- the on-screen parameters of the screen include: display size information of the screen, including the display height and width of the screen, that is, the height and width of the screen that the screen can display.
- the order of the filtered colors specified in the switching rule refers to the order from the start color of the multicolor filter filterable light to the end color of the current round switch.
- the position between the binocular camera and the current plurality of game guns can be calculated by a preset algorithm.
- the two cameras are in the same plane, and the optical axes are parallel to each other, and the muzzle illumination of the game gun is defined as a feature point, and some preprocessing algorithms for the image, such as binarization and edge, are preset. Extraction, feature point denoising, etc.
- the feature points in the two images acquired by the two cameras simultaneously are extracted and segmented, thereby completing the extraction of the feature points.
- the binocular camera respectively acquires the coordinates of the feature point on the two cameras, and according to the distance between the cameras, the coordinates of the feature point in the coordinate system of one of the cameras can be obtained, that is, the position of the game gun is obtained.
- the position of the game gun can be obtained by other positioning algorithms other than this, which is not limited herein. For example, after a game gun is identified, the position of the game gun is located by a preset stereo matching algorithm.
- each function module is merely an example, and the actual application may be configured according to requirements, such as corresponding hardware requirements or The convenience of the implementation of the software, and the above-mentioned function allocation is completed by different functional modules, that is, the internal structure of the determining device of the game gun on the display screen is divided into different functional modules to complete all or part of the functions described above. .
- the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be executed by corresponding hardware to execute corresponding software. The above description principles may be applied to various embodiments provided in this specification, and are not described herein again.
- the color change of the multi-color filter is controlled, so that the binocular camera can recognize the multi-color filter through the multi-color filter.
- a game gun with different color light sources to determine the target position of a larger number of game guns on the display screen, improve the accuracy of determining the aiming position, increase the number of game guns participating in the game, and realize support with only one set of binocular cameras. Use the game gun at the same time in the game.
- FIG. 5 a schematic structural diagram of a determining device for aiming a position of a game gun on a display screen according to a fourth embodiment of the present invention is provided.
- the determining device of the aiming position of the game gun illustrated on FIG. 5 on the display screen may be an execution body of the determining method of the aiming position of the game gun on the display screen provided by the foregoing embodiment shown in FIG. 2 and FIG. 3, such as a smart device or a smart device.
- One of the control modules One of the control modules.
- a switching color module 501 mainly includes: a switching color module 501, an acquisition image module 502, a first determining module 503, a second determining module 504, a selection rule module 505, and a determining module 506.
- the above functional modules are described in detail as follows:
- the switching color module 501 is configured to control the multi-color filter in the binocular camera to change color according to a preset switching rule when detecting the binocular camera access.
- the binocular camera consists of two cameras.
- the two cameras often have the same parameters for the convenience of processing the acquired images.
- a multicolor filter and a multicolor filter switcher are provided in the binocular camera.
- the multi-color filter is specifically a power-on filter, and the multi-color filter can be converted into different colors under the control of the switch control board to filter colors of different colors.
- the switching rule specifies that the multicolor filter is converted to a different color in accordance with a predetermined switching frequency and color order such that light of the same color as the current color of the multicolor filter passes.
- the multi-color filter is a red, yellow, and blue color filter.
- the switching rule stipulates that the multi-color filter should have a switching frequency of 60 times/second, and the color order is red, yellow, and blue.
- the multi-color filter is controlled to switch from red light to a red, yellow, and blue filter at a frequency of 60 times per second, and is cyclically switched according to this rule.
- the image obtaining module 502 is configured to control the binocular camera to obtain images of light spots of different colors on the screen of the display screen through the multi-color filter, and the light spots of different colors are emitted by different game guns.
- the smart device controls the binocular camera to acquire an image on the screen, and the binocular camera obtains an image of a light spot of a different color on the screen of the display screen through the multicolor filter, the light spot is a light emitted by the light source in the game gun Formed on the display screen.
- the multi-color filter is red, only an image of a red spot is obtained, and when the multi-color filter is blue, only an image of a blue spot can be acquired.
- the different colored spots are emitted by light sources provided in different game guns. Therefore, when the multicolor filter is in the process of discoloration, images of light spots of different colors emitted by the game gun are continuously acquired.
- the first determining module 503 is configured to determine identity identification information of the current plurality of game guns corresponding to the light points in the acquired image according to the color and shape of the spot of the game gun set in advance.
- Information about a game gun supported by the shooting game is preset in the smart device, and includes information of a light spot formed by a light source of the game gun, and the information of the light spot may specifically include a color of a light spot formed by each game gun, Shape, quantity of information.
- a shooting game can support up to three game guns.
- the three game guns are effective within 2 meters from the screen.
- the light spots formed on the screen are divided into three colors: red, yellow and blue. They can be the same, both round or square, and the shapes can also be different, which are circular, square, and triangular.
- the identification information of the current plurality of game guns corresponding to the light points in the image acquired by the binocular camera can be determined, that is, the identification information and the light of the game gun can be determined.
- the correspondence of points for example, the red circular spot is issued by the game gun with ID 001, and the blue square spot is issued by the game gun with ID 002.
- the second determining module 504 is configured to determine, according to the acquired image of the light spot, the parameter of the binocular camera, the on-screen parameter of the screen, and the position information between the binocular camera and the current plurality of game guns, respectively The aiming position of multiple game guns on this screen.
- the parameters of the binocular camera include: the center distance of the two cameras in the binocular camera, and the focal length of each camera.
- the on-screen parameters of the screen include: display size information of the screen, including the display height and width of the screen, that is, the height and width of the screen that the screen can display.
- the position between the binocular camera and the current plurality of game guns can be calculated by a preset algorithm.
- the two cameras are in the same plane, and the optical axes are parallel to each other, and the muzzle illumination of the game gun is defined as a feature point, and some preprocessing algorithms for the image, such as binarization and edge, are preset. Extraction, feature point denoising, etc.
- the feature points in the two images acquired by the two cameras simultaneously are extracted and segmented, thereby completing the extraction of the feature points.
- the binocular camera respectively acquires the coordinates of the feature point on the two cameras, and according to the distance between the cameras, the coordinates of the feature point in the coordinate system of one of the cameras can be obtained, that is, the position of the game gun is obtained.
- the position of the game gun can be obtained by other positioning algorithms other than this, which is not limited herein. For example, after a game gun is identified, the position of the game gun is located by a preset stereo matching algorithm.
- the apparatus further includes: a selection rule module 505.
- the selection rule module 505 is configured to reselect a switching rule for controlling the color change of the multi-color filter in the binocular camera according to the current number of the plurality of game guns.
- the color of the spot of the current multiple game guns is less than the color that can be filtered by the multi-color filter preset in the system.
- the current game gun is 2, and the color of the formed spot is red and Blue, while the multi-color filter can filter 5 colors, then, in order to save time and speed, the color other than the color of the current game gun spot is no longer filtered.
- the switching frequency in the reselected switching rule may be unchanged or may be changed.
- the reselected switching rule specifies a switching frequency of 80 times/second, and the color order conversion order is red and blue, and the multicolor filter is controlled. Starting from the red light, the filter is switched to the red and blue filters in sequence at a frequency of 80 times per second, and the cycle is switched according to this rule.
- the switching color module 501 is further configured to control the color change of the multi-color filter in the binocular camera according to the reselected switching rule.
- the image obtaining module 502 is further configured to control the binocular camera to obtain an image of a light spot of a different color on the screen of the display screen through the multi-color filter.
- the device further includes:
- the determining module 506 is configured to determine whether the current number of the plurality of game guns is less than the number of colors changed by the multi-color filter specified in the switching rule.
- the selection rule module 505 reselects according to the current number of the plurality of game guns for controlling the Switching rules for color change of multicolor filters in binocular cameras.
- the second determining module 504 obtains the current multiple game guns by using a binocular ranging principle by using a preset image recognition algorithm according to the acquired image of the light spot, the center distance and the focal length of the binocular camera. a distance to the screen and a pointing of the current plurality of game guns, and obtaining a display size of the screen by the binocular camera, and according to the distance of the current plurality of game guns to the screen and the orientation of the plurality of game guns, The coordinates of the aiming position of the current plurality of game guns on the screen are calculated.
- the second determining module 504 is configured according to the parameters of the binocular camera.
- the screen display parameters of the screen, the order of the filter colors specified in the switching rule, and the position information between the binocular camera and the current plurality of game guns respectively determine the aiming positions of the current plurality of game guns on the screen.
- the first determining module 503 is further configured to determine identity identification information of the current plurality of game guns corresponding to the light points in the acquired image according to the color, the shape, and the number of the light spots of the preset game gun.
- the color change of the multi-color filter is controlled, so that the binocular camera can recognize the multi-color filter through the multi-color filter.
- a game gun with different color light sources to determine the target position of a larger number of game guns on the display screen, improve the accuracy of determining the aiming position, increase the number of game guns participating in the game, and realize support with only one set of binocular cameras. Use the game gun at the same time in the game.
- Embodiments of the present invention provide a determining device for a aiming position of a game gun on a display screen, the device comprising: one or more processors;
- One or more programs the one or more programs being stored in the memory, when executed by the one or more processors:
- the multi-color filter in the binocular camera is controlled to change color according to a preset switching rule, and the binocular camera is controlled to pass through the multi-color filter to obtain time-sharing.
- the light spot of the different color is emitted by a different game gun.
- the current point corresponding to the light spot in the acquired image is determined.
- the identification information of the plurality of game guns determines the aiming position of the current plurality of game guns on the screen according to the acquired image of the light spot and a preset positioning algorithm.
- the disclosed systems, devices, and methods may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the modules is only a logical function division.
- there may be another division manner for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication link shown or discussed may be an indirect coupling or communication link through some interface, device or module, and may be electrical, mechanical or otherwise.
- the modules described as separate components may or may not be physically separated.
- the components displayed as modules may or may not be physical modules, that is, may be located in one place, or may be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
- the integrated modules if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
- a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM, Read-Only) Memory, random access memory (RAM), disk or optical disk, and other media that can store program code.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Artificial Intelligence (AREA)
- Toxicology (AREA)
- General Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Telescopes (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
一种游戏枪(30)在显示屏幕上瞄准位置的确定方法及装置,该方法包括:当检测到双目摄像头接入时,按照预置的切换规则,控制双目摄像头中的多色滤光片改变颜色,并控制双目摄像头透过多色滤光片分时获取显示屏的屏幕上不同颜色的光点的图像,该不同颜色的光点由不同的游戏枪(30)发射(S201,S301);根据预先设置的游戏枪(30)的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪(30)的身份标识信息(S202,S302);根据获取的光点的图像以及预置的定位算法,确定该当前多个游戏枪(30)在所述屏幕上的瞄准位置(S203)。该方法和装置提高确定多把游戏枪(30)在屏幕上的瞄准位置的准确性,可实现用一套双目摄像头支持多把游戏枪(30)同时在游戏中使用。
Description
本申请要求在2016年3月30日提交中国专利局、申请号201610193202.1、发明名称为“游戏枪在显示屏幕上瞄准位置的确定方法及装置”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
本发明属于电子技术领域,尤其涉及一种游戏枪在显示屏幕上瞄准位置的确定方法及装置。
发明人在实现本发明的过程中发现射击游戏(Shooter
game),简称为STG。游戏类型的一种,也是动作游戏的一种。射击游戏带有很明显的动作游戏特点,须要通过游戏枪发射光源瞄准显示器的屏幕上游戏中的目标,实现“射击”。显示器是指电视机、电脑或其它智能显示器的智能液晶显示器(LCD,Liquid
Crystal Display )或发光二极管(LED,Light Emitting Diode)显示器。
现有技术中,通过双目摄像头结合带有多个发光光源的游戏枪,并结合屏幕参数作游戏枪与摄像头的距离定位和游戏枪对屏幕的指向方向的。但是上述现有方案缺陷在于由于是使用双目摄像头对固定发光光源的发光点形状做识别,因此无法实现同一套双目摄像头定位多个带有光源的游戏枪,即,一套双目摄像头和现实设备只能确定一把游戏光枪的瞄准位置,而不能识别定位多把游戏枪。
本发明提供一种游戏枪在显示屏幕上瞄准位置的确定方法及装置,用以通过为双目摄像头增加可过滤多种光线颜色的多色滤光片,使得该双目摄像头可透过该多色滤光片识别多种不同颜色光源的游戏枪,解决了现有技术中不能识别多把游戏枪在显示屏幕的瞄准位置。
本发明提供的一种游戏枪在显示屏幕上瞄准位置的确定方法,包括:
当检测到双目摄像头接入时,按照预置的切换规则,控制所述双目摄像头中的多色滤光片改变颜色,并控制所述双目摄像头透过所述多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像,所述不同颜色的光点由不同的游戏枪发射;根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息;根据获取的光点的图像以及预置的定位算法,确定所述当前多个游戏枪在所述屏幕上的瞄准位置。
本发明提供的一种游戏枪在显示屏幕上瞄准位置的确定装置,包括:
切换颜色模块,用于当检测到双目摄像头接入时,按照预置的切换规则,控制所述双目摄像头中的多色滤光片改变颜色;获取图像模块,用于控制所述双目摄像头透过所述多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像,所述不同颜色的光点由不同的游戏枪发射;第一确定模块,用于根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息;第二确定模块,用于根据获取的光点的图像以及预置的定位算法,确定所述当前多个游戏枪在所述屏幕上的瞄准位置。
从上述本发明实施例可知,本发明提供的游戏枪在显示屏幕上瞄准位置的确定方法及装置,通过为双目摄像头增加可过滤多种光线颜色的多色滤光片,控制该多色滤光片变色,使得该双目摄像头可透过该多色滤光片识别多种不同颜色光源的游戏枪,以确定更多数量的游戏枪在显示屏幕的瞄准位置,提高确定瞄准位置的准确性,增加参与游戏的游戏枪的数量,实现只用一套双目摄像头支持多把游戏枪同时在游戏中使用。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例。
图1是本发明实施例中游戏枪在显示屏幕上瞄准位置的确定方法的应用场景示意图;
图2是本发明第一实施例提供的游戏枪在显示屏幕上瞄准位置的确定方法的实现流程示意图;
图3是本发明第二实施例提供的游戏枪在显示屏幕上瞄准位置的确定方法的实现流程示意图;
图4是本发明第三实施例提供的游戏枪在显示屏幕上瞄准位置的确定装置的结构示意图;
图5是本发明第四实施例提供的游戏枪在显示屏幕上瞄准位置的确定装置的结构示意图。
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供的游戏枪在显示屏幕上瞄准位置的确定方法,可应用于电视机或电脑等智能设备的显示器中运行射击游戏时,游戏枪在该显示器屏幕上的瞄准位置的确定。该显示器为LCD显示器或LED显示器。请参阅图1,图1为该确定方法的应用场景示意图。
双目摄像头102与智能设备101连接,具体可以通过USB线相连接,或者通过无线或除USB线之外的其他有线连接方式进行连接,此处不作具体限定。
在智能设备101中可设置有射击游戏模块,通过该射击游戏模块可运行射击游戏,收发在射击游戏过程中产生的与游戏相关的数据,包括双目摄像头102采集的与射击游戏必须的游戏枪103相关的数据。需要说明的是,该射击游戏模块也可以不设置在智能设备101中,而是设置在单独的游戏机中,在该游戏机中运行该射击游戏,游戏机与游戏枪相连接,且将游戏机与智能设备101相连接,实现在智能设备101的显示屏上显示游戏画面。图1中所示情景为在智能设备101中运行该射击游戏,游戏枪30直接与智能设备101相连接。
游戏枪30与智能设备10相连接,供用户操作形成对智能设备10的显示屏幕上游戏画面的射击动作。
请参阅图2,图2为本发明第一实施例提供的游戏枪在显示屏幕上瞄准位置的确定方法的实现流程示意图,可应用于图1所示的各设备中,主要包括以下步骤:
S201、当检测到双目摄像头接入时,按照预置的切换规则,控制该双目摄像头中的多色滤光片改变颜色,并控制该双目摄像头透过该多色滤光片获取显示屏的屏幕上的不同颜色的光点的图像,该不同颜色的光点由不同的游戏枪发射。
双目摄像头包括两个摄像头,该两个摄像头可以为深度摄像头(即3D传感摄像头),为了方便处理采集的图像,这两个摄像头往往参数相同。
在该双目摄像头中,设置一个多色滤光片和一个多色滤光片切换器。该多色滤光片具体为通电滤光片,在该切换器控制板的控制下,该多色滤光片可变换为不同的颜色,以过滤不同颜色的色。
该切换规则,规定该多色滤光片按照规定的切换频率和颜色顺序变换为不同的颜色,以使得与该多色滤光片当前颜色相同的光通过。例如,该多色滤光片为红、黄、蓝三色滤光片,该切换规则规定该多色滤光片要按照切换频率为60次/秒,颜色顺序为红、黄、蓝,则控制该多色滤光片从红光开始,按照每秒60次的频率,依次切换为红色、黄色、蓝色的滤光片,并按此规律循环切换。
智能设备控制该双目摄像头对屏幕采集图像,该双目摄像头透过该多色滤光片获取显示屏的屏幕上的不同颜色的光点的图像,该光点是游戏枪内光源发射的光线在显示器屏幕上形成的。当该多色滤光片为红色时,只能获取到红色光点的图像,当该多色滤光片为蓝色时,只能获取到蓝色光点的图像。该不同颜色的光点由不同的游戏枪内设置的光源发射的。因此,当该多色滤光片在变色的过程中,不断的获取到游戏枪发出的不同颜色的光点的图像。
S202、根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息。
在智能设备中预先设置有与该射击游戏支持的游戏枪的信息,其中包括游戏枪的光源形成的光点的信息,该光点的信息具体可包括每把游戏枪形成的光点的颜色、形状、数量的信息。具体地,一个射击游戏最多可支持3把游戏枪,该3把游戏枪在距离屏幕2米内有效,发出的光线在屏幕上形成的光点分为红、黄、蓝3种颜色,光点形状可以相同,均为圆形或正方形,形状也可以不同,分别为圆形、正方形、三角形。
根据预先设置的游戏枪的光点的颜色和形状,可确定该双目摄像头获取的图像中光点对应的当前多个游戏枪的身份标识信息,即,可确定游戏枪的身份标识信息与光点的对应关系,例如,红色圆形光点是ID为001的游戏枪发出的,蓝色正方形光点是ID为002的游戏枪发出的。
S203、根据获取的光点的图像以及预置的定位算法,确定该当前多个游戏枪在该屏幕上的瞄准位置。
具体地,可以根据获取的光点的图像、该双目摄像头的参数、该屏幕的屏显参数以及该双目摄像头与当前多个游戏枪之间的位置信息,分别确定当前多个游戏枪在屏幕上的瞄准位置。
该双目摄像头的参数包括:双目摄像头中两个摄像头的中心距,以及,每个摄像头的焦距。
该屏幕的屏显参数包括:屏幕的显示尺寸信息,包括屏幕的显示高度和宽度,即屏幕可显示的画面的高度和宽度。
该双目摄像头分别与当前多个游戏枪之间的位置可以通过预置算法计算得到。双目摄像头在定位过程中,两个摄像头在同一平面,并且光轴互相平行,将游戏枪的枪口发光处定为特征点,预置一些关于图像的预处理算法,比如二值化、边缘提取、特征点去噪等把两个摄像头同时获取的两个图像中的特征点提取、分割出来,从而完成对特征点的提取。进一步地,双目摄像头分别获取该特征点在两个摄像头上的坐标,根据摄像头之间的距离,可以得到该特征点在其中一个摄像头的坐标系中的坐标,即获取了游戏枪的位置。可以通过其除此之外的其他定位算法来获取游戏枪位置,此处不作限定。例如,在识别出一个游戏枪后,通过预置的立体匹配算法定位该游戏枪的位置。
根据获取的多个颜色的光点的图像、上述的该双目摄像头的参数、该屏幕的屏显参数以及该双目摄像头与当前多个游戏枪之间的位置信息,分别确定当前多个游戏枪在屏幕上的瞄准位置。
本发明实施例中,通过为双目摄像头增加可过滤多种光线颜色的多色滤光片,控制该多色滤光片变色,使得该双目摄像头可透过该多色滤光片识别多种不同颜色光源的游戏枪,以确定更多数量的游戏枪在显示屏幕的瞄准位置,提高确定瞄准位置的准确性,增加参与游戏的游戏枪的数量,实现只用一套双目摄像头支持多把游戏枪同时在游戏中使用。
请参阅图3,图3为本发明第二实施例提供的游戏枪在显示屏幕上瞄准位置的确定方法的实现流程示意图,可应用于图1所示的各设备中,主要包括以下步骤:
S301、当检测到双目摄像头接入时,按照预置的切换规则,控制该双目摄像头中的多色滤光片改变颜色,并控制该双目摄像头透过该多色滤光片获取显示屏的屏幕上的不同颜色的光点的图像,该不同颜色的光点由不同的游戏枪发射。
在该双目摄像头中,设置一个多色滤光片和一个多色滤光片切换器。该多色滤光片具体为通电滤光片,在该切换器控制板的控制下,该多色滤光片可变换为不同的颜色,以过滤不同颜色的色。
该切换规则,规定该多色滤光片按照规定的切换频率和颜色顺序变换为不同的颜色,以使得与该多色滤光片当前颜色相同的光通过。例如,该多色滤光片为红、黄、蓝三色滤光片,该切换规则规定该多色滤光片要按照切换频率为60次/秒,颜色顺序为红、黄、蓝,则控制该多色滤光片从红光开始,按照每秒60次的频率,依次切换为红色、黄色、蓝色的滤光片,并按此规律循环切换。
智能设备控制该双目摄像头对屏幕采集图像,该双目摄像头透过该多色滤光片获取显示屏的屏幕上的不同颜色的光点的图像,该光点是游戏枪内光源发射的光线在显示器屏幕上形成的。当该多色滤光片为红色时,只能获取到红色光点的图像,当该多色滤光片为蓝色时,只能获取到蓝色光点的图像。该不同颜色的光点由不同的游戏枪内设置的光源发射的。因此,当该多色滤光片在变色的过程中,不断的获取到游戏枪发出的不同颜色的光点的图像。
S302、根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息。
在智能设备中预先设置有与该射击游戏支持的游戏枪的信息,其中包括游戏枪的光源形成的光点的信息,该光点的信息具体可包括每把游戏枪形成的光点的颜色、形状、数量的信息。具体地,一个射击游戏最多可支持3把游戏枪,该3把游戏枪在距离屏幕2米内有效,发出的光线在屏幕上形成的光点分为红、黄、蓝3种颜色,光点形状可以相同,均为圆形或正方形,形状也可以不同,分别为圆形、正方形、三角形。
根据预先设置的游戏枪的光点的颜色和形状,可确定该双目摄像头获取的图像中光点对应的当前多个游戏枪的身份标识信息,即,可确定游戏枪的身份标识信息与光点的对应关系,例如,红色圆形光点是ID为001的游戏枪发出的,蓝色正方形光点是ID为002的游戏枪发出的。
进一步地,还可以根据预先设置的游戏枪的光点的数量,更快速地确定游戏枪的数量和身份标识信息。当确定的游戏枪的数量与该预先设置的游戏枪的光点的数量相同时,即停止对游戏枪的数量和身份标识信息的确认。
S303、判断当前多个游戏枪的数量是否少于该切换规则中规定的该多色滤光片改变颜色的数量;
若是,则执行步骤S304;若否,则执行步骤S306。
S304、根据当前多个游戏枪的数量,重新选择用于控制该双目摄像头中的多色滤光片变色的切换规则;
当前的多个游戏枪的光点的颜色,少于预置在系统中多色滤波片所能过滤的颜色时,例如,当前的游戏枪为2把,所形成的光点的颜色为红色和蓝色,而多色滤波片所能过滤的颜色为5种,那么,为了节约时间,加快速度,除了当前游戏枪光点的颜色之外的颜色不再过滤。
因此,需要重新选择不同的切换规则,重新选择后的切换规则中的颜色变化顺序与步骤S301中的切换规则相比,发生了变化,因为更少的光线颜色通过多色滤光片。重新选择的切换规则中的切换频率可以与步骤S301中切换规则中的切换频率相同,也可以不同,例如,重新选择的切换规则规定切换频率为80次/秒,颜色顺序变换顺序为红、蓝,则控制该多色滤光片从红光开始,按照每秒80次的频率,依次切换为红色、蓝色的滤光片,并按此规律循环切换。
S305、按照重新选择的切换规则,控制该双目摄像头中的多色滤光片变色,并控制该双目摄像头透过该多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像;
S306、根据获取的光点的图像、该双目摄像头的中心距和焦距,通过预置的图像识别算法利用双目测距原理,分别得到该当前多个游戏枪到该屏幕的距离以及该当前多个游戏枪的指向;
该双目摄像头的参数包括:双目摄像头中两个摄像头的中心距,以及,每个摄像头的焦距。
该双目摄像头分别与当前多个游戏枪之间的位置可以通过预置算法计算得到。
分别确定当前多个游戏枪在该屏幕上的瞄准位置后,将各个当前多个游戏枪的身份标识信息以及瞄准位置的对应关系发送给游戏模块,使得该游戏模块根据该对应关系运行该射击游戏。
通过预置的图像识别算法利用双目测距原理,分别得到该当前多个游戏枪到该屏幕的距离的具体内容,请参见图2所示实施例中步骤S203的内容,此处不再赘述。
S307、通过该双目摄像头获取该屏幕的显示尺寸,并根据该当前多个游戏枪到该屏幕的距离以及该多个游戏枪的指向,计算得到该当前多个游戏枪在该屏幕上的瞄准位置的坐标。
屏幕的显示尺寸信息,包括屏幕的显示高度和宽度,即屏幕可显示的画面的高度和宽度。
通过该双目摄像头获取该屏幕的显示尺寸,并根据该当前多个游戏枪到该屏幕的距离以及该多个游戏枪的指向,得到该当前多个游戏枪在该屏幕上的瞄准位置的坐标。
本发明实施例中,通过为双目摄像头增加可过滤多种光线颜色的多色滤光片,控制该多色滤光片变色,使得该双目摄像头可透过该多色滤光片识别多种不同颜色光源的游戏枪,以确定更多数量的游戏枪在显示屏幕的瞄准位置,提高确定瞄准位置的准确性,增加参与游戏的游戏枪的数量,实现只用一套双目摄像头支持多把游戏枪同时在游戏中使用。
请参阅图4,图4是本发明第三实施例提供的游戏枪在显示屏幕上瞄准位置的确定装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。图4示例的游戏枪在显示屏幕上瞄准位置的确定装置可以是前述图2和图3所示实施例提供的游戏枪在显示屏幕上瞄准位置的确定方法的执行主体,可以是智能设备或智能设备中的一个控制模块。图4示例的游戏枪在显示屏幕上瞄准位置的确定装置,主要包括:切换颜色模块401、获取图像模块402、第一确定模块403以及第二确定模块404。以上各功能模块详细说明如下:
其中,切换颜色模块401,用于当检测到双目摄像头接入时,按照预置的切换规则,控制该双目摄像头中的多色滤光片改变颜色。
双目摄像头包括两个摄像头,为了方便处理采集的图像,这两个摄像头往往参数相同。
在该双目摄像头中,设置一个多色滤光片和一个多色滤光片切换器。该多色滤光片具体为通电滤光片,在该切换器控制板的控制下,该多色滤光片可变换为不同的颜色,以过滤不同颜色的色。
该切换规则,规定该多色滤光片按照规定的切换频率和颜色顺序变换为不同的颜色,以使得与该多色滤光片当前颜色相同的光通过。例如,该多色滤光片为红、黄、蓝三色滤光片,该切换规则规定该多色滤光片要按照切换频率为60次/秒,颜色顺序为红、黄、蓝,则控制该多色滤光片从红光开始,按照每秒60次的频率,依次切换为红色、黄色、蓝色的滤光片,并按此规律循环切换。
获取图像模块402,用于控制该双目摄像头透过该多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像,不同颜色的光点由不同的游戏枪发射。
智能设备控制该双目摄像头对屏幕采集图像,该双目摄像头透过该多色滤光片获取显示屏的屏幕上的不同颜色的光点的图像,该光点是游戏枪内光源发射的光线在显示器屏幕上形成的。当该多色滤光片为红色时,只能获取到红色光点的图像,当该多色滤光片为蓝色时,只能获取到蓝色光点的图像。该不同颜色的光点由不同的游戏枪内设置的光源发射的。因此,当该多色滤光片在变色的过程中,不断的获取到游戏枪发出的不同颜色的光点的图像。
第一确定模块403,用于根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息。
在智能设备中预先设置有与该射击游戏支持的游戏枪的信息,其中包括游戏枪的光源形成的光点的信息,该光点的信息具体可包括每把游戏枪形成的光点的颜色、形状、数量的信息。具体地,一个射击游戏最多可支持3把游戏枪,该3把游戏枪在距离屏幕2米内有效,发出的光线在屏幕上形成的光点分为红、黄、蓝3种颜色,光点形状可以相同,均为圆形或正方形,形状也可以不同,分别为圆形、正方形、三角形。
根据预先设置的游戏枪的光点的颜色和形状,可确定该双目摄像头获取的图像中光点对应的当前多个游戏枪的身份标识信息,即,可确定游戏枪的身份标识信息与光点的对应关系,例如,红色圆形光点是ID为001的游戏枪发出的,蓝色正方形光点是ID为002的游戏枪发出的。
第二确定模块404,用于根据获取的光点的图像以及预置的定位算法,确定该当前多个游戏枪在该屏幕上的瞄准位置。
具体地,根据获取的光点的图像、该双目摄像头的参数、该屏幕的屏显参数以及该双目摄像头与该当前多个游戏枪之间的位置信息,分别确定当前多个游戏枪在所述屏幕上的瞄准位置。
该双目摄像头的参数包括:双目摄像头中两个摄像头的中心距,以及,每个摄像头的焦距。
该屏幕的屏显参数包括:屏幕的显示尺寸信息,包括屏幕的显示高度和宽度,即屏幕可显示的画面的高度和宽度。
该切换规则中规定的过滤颜色的顺序,是指从该多色滤光片可过滤光的起始颜色到本轮切换的终止颜色的顺序。
该双目摄像头分别与当前多个游戏枪之间的位置可以通过预置算法计算得到。双目摄像头在定位过程中,两个摄像头在同一平面,并且光轴互相平行,将游戏枪的枪口发光处定为特征点,预置一些关于图像的预处理算法,比如二值化、边缘提取、特征点去噪等把两个摄像头同时获取的两个图像中的特征点提取、分割出来,从而完成对特征点的提取。进一步地,双目摄像头分别获取该特征点在两个摄像头上的坐标,根据摄像头之间的距离,可以得到该特征点在其中一个摄像头的坐标系中的坐标,即获取了游戏枪的位置。可以通过其除此之外的其他定位算法来获取游戏枪位置,此处不作限定。例如,在识别出一个游戏枪后,通过预置的立体匹配算法定位该游戏枪的位置。
根据上述的该双目摄像头的参数、该屏幕的屏显参数、该切换规则中规定的过滤颜色的顺序以及该双目摄像头与当前多个游戏枪之间的位置信息,分别确定当前多个游戏枪在屏幕上的瞄准位置。
本实施例未尽之细节,请参阅前述图1至图3所示实施例的描述,此处不再赘述。
需要说明的是,以上图4示例的游戏枪在显示屏幕上瞄准位置的确定装置的实施方式中,各功能模块的划分仅是举例说明,实际应用中可以根据需要,例如相应硬件的配置要求或者软件的实现的便利考虑,而将上述功能分配由不同的功能模块完成,即将游戏枪在显示屏幕上瞄准位置的确定装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。而且,实际应用中,本实施例中的相应的功能模块可以是由相应的硬件实现,也可以由相应的硬件执行相应的软件完成。本说明书提供的各个实施例都可应用上述描述原则,以下不再赘述。
本发明实施例中,通过为双目摄像头增加可过滤多种光线颜色的多色滤光片,控制该多色滤光片变色,使得该双目摄像头可透过该多色滤光片识别多种不同颜色光源的游戏枪,以确定更多数量的游戏枪在显示屏幕的瞄准位置,提高确定瞄准位置的准确性,增加参与游戏的游戏枪的数量,实现只用一套双目摄像头支持多把游戏枪同时在游戏中使用。
请参阅图5,本发明第四实施例提供的游戏枪在显示屏幕上瞄准位置的确定装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。图5示例的游戏枪在显示屏幕上瞄准位置的确定装置可以是前述图2和图3所示实施例提供的游戏枪在显示屏幕上瞄准位置的确定方法的执行主体,如智能设备或智能设备中的一个控制模块。图5示例的游戏枪在显示屏幕上瞄准位置的确定装置,主要包括:切换颜色模块501、获取图像模块502、第一确定模块503、第二确定模块504、选择规则模块505以及判断模块506。以上各功能模块详细说明如下:
其中,切换颜色模块501,用于当检测到双目摄像头接入时,按照预置的切换规则,控制该双目摄像头中的多色滤光片改变颜色。
双目摄像头包括两个摄像头,为了方便处理采集的图像,这两个摄像头往往参数相同。
在该双目摄像头中,设置一个多色滤光片和一个多色滤光片切换器。该多色滤光片具体为通电滤光片,在该切换器控制板的控制下,该多色滤光片可变换为不同的颜色,以过滤不同颜色的色。
该切换规则,规定该多色滤光片按照规定的切换频率和颜色顺序变换为不同的颜色,以使得与该多色滤光片当前颜色相同的光通过。例如,该多色滤光片为红、黄、蓝三色滤光片,该切换规则规定该多色滤光片要按照切换频率为60次/秒,颜色顺序为红、黄、蓝,则控制该多色滤光片从红光开始,按照每秒60次的频率,依次切换为红色、黄色、蓝色的滤光片,并按此规律循环切换。
获取图像模块502,用于控制该双目摄像头透过该多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像,不同颜色的光点由不同的游戏枪发射。
智能设备控制该双目摄像头对屏幕采集图像,该双目摄像头透过该多色滤光片获取显示屏的屏幕上的不同颜色的光点的图像,该光点是游戏枪内光源发射的光线在显示器屏幕上形成的。当该多色滤光片为红色时,只能获取到红色光点的图像,当该多色滤光片为蓝色时,只能获取到蓝色光点的图像。该不同颜色的光点由不同的游戏枪内设置的光源发射的。因此,当该多色滤光片在变色的过程中,不断的获取到游戏枪发出的不同颜色的光点的图像。
第一确定模块503,用于根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息。
在智能设备中预先设置有与该射击游戏支持的游戏枪的信息,其中包括游戏枪的光源形成的光点的信息,该光点的信息具体可包括每把游戏枪形成的光点的颜色、形状、数量的信息。具体地,一个射击游戏最多可支持3把游戏枪,该3把游戏枪在距离屏幕2米内有效,发出的光线在屏幕上形成的光点分为红、黄、蓝3种颜色,光点形状可以相同,均为圆形或正方形,形状也可以不同,分别为圆形、正方形、三角形。
根据预先设置的游戏枪的光点的颜色和形状,可确定该双目摄像头获取的图像中光点对应的当前多个游戏枪的身份标识信息,即,可确定游戏枪的身份标识信息与光点的对应关系,例如,红色圆形光点是ID为001的游戏枪发出的,蓝色正方形光点是ID为002的游戏枪发出的。
第二确定模块504,用于根据获取的光点的图像、该双目摄像头的参数、该屏幕的屏显参数以及该双目摄像头与该当前多个游戏枪之间的位置信息,分别确定当前多个游戏枪在该屏幕上的瞄准位置。
该双目摄像头的参数包括:双目摄像头中两个摄像头的中心距,以及,每个摄像头的焦距。
该屏幕的屏显参数包括:屏幕的显示尺寸信息,包括屏幕的显示高度和宽度,即屏幕可显示的画面的高度和宽度。
该双目摄像头分别与当前多个游戏枪之间的位置可以通过预置算法计算得到。双目摄像头在定位过程中,两个摄像头在同一平面,并且光轴互相平行,将游戏枪的枪口发光处定为特征点,预置一些关于图像的预处理算法,比如二值化、边缘提取、特征点去噪等把两个摄像头同时获取的两个图像中的特征点提取、分割出来,从而完成对特征点的提取。进一步地,双目摄像头分别获取该特征点在两个摄像头上的坐标,根据摄像头之间的距离,可以得到该特征点在其中一个摄像头的坐标系中的坐标,即获取了游戏枪的位置。可以通过其除此之外的其他定位算法来获取游戏枪位置,此处不作限定。例如,在识别出一个游戏枪后,通过预置的立体匹配算法定位该游戏枪的位置。
根据上述的该双目摄像头的参数、该屏幕的屏显参数、该切换规则中规定的过滤颜色的顺序以及该双目摄像头与当前多个游戏枪之间的位置信息,分别确定当前多个游戏枪在屏幕上的瞄准位置。
进一步地,该装置还包括:选择规则模块505。
选择规则模块505,用于根据当前多个游戏枪的数量,重新选择用于控制该双目摄像头中的多色滤光片变色的切换规则。
当前的多个游戏枪的光点的颜色,少于预置在系统中多色滤波片所能过滤的颜色时,例如,当前的游戏枪为2把,所形成的光点的颜色为红色和蓝色,而多色滤波片所能过滤的颜色为5种,那么,为了节约时间,加快速度,除了当前游戏枪光点的颜色之外的颜色不再过滤。
因此,需要重新选择不同的切换规则,重新选择后的切换规则中的颜色变化顺序发生了变化,因为更少的光线颜色通过多色滤光片。重新选择的切换规则中的切换频率可以不变,也可以改变,例如,重新选择的切换规则规定切换频率为80次/秒,颜色顺序变换顺序为红、蓝,则控制该多色滤光片从红光开始,按照每秒80次的频率,依次切换为红色、蓝色的滤光片,并按此规律循环切换。
切换颜色模块501,还用于按照重新选择的切换规则,控制该双目摄像头中的多色滤光片变色。
获取图像模块502,还用于控制该双目摄像头透过该多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像。
进一步地,该装置还包括:
判断模块506,用于判断当前多个游戏枪的数量,是否少于该切换规则中规定的该多色滤光片改变颜色的数量。
若判断结果为当前多个游戏枪的数量少于该切换规则中规定的该多色滤光片改变颜色的数量,则选择规则模块505根据当前多个游戏枪的数量,重新选择用于控制该双目摄像头中的多色滤光片变色的切换规则。
进一步地,第二确定模块504,具体根据获取的光点的图像、该双目摄像头的中心距和焦距,通过预置的图像识别算法利用双目测距原理,分别得到该当前多个游戏枪到该屏幕的距离以及该当前多个游戏枪的指向,以及通过该双目摄像头获取该屏幕的显示尺寸,并根据该当前多个游戏枪到该屏幕的距离以及该多个游戏枪的指向,计算得到该当前多个游戏枪在该屏幕上的瞄准位置的坐标。
另一方面,若判断结果为当前多个游戏枪的数量等于或大于该切换规则中规定的该多色滤光片改变颜色的数量,则第二确定模块504根据该双目摄像头的参数、该屏幕的屏显参数、该切换规则中规定的过滤颜色的顺序以及该双目摄像头与当前多个游戏枪之间的位置信息,分别确定当前多个游戏枪在屏幕上的瞄准位置。
进一步地,第一确定模块503,还用于根据预先设置的游戏枪的光点的颜色、形状以及光点的数量,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息。
本实施例未尽之细节,请参阅前述图1至图4所示实施例的描述,此处不再赘述。
本发明实施例中,通过为双目摄像头增加可过滤多种光线颜色的多色滤光片,控制该多色滤光片变色,使得该双目摄像头可透过该多色滤光片识别多种不同颜色光源的游戏枪,以确定更多数量的游戏枪在显示屏幕的瞄准位置,提高确定瞄准位置的准确性,增加参与游戏的游戏枪的数量,实现只用一套双目摄像头支持多把游戏枪同时在游戏中使用。
本发明实施例提供一种游戏枪在显示屏幕上的瞄准位置的确定装置,该装置包括:一个或者多个处理器;
存储器;
一个或者多个程序,该一个或者多个程序存储在该存储器中,当被该一个或者多个处理器执行时:
当检测到双目摄像头接入时,按照预置的切换规则,控制该双目摄像头中的多色滤光片改变颜色,并控制该双目摄像头透过该多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像,该不同颜色的光点由不同的游戏枪发射,根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息,根据获取的光点的图像以及预置的定位算法,确定该当前多个游戏枪在该屏幕上的瞄准位置。
本发明实施例的未尽描述细节,请参见前述各实施例的描述。
在本申请所提供的多个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信链接可以是通过一些接口,装置或模块的间接耦合或通信链接,可以是电性,机械或其它的形式。
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only
Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。
以上为对本发明所提供的游戏枪在显示屏幕上瞄准位置的确定方法及装置的描述,对于本领域的技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。
Claims (11)
- 一种游戏枪在显示屏幕上的瞄准位置的确定方法,其特征在于,所述方法包括:当检测到双目摄像头接入时,按照预置的切换规则,控制所述双目摄像头中的多色滤光片改变颜色,并控制所述双目摄像头透过所述多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像,所述不同颜色的光点由不同的游戏枪发射;根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息;根据获取的光点的图像以及预置的定位算法,确定所述当前多个游戏枪在所述屏幕上的瞄准位置。
- 根据权利要求1所述的方法,其特征在于,所述确定获取的图像中光点对应的当前多个游戏枪的身份标识信息之后还包括:根据所述当前多个游戏枪的数量,重新选择用于控制所述双目摄像头中的多色滤光片变色的切换规则;则,所述按照预置的切换规则,控制所述双目摄像头中的多色滤光片改变颜色包括:按照重新选择的切换规则,控制所述双目摄像头中的多色滤光片变色。
- 根据权利要求2所述的方法,其特征在于,所述根据所述当前多个游戏枪的数量,重新选择用于控制所述双目摄像头中的多色滤光片变色的切换规则之前还包括:判断所述当前多个游戏枪的数量,是否少于所述切换规则中规定的所述多色滤光片改变颜色的数量;若是,则执行根据所述当前多个游戏枪的数量,重新选择用于控制所述双目摄像头中的多色滤光片变色的切换规则的步骤;若否,则执行根据所述双目摄像头的参数、所述屏幕的屏显参数、所述切换规则中规定的过滤颜色的顺序以及所述双目摄像头与所述当前多个游戏枪之间的位置信息,分别确定所述当前多个游戏枪在所述屏幕上的瞄准位置的步骤。
- 根据权利要求1所述的方法,其特征在于,根据获取的光点的图像以及预置的定位算法,确定所述当前多个游戏枪在所述屏幕上的瞄准位置包括:根据获取的光点的图像、所述双目摄像头的中心距和焦距,通过预置的图像识别算法利用双目测距原理,分别得到所述当前多个游戏枪到所述屏幕的距离以及所述当前多个游戏枪的指向;通过所述双目摄像头获取所述屏幕的显示尺寸,并根据所述当前多个游戏枪到所述屏幕的距离以及所述多个游戏枪的指向,计算得到所述当前多个游戏枪在所述屏幕上的瞄准位置的坐标。
- 根据权利要求1所述的方法,其特征在于,所述根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息还包括:根据预先设置的游戏枪的光点的颜色、形状以及光点的数量,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息。
- 一种游戏枪在显示屏幕上瞄准位置的确定装置,其特征在于,所述装置包括:切换颜色模块,用于当检测到双目摄像头接入时,按照预置的切换规则,控制所述双目摄像头中的多色滤光片改变颜色;获取图像模块,用于控制所述双目摄像头透过所述多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像,所述不同颜色的光点由不同的游戏枪发射;第一确定模块,用于根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息;第二确定模块,用于根据获取的光点的图像以及预置的定位算法,确定所述当前多个游戏枪在所述屏幕上的瞄准位置。
- 根据权利要求6所述的装置,其特征在于,所述装置还包括:选择规则模块,用于根据所述当前多个游戏枪的数量,重新选择用于控制所述双目摄像头中的多色滤光片变色的切换规则;所述切换颜色模块,还用于按照重新选择的切换规则,控制所述双目摄像头中的多色滤光片变色;所述获取图像模块,还用于控制所述双目摄像头透过所述多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像。
- 根据权利要求6或7所述的装置,其特征在于,所述装置还包括:判断模块,用于判断所述当前多个游戏枪的数量,是否少于所述切换规则中规定的所述多色滤光片改变颜色的数量。
- 根据权利要求8所述的装置,其特征在于,所述第二确定模块,具体用于根据获取的光点的图像、所述双目摄像头的中心距和焦距,通过预置的图像识别算法利用双目测距原理,分别得到所述当前多个游戏枪到所述屏幕的距离以及所述当前多个游戏枪的指向,以及通过所述双目摄像头获取所述屏幕的显示尺寸,并根据所述当前多个游戏枪到所述屏幕的距离以及所述多个游戏枪的指向,计算得到所述当前多个游戏枪在所述屏幕上的瞄准位置的坐标。
- 根据权利要求9所述的装置,其特征在于,所述第一确定模块,还用于根据预先设置的游戏枪的光点的颜色、形状以及光点的数量,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息。
- 一种游戏枪在显示屏幕上的瞄准位置的确定装置,其特征在于,所述装置包括:一个或者多个处理器;存储器;一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:当检测到双目摄像头接入时,按照预置的切换规则,控制所述双目摄像头中的多色滤光片改变颜色,并控制所述双目摄像头透过所述多色滤光片,分时获取显示屏的屏幕上不同颜色的光点的图像,所述不同颜色的光点由不同的游戏枪发射;根据预先设置的游戏枪的光点的颜色和形状,确定获取的图像中光点对应的当前多个游戏枪的身份标识信息;根据获取的光点的图像以及预置的定位算法,确定所述当前多个游戏枪在所述屏幕上的瞄准位置。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/225,655 US20170282057A1 (en) | 2016-03-30 | 2016-08-01 | Method and electronic device for determining homing position of game gun on display screen |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610193202.1 | 2016-03-30 | ||
| CN201610193202.1A CN105844199A (zh) | 2016-03-30 | 2016-03-30 | 游戏枪在显示屏幕上瞄准位置的确定方法及装置 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/225,655 Continuation US20170282057A1 (en) | 2016-03-30 | 2016-08-01 | Method and electronic device for determining homing position of game gun on display screen |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017166478A1 true WO2017166478A1 (zh) | 2017-10-05 |
Family
ID=56584424
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/088680 Ceased WO2017166478A1 (zh) | 2016-03-30 | 2016-07-05 | 游戏枪在显示屏幕上瞄准位置的确定方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105844199A (zh) |
| WO (1) | WO2017166478A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116963359A (zh) * | 2023-08-01 | 2023-10-27 | 深圳泰德激光技术股份有限公司 | 光源切换方法、装置、设备及计算机可读存储介质 |
| CN118799783A (zh) * | 2024-07-02 | 2024-10-18 | 广州雄之业动漫科技有限公司 | 一种模拟射击游戏机中光点坐标图像处理方法及系统 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107300378A (zh) * | 2017-05-23 | 2017-10-27 | 北京小鸟看看科技有限公司 | 一种定位物体的身份识别方法、装置和系统 |
| CN110542419A (zh) * | 2019-08-16 | 2019-12-06 | 中国电子科技集团公司电子科学研究院 | 基于可见光的室内定位方法、装置、电子设备和存储介质 |
| CN117462939A (zh) * | 2022-07-21 | 2024-01-30 | 华为技术有限公司 | 定位方法、系统及电子设备 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6663391B1 (en) * | 1999-08-26 | 2003-12-16 | Namco Ltd. | Spotlighted position detection system and simulator |
| CN1702423A (zh) * | 2005-05-23 | 2005-11-30 | 中国人民解放军总参谋部第六十研究所 | 热成像型互动射击训练系统 |
| CN102935288A (zh) * | 2012-10-31 | 2013-02-20 | 深圳市德力信科技有限公司 | 一种人机互动游戏实现装置及方法 |
| CN103239859A (zh) * | 2013-04-29 | 2013-08-14 | 王鹏勃 | 一种激光枪游戏系统 |
| CN104707333A (zh) * | 2015-03-20 | 2015-06-17 | 深圳华侨城文化旅游科技有限公司 | 根据不同波长识别射击点的系统及其方法 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002015312A (ja) * | 2000-06-30 | 2002-01-18 | Toshiba Corp | 情報取得方法、情報取得装置および文字認識装置 |
| CN1952851A (zh) * | 2006-10-13 | 2007-04-25 | 广东威创日新电子有限公司 | 一种实现交互显示的电子装置和方法 |
| JP5168245B2 (ja) * | 2009-07-28 | 2013-03-21 | 株式会社デンソーウェーブ | 光学的情報読取装置 |
| CN202120235U (zh) * | 2011-05-27 | 2012-01-18 | 西安肯琰优动漫科技有限公司 | 基于lcd、投影仪的多点光枪控制装置 |
| CN104121892B (zh) * | 2014-07-09 | 2017-01-25 | 深圳市欢创科技有限公司 | 一种获取光枪射击的目标位置的方法、装置及系统 |
-
2016
- 2016-03-30 CN CN201610193202.1A patent/CN105844199A/zh active Pending
- 2016-07-05 WO PCT/CN2016/088680 patent/WO2017166478A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6663391B1 (en) * | 1999-08-26 | 2003-12-16 | Namco Ltd. | Spotlighted position detection system and simulator |
| CN1702423A (zh) * | 2005-05-23 | 2005-11-30 | 中国人民解放军总参谋部第六十研究所 | 热成像型互动射击训练系统 |
| CN102935288A (zh) * | 2012-10-31 | 2013-02-20 | 深圳市德力信科技有限公司 | 一种人机互动游戏实现装置及方法 |
| CN103239859A (zh) * | 2013-04-29 | 2013-08-14 | 王鹏勃 | 一种激光枪游戏系统 |
| CN104707333A (zh) * | 2015-03-20 | 2015-06-17 | 深圳华侨城文化旅游科技有限公司 | 根据不同波长识别射击点的系统及其方法 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116963359A (zh) * | 2023-08-01 | 2023-10-27 | 深圳泰德激光技术股份有限公司 | 光源切换方法、装置、设备及计算机可读存储介质 |
| CN118799783A (zh) * | 2024-07-02 | 2024-10-18 | 广州雄之业动漫科技有限公司 | 一种模拟射击游戏机中光点坐标图像处理方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105844199A (zh) | 2016-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017166478A1 (zh) | 游戏枪在显示屏幕上瞄准位置的确定方法及装置 | |
| WO2014035127A1 (en) | Apparatus for generating depth image | |
| WO2017078356A1 (ko) | 디스플레이 장치 및 그의 영상 표시 방법 | |
| WO2020004735A1 (ko) | 응원용 발광장치를 이용한 공연장에서의 공연연출 방법 및 이를 이용한 공연연출 시스템 | |
| WO2019225880A1 (en) | Semi-dense depth estimation from a dynamic vision sensor (dvs) stereo pair and a pulsed speckle pattern projector | |
| WO2020153568A1 (en) | Electronic apparatus and control method thereof | |
| WO2017069396A1 (ko) | 가상 객체의 충돌 체크에 의한 반응형 증강현실 카드 게임의 데이터 처리 방법 및 반응형 증강현실 카드 게임 플레이 장치 | |
| WO2016085110A1 (ko) | 조명 시스템 및 조명 장치 등록방법 | |
| WO2022145888A1 (ko) | 증강 현실 장치를 제어하는 방법 및 이를 수행하는 증강 현실 장치 | |
| WO2017113689A1 (zh) | 虚拟现实系统中的空间定位方法、装置及系统 | |
| WO2013089490A1 (ko) | 디스플레이 장치와 연동하는 촉감 제공 장치 및 방법 | |
| WO2014178509A1 (en) | Multi-projection system for extending visual element of main image | |
| WO2021133025A1 (en) | Electronic device comprising image sensor and method of operation thereof | |
| WO2020262856A1 (ko) | 공연연출시스템 | |
| WO2018182066A1 (ko) | 이미지에 동적 효과를 적용하는 방법 및 장치 | |
| WO2013094820A1 (ko) | 체감형 학습 장치 및 방법 | |
| WO2016086380A1 (zh) | 一种物体检测方法、装置及遥控移动设备、飞行器 | |
| CN101520326A (zh) | 一种利用不同颜色顺序发光体非接触式定位装置 | |
| WO2021225333A1 (ko) | 증강 현실 서비스를 제공하기 위한 전자 장치 및 그의 동작 방법 | |
| WO2020213784A1 (ko) | 운동 유도를 위한 스포츠 인터렉티브 컨텐츠 실행 시스템 | |
| WO2012005499A2 (ko) | 아바타 생성 방법 및 장치 | |
| WO2014073939A1 (en) | Method and apparatus for capturing and displaying an image | |
| WO2011071313A2 (ko) | 텍스쳐 영상과 깊이 영상을 추출하는 장치 및 방법 | |
| WO2017034323A1 (ko) | 적응적으로 저조도를 개선하는 영상 처리 장치 및 방법, 그리고 그를 이용한 객체 검출 장치 | |
| WO2017086522A1 (ko) | 배경스크린이 필요 없는 크로마키 영상 합성 방법 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16896251 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16896251 Country of ref document: EP Kind code of ref document: A1 |