# US 2017/0282057 A1 · Method and electronic device for determining homing position of game gun on display screen

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0282057 A1
- Document ID: US20170282057A1
- Status: Published application
- Kind: A1
- Application number: 15/225,655
- Filed: 2016-08-01
- Published: 2017-10-05
- Earliest claimed: 2016-03-30
- Assignees: Le Holdings (Beijing) Co., Ltd.; Le Shi Zhi Xin Electronic Technology (Tianjin) Limited
- Applicants: Le Holdings (Beijing) Co., Ltd.; Le Shi Zhi Xin Electronic Technology (Tianjin) Limited
- Inventors: Xuan Shi
- Web page: https://patentgrep.com/patent/US20170282057A1

## CPC

- A63F 13/219: for aiming at specific areas on the display, e.g. light-guns
- A63F 13/22: Setup operations, e.g. calibration, key configuration or button assignment
- A63F 13/837: Shooting of targets
- G06K 7/12: using a selected wavelength, e.g. to sense red marks and ignore blue marks
- A63F 2300/1087: comprising photodetecting means, e.g. a camera
- A63F 2300/8076: Shooting
- A63F: CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS

## Abstract

Disclosed are a method and an electronic device for determining a homing position of a game gun on a display screen. The method includes: when detecting that a binocular camera accesses, a multicolor filter in the binocular camera is controlled to change colors, the binocular camera is controlled to acquire images of different colors of light spots on a screen of a display screen; identifier information of a plurality of current game guns corresponding to the light spots in the acquired images are determined; and homing positions of the plurality of current game guns on the screen are respectively determined according to the acquired images of the light spots, parameters of the binocular camera, a screen display parameter of the screen and position information between the camera and the plurality of current game guns.

## Claims

### Claim 1

A method for determining a homing position of a game gun on a display screen, which is applied to a display of a smart device, comprising:
when detecting that a binocular camera accesses, controlling a multicolor filter in the binocular camera to change colors in accordance with a preset switching rule, and controlling the binocular camera to acquire images of different colors of light spots on a screen of a display screen through the multicolor filter in a time-sharing manner, wherein different colors of the light spots are emitted by different game guns;
determining identifier information of a plurality of current game guns corresponding to the light spots in the acquired images according to preset colors and shapes of the light spots of the game guns; and
determining homing positions of the plurality of current game guns on the screen according to the acquired images of the light spots and a preset positioning algorithm.

### Claim 2 (depends on 1)

The method according to claim 1, wherein: after the determining identifier information of a plurality of current game guns corresponding to the light spots in the acquired images, the method further comprising:
re-selecting a switching rule used for controlling color changing of the multicolor filter in the binocular camera according to the number of the plurality of current game guns;
then the controlling a multicolor filter in the binocular camera to change colors in accordance with a preset switching rule comprises:
controlling color changing of the multicolor filter in the binocular camera according to the re-selected switching rule.

### Claim 3 (depends on 2)

The method according to claim 2, wherein: before the re-selecting a switching rule used for controlling color changing of the multicolor filter in the binocular camera according to the number of the plurality of current game guns, the method further comprising:
determining whether the number of the plurality of current game guns is less than that of colors changed by the multicolor filter specified in the switching rule;
if yes, executing the step of re-selecting a switching rule used for controlling color changing of the multicolor filter in the binocular camera according to the number of the plurality of current game guns; and
if not, executing a step of respectively determining homing positions of the plurality of current game guns on the screen according to parameters of the binocular camera, a screen display parameter of the screen, a color filtering order specified in the switching rule as well as position information between the camera and the plurality of current game guns.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the determining homing positions of the plurality of current game guns on the screen according to the acquired images of the light spots and a preset positioning algorithm comprises:
respectively obtaining distances between the plurality of current game guns and the screen as well as orientations of the plurality of current game guns by using a binocular distance measuring principle through a preset image recognition algorithm according to the acquired images of the light spots as well as a center distance and focal lengths of the binocular camera; and
obtaining a display size of the screen by the binocular camera, and calculating coordinates of the homing positions of the plurality of current game guns on the screen according to the distances between the plurality of current game guns and the screen as well as the orientations of the plurality of game guns.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the determining identifier information of a plurality of current game guns corresponding to the light spots in the acquired images according to preset colors and shapes of the light spots of the game guns comprises:
determining identifier information of a plurality of current game guns corresponding to the light spots in the acquired images according to preset colors and shapes of the light spots of the game guns as well as the number of the light spots.

### Claim 6

An electronic device for determining a homing position of a game gun on a display screen, comprising:
one or more processors; and
a memory; wherein,
the memory is stored with instructions executable by the one or more processors, the instructions are configured to:
when detecting that a binocular camera accesses, control a multicolor filter in the binocular camera to change colors in accordance with a preset switching rule, and control the binocular camera to acquire images of different colors of light spots on a screen of a display screen through the multicolor filter in a time-sharing manner, wherein different colors of the light spots are emitted by different game guns;
determine identifier information of a plurality of current game guns corresponding to the light spots in the acquired images according to preset colors and shapes of the light spots of the game guns; and
determine homing positions of the plurality of current game guns on the screen according to the acquired images of the light spots and a preset positioning algorithm.

