SUMMERY OF THE UTILITY MODEL
An object of the utility model is to solve one of the technical problem that exists among the prior art at least, provide a recreational apparatus, gather the image that the cursor reflects and come the accurate cursor position that obtains, equipment constitutes the structure simpler.
The utility model adopts the technical proposal that:
the utility model provides a recreational apparatus, includes at least one cursor emission module, camera module and host system, host system respectively with cursor emission module and camera module electric connection.
The camera module further comprises a light filtering component, and the light filtering component is arranged in front of the acquisition end of the camera module.
The device also comprises a trigger component which is in one-to-one correspondence with the cursor transmitting module and can generate a trigger signal, and the trigger component is electrically connected with the main control module.
The display device further comprises a display module, and the main control module is electrically connected with the display module.
The display module is a display screen or a projector.
One of the above technical solutions has at least one of the following advantages or beneficial effects:
the utility model discloses recreational apparatus comprises camera module and cursor emission module, camera module acquires the image information in the place ahead, cursor emission module transmits the cursor ray of setting for the spectral value towards camera module's the place ahead article, the cursor ray can be gathered by camera module through article reflection, main control module can learn the position of cursor in image information, this design can acquire the position that the cursor ray shines in the place ahead through simple image identification, the structure is simpler, and can flexibly use in various devices and places;
the display module displays an image interface, the cursor ray can irradiate on the image interface, the camera module acquires an image of the image interface, and the main control module can know the position of the cursor ray on the image interface and further can display the position of the cursor ray which can not be seen by naked eyes in the image interface by using an icon;
adopt camera module and cursor emission module, cursor emission module can simulate the laser gun, and camera module gathers image information and the cursor ray through the article reflection, and master control module analyzes the position of cursor ray in image information to learn cursor emission module's shooting position, cooperation recreation development is used, simple structure, and the operation is quick, and the analysis is accurate.
Detailed Description
This section will describe in detail the embodiments of the present invention, preferred embodiments of the present invention are shown in the attached drawings, which are used to supplement the description of the text part of the specification with figures, so that one can intuitively and vividly understand each technical feature and the whole technical solution of the present invention, but they cannot be understood as the limitation of the protection scope of the present invention.
In the description of the present invention, it should be understood that the orientation or positional relationship indicated with respect to the orientation description, such as up, down, front, rear, left, right, etc., is based on the orientation or positional relationship shown in the drawings, and is only for convenience of description and simplification of description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
In the description of the present invention, a plurality of means are one or more, a plurality of means are two or more, and the terms greater than, less than, exceeding, etc. are understood as not including the number, and the terms greater than, less than, within, etc. are understood as including the number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless there is an explicit limitation, the words such as setting, installation, connection, etc. should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above words in combination with the specific contents of the technical solution.
Referring to fig. 1 to 2, an amusement machine includes at least one cursor emitting module 1, a camera module 2 and a main control module 3, wherein the main control module 3 is electrically connected to the cursor emitting module 1 and the camera module 2, respectively.
In some embodiments, the cursor emitting module 1 is a laser emitter, the shape of the cursor camera projection emitted by the laser emitter may be a laser point or a cross cursor, and the laser emitter may set a spectral value, a wavelength, a frequency, and the like, while in a preferred embodiment of the present design, the laser emitter emits invisible light;
the main control module 3 can be a CPU or MCU and peripheral circuits such as an analog-to-digital conversion circuit, a power supply circuit, a display drive circuit, a laser drive circuit, etc.;
constitute by camera module 2 and cursor emission module 1, camera module 2 acquires the image information in the place ahead, cursor emission module 1 emits the cursor ray of setting for the spectral value towards camera module 2's the place ahead article, the cursor ray is through the article reflection, can be gathered by camera module 2, through the analysis contrast of image, host system 3 can learn the position of cursor in image information, this design can acquire the position that the cursor ray shines in the place ahead through simple image recognition, the structure is simpler, and can apply in various devices and places in a flexible way.
In some embodiments, the display module 4 is further included, the main control module 3 is electrically connected to the display module 4, and the display module 4 may be a display screen or a projector.
The display module 4 can present an image interface, the cursor ray can be irradiated on the image interface, the camera module 2 acquires an image of the image interface, the main control module 3 can know the position of the cursor ray on the image interface, and further can present the position of the cursor ray which may not be visible to naked eyes by using an icon in the image interface.
In some embodiments, the device further comprises a filter component 5, and the filter component 5 is arranged in front of the acquisition end of the camera module 2.
The filter component 5 can be selected from conventional visible light filters or filters with different colors, in the preferred embodiment of the design, a filter with invisible light can be selected, most of light rays outside can be isolated, and cursor rays emitted by the cursor emission module and reflected by the outside are allowed to pass through, so that the cursor rays are collected by the camera module 2.
In some embodiments, the device further includes a trigger unit 6 corresponding to the cursor emitting module 1 one to one and capable of generating a trigger signal, and the trigger unit 6 is electrically connected to the main control module 3.
In some embodiments, the triggering component 6 may be a touch key, a press key, or the like, the user drives the triggering component to generate a triggering signal, the main control module 3 controls the cursor ray emitted by the cursor emitting module 1, and obtains the image information at this time, and the position of the cursor ray emitted by the cursor emitting module 1 corresponding to the triggering component 6 can be known through analysis.
The method for feeding back the position of the cursor of the recreational machine can be further optimized, and as shown in FIG. 3, the method comprises the following steps:
a. emitting a cursor ray with a set spectral value;
b. collecting image information, wherein the image information comprises the content of the reflected cursor ray;
c. the position of the cursor ray in the image information is analyzed by color contrast.
The position of the spectral value in the image information is obtained by color comparison, the position analysis is more accurate, and the effect is better in the embodiment with the filtering component.
In some embodiments, the game machine further comprises a display module, and the main control module is electrically connected with the display module;
before step a, presenting an image interface;
in step a, a cursor ray is emitted towards an image interface;
in step c, the position of the cursor ray in the image interface is analyzed through color contrast, and the position information of the cursor ray on the image interface is output.
The display module can present an image interface, the cursor ray can irradiate on the image interface, the camera module obtains an image of the image interface, and the main control module can know the position of the cursor ray on the image interface, so that the main control module displays the position of the cursor ray through the display module.
Because the position between the display module and the camera module is not necessarily fixed, and the image interface displayed by the display module is only one area in the image information collected by the camera module, when the position between the display module and the camera module changes, for example, the distance changes, the parameter for position determination changes accordingly, and an error in position determination occurs.
In some embodiments, the method further comprises a correction process, wherein the correction process comprises:
presenting at least one positioning icon in the image interface;
emitting a cursor ray to be aligned with the positioning icon;
collecting image information, wherein the image information comprises the content of the reflected cursor ray;
establishing a four-point positioning coordinate model according to the position of the reflected cursor ray;
in step c, the position of the cursor ray in the image interface is corrected according to the four-point positioning coordinate model.
When the position between the display module and the camera module changes, a correction process can be entered, the main control module displays positioning icons on the image interface through the display module, one, two or more positioning icons can be arranged, the emission cursor ray is aligned with the positioning icons, the position condition of the positioning icons on the image interface is recorded in the main control module, and a coordinate model can be established and an offset distance can be obtained according to the image information collected in reality and the offset generated after the emission cursor ray is aligned with the positioning icons;
for example, if the size of the image acquired by the camera module is just the size of the image interface presented by the display module, the position of the emitted cursor ray projected on the image interface is consistent with the position on the acquired image, but when the relative position of the camera module and the display module deviates, the image interface may only acquire a part of the image, a positioning icon is adopted, the cursor ray is aligned with the positioning icon, the main control module learns the position of the positioning icon in the acquired image through the position analysis of the cursor ray, so as to compare with the set position of the positioning icon, the deviation distance can be known, and the position correction of the subsequent cursor ray is performed by establishing a coordinate model of four-point positioning.
In some embodiments, the at least two cursor transmitting modules include at least two, in order to prevent the multiple cursor transmitting modules from being triggered simultaneously, feedback of two cursor rays exists in the same image information, and the cursor rays cannot correspond to each other, so that when at least two cursor transmitting modules transmit the transmitted cursor rays of each cursor transmitting module at the same time, delay processing is performed to enable transmitting time points of the cursor transmitting modules to be staggered with each other, the delay time is short, naked eyes cannot recognize the cursor rays, and therefore user experience is not affected.
In some embodiments, the strong light can be shielded through a program to change the strong light into a blind spot, so that the game host can be normally used under the condition of strong light.
The amusement machine adopts camera module and cursor emission module, and cursor emission module can simulate the laser gun, and camera module gathers image information and the cursor ray through the article reflection, and master control module analysis goes out the position of cursor ray in image information to learn cursor emission module's shooting position, cooperation recreation development is used, simple structure, and the operation is quick, and the analysis is accurate.
In some embodiments, the game machine is a game machine for shooting games, and comprises at least one gun body, a cursor emitting module and a triggering component are arranged on the gun body, the display module displays a game interface, a user shoots at the game interface by using the gun body, the triggering component triggers the cursor emitting module to emit cursor rays, the camera module collects images, and the main control module analyzes the position of the cursor rays so as to present the cursor rays on the display module and simultaneously react the position information in a game program.
It is readily understood by those skilled in the art that the above-described preferred modes can be freely combined and superimposed without conflict.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the knowledge of those skilled in the art.