### Claim 7 (depends on 6)

The electronic device according to claim 6, wherein: after the determine identifier information of a plurality of current game guns corresponding to the light spots in the acquired images, the electronic device further comprising:
re-select a switching rule used for controlling color changing of the multicolor filter in the binocular camera according to the number of the plurality of current game guns;
then the control a multicolor filter in the binocular camera to change colors in accordance with a preset switching rule comprises:
control color changing of the multicolor filter in the binocular camera according to the re-selected switching rule.

### Claim 8 (depends on 7)

The electronic device according to claim 7, wherein: before the re-select a switching rule used for controlling color changing of the multicolor filter in the binocular camera according to the number of the plurality of current game guns, the electronic device further comprising:
determine whether the number of the plurality of current game guns is less than that of colors changed by the multicolor filter specified in the switching rule;
if yes, execute the step of re-select a switching rule used for controlling color changing of the multicolor filter in the binocular camera according to the number of the plurality of current game guns; and
if not, execute a step of respectively determine homing positions of the plurality of current game guns on the screen according to parameters of the binocular camera, a screen display parameter of the screen, a color filtering order specified in the switching rule as well as position information between the camera and the plurality of current game guns.

### Claim 9 (depends on 6)

The electronic device according to claim 6, wherein the determine homing positions of the plurality of current game guns on the screen according to the acquired images of the light spots and a preset positioning algorithm comprises:
respectively obtain distances between the plurality of current game guns and the screen as well as orientations of the plurality of current game guns by using a binocular distance measuring principle through a preset image recognition algorithm according to the acquired images of the light spots as well as a center distance and focal lengths of the binocular camera; and
obtain a display size of the screen by the binocular camera, and calculating coordinates of the homing positions of the plurality of current game guns on the screen according to the distances between the plurality of current game guns and the screen as well as the orientations of the plurality of game guns.

### Claim 10 (depends on 6)

The electronic device according to claim 6, wherein the determine identifier information of a plurality of current game guns corresponding to the light spots in the acquired images according to preset colors and shapes of the light spots of the game guns comprises:
determine identifier information of a plurality of current game guns corresponding to the light spots in the acquired images according to preset colors and shapes of the light spots of the game guns as well as the number of the light spots.

### Claim 11

A nonvolatile computer storage media, which has computer executable instructions stored thereon, wherein the computer executable instructions are configured to:
when detecting that a binocular camera accesses, control a multicolor filter in the binocular camera to change colors in accordance with a preset switching rule, and control the binocular camera to acquire images of different colors of light spots on a screen of a display screen through the multicolor filter in a time-sharing manner, wherein different colors of the light spots are emitted by different game guns;
determine identifier information of a plurality of current game guns corresponding to the light spots in the acquired images according to preset colors and shapes of the light spots of the game guns; and
determine homing positions of the plurality of current game guns on the screen according to the acquired images of the light spots and a preset positioning algorithm.

### Claim 12 (depends on 11)

The nonvolatile computer storage media according to claim 11, wherein: after the determine identifier information of a plurality of current game guns corresponding to the light spots in the acquired images, the nonvolatile computer storage media further comprising:
re-select a switching rule used for controlling color changing of the multicolor filter in the binocular camera according to the number of the plurality of current game guns;
then the control a multicolor filter in the binocular camera to change colors in accordance with a preset switching rule comprises:
control color changing of the multicolor filter in the binocular camera according to the re-selected switching rule.

### Claim 13 (depends on 12)

The nonvolatile computer storage media according to claim 12, wherein: before the re-select a switching rule used for controlling color changing of the multicolor filter in the binocular camera according to the number of the plurality of current game guns, the nonvolatile computer storage media further comprising:
determine whether the number of the plurality of current game guns is less than that of colors changed by the multicolor filter specified in the switching rule;
if yes, execute the step of re-select a switching rule used for controlling color changing of the multicolor filter in the binocular camera according to the number of the plurality of current game guns; and
if not, execute a step of respectively determine homing positions of the plurality of current game guns on the screen according to parameters of the binocular camera, a screen display parameter of the screen, a color filtering order specified in the switching rule as well as position information between the camera and the plurality of current game guns.

### Claim 14 (depends on 11)

The nonvolatile computer storage media according to claim 11, wherein the determine homing positions of the plurality of current game guns on the screen according to the acquired images of the light spots and a preset positioning algorithm comprises:
respectively obtain distances between the plurality of current game guns and the screen as well as orientations of the plurality of current game guns by using a binocular distance measuring principle through a preset image recognition algorithm according to the acquired images of the light spots as well as a center distance and focal lengths of the binocular camera; and
obtain a display size of the screen by the binocular camera, and calculating coordinates of the homing positions of the plurality of current game guns on the screen according to the distances between the plurality of current game guns and the screen as well as the orientations of the plurality of game guns.

### Claim 15 (depends on 11)

The nonvolatile computer storage media according to claim 11, wherein the determine identifier information of a plurality of current game guns corresponding to the light spots in the acquired images according to preset colors and shapes of the light spots of the game guns comprises:
determine identifier information of a plurality of current game guns corresponding to the light spots in the acquired images according to preset colors and shapes of the light spots of the game guns as well as the number of the light spots.
