JP5720231B2 - Image processing apparatus and method, and program - Google Patents
Image processing apparatus and method, and program Download PDFInfo
- Publication number
- JP5720231B2 JP5720231B2 JP2010281268A JP2010281268A JP5720231B2 JP 5720231 B2 JP5720231 B2 JP 5720231B2 JP 2010281268 A JP2010281268 A JP 2010281268A JP 2010281268 A JP2010281268 A JP 2010281268A JP 5720231 B2 JP5720231 B2 JP 5720231B2
- Authority
- JP
- Japan
- Prior art keywords
- fingertip
- area
- area pattern
- image
- hand shape
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Pinball Game Machines (AREA)
- User Interface Of Digital Computer (AREA)
Description
本発明は、画像処理装置および方法、並びにプログラムに関し、特に、遊技台において、遊技者による非接触での入力操作を容易で、かつ、正確に実現できるようにした画像処理装置および方法、並びにプログラムに関する。 The present invention relates to an image processing apparatus, method, and program, and more particularly, to an image processing apparatus, method, and program that can easily and accurately realize a non-contact input operation by a player on a game table. About.
従来から普及している遊技台には、選択装置として押ボタンスイッチが設けられている。遊技者は、遊技台で遊技する際、この押ボタンスイッチを操作することにより、その表示部に表示される各種の演出画像などに応じて、表示部に映し出される図柄等を移動させたり、または選択させたりすることにより、遊技台の演出効果を高めている(特許文献1,2参照)。
A game table that has been widely used is provided with a push button switch as a selection device. When a player plays on the game table, he or she operates the push button switch to move the symbols and the like displayed on the display unit according to various effect images displayed on the display unit, or By making them select, the effect of the game stand is enhanced (see
しかしながら、従来の押ボタンスイッチは、本来の動作目的に使用される以上に、遊技に際して、大当たりなどがなかなか出ないといったときに、押ボタンスイッチを遊技者が叩き付けるといった行為がなされることが知られている。このため、このような押ボタンスイッチを設ける場合、このような叩き付けるといった乱暴な動作に耐え得る耐久性や、静電気などの外乱応力対策が求められるため、その開発やコストが大きいものであった。 However, it is known that a conventional push button switch is more likely to be hit by a player when a big hit or the like does not occur easily during the game than it is used for its original operation purpose. ing. For this reason, when such a pushbutton switch is provided, durability and resistance to such a rough operation as hitting and countermeasures against disturbance stresses such as static electricity are required, so that the development and cost thereof are large.
本発明はこのような状況に鑑みてなされたものであり、特に、画像を用いることで、非接触であって、操作が容易で、かつ、正確な入力装置を実現できるようにするものである。 The present invention has been made in view of such circumstances, and in particular, by using an image, it is possible to realize a non-contact, easy operation and accurate input device. .
本発明の一側面の画像処理装置は、画像に含まれる遊技者の手の手形状により、前記遊技者の入力情報を受け付ける画像処理装置であって、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得手段と、前記画像を複数のエリアに区分するとき、前記指先座標取得手段により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識手段と、前記手形状に対応付けて指先座標位置のエリアパターンを記憶する記憶手段と、前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識手段により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定手段と、を含み、前記推定手段は、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる手形状のうち、所定の手形状に対応付けて記憶されるエリアパターンと一致する場合、前記手形状による入力情報の供給が開始されたものとみなし、以降において、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる全ての手形状に対応付けて記憶されるエリアパターンのいずれかと一致するとき、一致した前記エリアパターンに対応付けて記憶されている手形状であるものと推定し、推定結果である手形状を入力情報として出力する。 An image processing apparatus according to an aspect of the present invention is an image processing apparatus that receives input information of a player based on a hand shape of a player's hand included in an image, and includes coordinates of a fingertip included in the image. Fingertip coordinate acquisition means for acquiring a position, area pattern recognition means for recognizing a pattern of an area to which the fingertip coordinates acquired by the fingertip coordinate acquisition means belong as an area pattern when dividing the image into a plurality of areas; Corresponding to an area pattern that matches the area pattern recognized by the area pattern recognition means, out of the area patterns stored in the storage means, and storing means that stores the area pattern of the fingertip coordinate position in association with the hand shape The hand shape stored with the hand shape is estimated as the hand shape in the image, and the estimation result is determined by the hand shape. Anda estimating means for outputting as the input information, the estimation unit area pattern recognized by the area pattern recognition means, of the hand shape included in the storage means in association with the predetermined hand shape memory If the input pattern matches the area pattern to be input, it is assumed that the supply of input information by the hand shape has been started, and thereafter, the area pattern recognized by the area pattern recognition means includes all the hands included in the storage means. When it matches one of the area patterns stored in association with the shape, it is estimated that the hand shape is stored in association with the matched area pattern, and the hand shape as the estimation result is output as input information. To do .
前記推定手段には、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる全ての手形状に対応付けて記憶されるエリアパターンと一致しない場合、特定の手形状であるものと推定し、推定結果である手形状を入力情報として出力させるようにすることができる。 The estimation means has a specific hand shape when the area pattern recognized by the area pattern recognition means does not match the area pattern stored in association with all the hand shapes included in the storage means. And the hand shape as the estimation result can be output as input information.
本発明の一側面の画像処理方法は、画像に含まれる遊技者の手の手形状により、前記遊技者の入力情報を受け付ける画像処理装置であって、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得手段と、前記画像を複数のエリアに区分するとき、前記指先座標取得手段により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識手段と、前記手形状に対応付けて指先座標位置のエリアパターンを記憶する記憶手段と、前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識手段により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定手段と、を含み、前記推定手段は、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる手形状のうち、所定の手形状に対応付けて記憶されるエリアパターンと一致する場合、前記手形状による入力情報の供給が開始されたものとみなし、以降において、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる全ての手形状に対応付けて記憶されるエリアパターンのいずれかと一致するとき、一致した前記エリアパターンに対応付けて記憶されている手形状であるものと推定し、推定結果である手形状を入力情報として出力する画像処理装置の画像処理方法であって、前記指先座標取得手段における、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得ステップと、前記エリアパターン認識手段における、前記画像を複数のエリアに区分するとき、前記指先座標取得ステップの処理により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識ステップと、前記推定手段における、前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識ステップの処理により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定ステップとを含む。 An image processing method according to one aspect of the present invention is an image processing apparatus that accepts input information of a player based on a hand shape of the player's hand included in an image, the coordinates of a fingertip included in the image. Fingertip coordinate acquisition means for acquiring a position, area pattern recognition means for recognizing a pattern of an area to which the fingertip coordinates acquired by the fingertip coordinate acquisition means belong as an area pattern when dividing the image into a plurality of areas; Corresponding to an area pattern that matches the area pattern recognized by the area pattern recognition means, out of the area patterns stored in the storage means, and storing means that stores the area pattern of the fingertip coordinate position in association with the hand shape The hand shape stored with the hand shape is estimated as the hand shape in the image, and the estimation result is determined by the hand shape. Anda estimating means for outputting as the input information, the estimation unit area pattern recognized by the area pattern recognition means, of the hand shape included in the storage means in association with the predetermined hand shape memory If the input pattern matches the area pattern to be input, it is assumed that the supply of input information by the hand shape has been started, and thereafter, the area pattern recognized by the area pattern recognition means includes all the hands included in the storage means. When it matches one of the area patterns stored in association with the shape, it is estimated that the hand shape is stored in association with the matched area pattern, and the hand shape as the estimation result is output as input information. an image processing method for an image processing apparatus which, in the fingertip coordinate acquisition means, the seat of the fingertip of the hand is contained in the image When a fingertip coordinate acquisition step for acquiring a position and the area pattern recognition unit divides the image into a plurality of areas, the pattern of the area to which the fingertip coordinates acquired by the processing of the fingertip coordinate acquisition step belongs is used as an area pattern. Among the area patterns stored in the storage means in the area pattern recognition step to be recognized and the estimation means, the area pattern is stored in association with the area pattern that matches the area pattern recognized by the processing of the area pattern recognition step. An estimation step of estimating a hand shape as a hand shape in the image and outputting an estimation result as input information based on the hand shape.
本発明の一側面のプログラムは、画像に含まれる遊技者の手の手形状により、前記遊技者の入力情報を受け付ける画像処理装置であって、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得手段と、前記画像を複数のエリアに区分するとき、前記指先座標取得手段により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識手段と、前記手形状に対応付けて指先座標位置のエリアパターンを記憶する記憶手段と、前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識手段により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定手段と、を含み、前記推定手段は、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる手形状のうち、所定の手形状に対応付けて記憶されるエリアパターンと一致する場合、前記手形状による入力情報の供給が開始されたものとみなし、以降において、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる全ての手形状に対応付けて記憶されるエリアパターンのいずれかと一致するとき、一致した前記エリアパターンに対応付けて記憶されている手形状であるものと推定し、推定結果である手形状を入力情報として出力する画像処理装置を制御するコンピュータに、前記指先座標取得手段における、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得ステップと、前記エリアパターン認識手段における、前記画像を複数のエリアに区分するとき、前記指先座標取得ステップの処理により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識ステップと、前記推定手段における、前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識ステップの処理により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定ステップとを含む。 A program according to one aspect of the present invention is an image processing apparatus that receives input information of a player based on a hand shape of the player's hand included in an image, and the coordinate position of a fingertip of the hand included in the image is determined. Fingertip coordinate acquisition means for acquiring, area pattern recognition means for recognizing a pattern of an area to which the fingertip coordinates acquired by the fingertip coordinate acquisition means belong when dividing the image into a plurality of areas, and the hand shape A memory unit that stores an area pattern of the fingertip coordinate position in association with the area pattern, and an area pattern stored in the storage unit that is associated with an area pattern that matches the area pattern recognized by the area pattern recognition unit. The stored hand shape is estimated as the hand shape in the image, and the estimation result depends on the hand shape. Including an estimation unit for outputting as the force information, wherein the estimating means, the area pattern that is recognized by the area pattern recognition means, of the hand shape included in the storage means in association with the predetermined hand shape memory If the input pattern matches the area pattern to be input, it is assumed that the supply of input information by the hand shape has been started, and thereafter, the area pattern recognized by the area pattern recognition means includes all the hands included in the storage means. When it matches one of the area patterns stored in association with the shape, it is estimated that the hand shape is stored in association with the matched area pattern, and the hand shape as the estimation result is output as input information. a computer for controlling an image processing apparatus which, in the fingertip coordinate acquisition means, the seat of the fingertip of the hand is contained in the image When a fingertip coordinate acquisition step for acquiring a position and the area pattern recognition unit divides the image into a plurality of areas, the pattern of the area to which the fingertip coordinates acquired by the processing of the fingertip coordinate acquisition step belongs is used as an area pattern. Among the area patterns stored in the storage means in the area pattern recognition step to be recognized and the estimation means, the area pattern is stored in association with the area pattern that matches the area pattern recognized by the processing of the area pattern recognition step. An estimation step of estimating a hand shape as a hand shape in the image and outputting an estimation result as input information based on the hand shape.
本発明の一側面においては、画像に含まれる遊技者の手の手形状により、前記遊技者の入力情報を受け付ける画像処理装置であって、前記画像内に含まれる手の指先の座標位置が取得され、前記画像を複数のエリアに区分するとき、取得された指先座標が属するエリアのパターンがエリアパターンとして認識され、前記手形状に対応付けて指先座標位置のエリアパターンが記憶され、記憶されているエリアパターンのうち、認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状が、前記画像内における手の手形状であるものとして推定され、推定結果が手形状による入力情報として出力される。 In one aspect of the present invention, the image processing apparatus accepts input information of the player based on the hand shape of the player's hand included in the image, and the coordinate position of the fingertip of the hand included in the image is acquired. When the image is divided into a plurality of areas, the pattern of the area to which the acquired fingertip coordinates belong is recognized as an area pattern, and the area pattern of the fingertip coordinate position is stored and stored in association with the hand shape. The hand shape stored in association with the area pattern that matches the recognized area pattern is estimated as the hand shape in the image, and the estimation result is input by the hand shape. Output as information.
本発明の一側面の画像処理装置における、画像に含まれる遊技者の手の手形状により、前記遊技者の入力情報を受け付ける画像処理装置であって、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得手段とは、例えば、指先位置計算部であり、前記画像を複数のエリアに区分するとき、前記指先座標取得手段により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識手段とは、例えば、指先位置エリア認識部であり、前記手形状に対応付けて指先座標位置のエリアパターンを記憶する記憶手段とは、例えば、エリアパターン記憶部であり、前記記憶手段に記憶されているエリアパターンのうち、前記認識手段により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定手段とは、例えば、推定部である。 In the image processing device of one aspect of the present invention, the image processing device accepts input information of the player by the hand shape of the player's hand included in the image, and the coordinates of the fingertip of the hand included in the image The fingertip coordinate acquisition means for acquiring the position is, for example, a fingertip position calculation unit, and when dividing the image into a plurality of areas, the pattern of the area to which the fingertip coordinates acquired by the fingertip coordinate acquisition means belong is an area pattern. The area pattern recognition means that recognizes as, for example, a fingertip position area recognition section, and the storage means that stores the area pattern of the fingertip coordinate position in association with the hand shape is, for example, an area pattern storage section, Of the area patterns stored in the storage means, the area patterns corresponding to the area patterns recognized by the recognition means are associated. A hand shape stored Te is estimated as being the hand shape of the hand in the image, and the estimating means for outputting an estimation result as the input information by hand shape, e.g., a estimator.
すなわち、画像を複数のエリアに区分したとき、画像に映し出される手の指先の座標位置として検出されるエリアパターンが、手形状に対応付けて予め記憶されている指先の座標位置のエリアパターンと一致するとき、対応付けて登録されている手形状であることが推定される。このため、遊技者は、手形状を様々に変化させることで、撮像領域に提示するのみで入力操作を行うことができるため、非接触で、かつ、容易な入力操作を実現することが可能となる。 That is, when an image is divided into a plurality of areas, the area pattern detected as the fingertip coordinate position shown in the image matches the area pattern of the fingertip coordinate position stored in advance in association with the hand shape. When it does, it is estimated that it is a hand shape registered in association. For this reason, the player can perform an input operation only by presenting it in the imaging area by changing the hand shape in various ways, and thus it is possible to realize a non-contact and easy input operation. Become.
本発明によれば、遊技台に対して遊技者が、非接触で、かつ容易に入力操作を実現することが可能となる。 According to the present invention, it is possible for a player to easily perform an input operation in a non-contact manner with respect to a game table.
以下に本発明の実施の形態を説明するが、本発明の構成要件と、発明の詳細な説明に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、発明の詳細な説明に記載されていることを確認するためのものである。従って、発明の詳細な説明中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。 Embodiments of the present invention will be described below. Correspondences between the configuration requirements of the present invention and the embodiments described in the detailed description of the present invention are exemplified as follows. This description is to confirm that the embodiments supporting the present invention are described in the detailed description of the invention. Accordingly, although there are embodiments that are described in the detailed description of the invention but are not described here as embodiments corresponding to the constituent elements of the present invention, It does not mean that the embodiment does not correspond to the configuration requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.
すなわち、本発明の一側面の画像処理装置は、画像に含まれる遊技者の手の手形状により、前記遊技者の入力情報を受け付ける画像処理装置であって、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得手段(例えば、図4の指先位置計算部63)と、前記画像を複数のエリアに区分するとき、前記指先座標取得手段により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識手段(例えば、図4の指先位置エリア認識部101)と、前記手形状に対応付けて指先座標位置のエリアパターンを記憶する記憶手段(例えば、図4のエリアパターン記憶部102)と、前記記憶手段に記憶されているエリアパターンのうち、前記認識手段により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定手段(例えば、図4の推定部103)とを含む。
That is, an image processing apparatus according to one aspect of the present invention is an image processing apparatus that receives input information of a player based on a hand shape of the player's hand included in an image, and the fingertip of the hand included in the image. The fingertip coordinate acquisition means (for example, the fingertip
本発明の一側面の画像処理方法は、画像に含まれる遊技者の手の手形状により、前記遊技者の入力情報を受け付ける画像処理装置であって、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得手段と、前記画像を複数のエリアに区分するとき、前記指先座標取得手段により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識手段と、前記手形状に対応付けて指先座標位置のエリアパターンを記憶する記憶手段と、前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識手段により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定手段とを含む画像処理装置の画像処理方法であって、前記指先座標取得手段における、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得ステップ(例えば、図8のステップS72,S75)と、前記エリアパターン認識手段における、前記画像を複数のエリアに区分するとき、前記指先座標取得ステップの処理により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識ステップ(例えば、図8のステップS77)と、前記推定手段における、前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識ステップの処理により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定ステップ(例えば、図8のステップS79)とを含む。 An image processing method according to one aspect of the present invention is an image processing apparatus that accepts input information of a player based on a hand shape of the player's hand included in an image, the coordinates of a fingertip included in the image. Fingertip coordinate acquisition means for acquiring a position, area pattern recognition means for recognizing a pattern of an area to which the fingertip coordinates acquired by the fingertip coordinate acquisition means belong as an area pattern when dividing the image into a plurality of areas; Corresponding to an area pattern that matches the area pattern recognized by the area pattern recognition means, out of the area patterns stored in the storage means, and storing means that stores the area pattern of the fingertip coordinate position in association with the hand shape The hand shape stored with the hand shape is estimated as the hand shape in the image, and the estimation result is determined by the hand shape. An image processing method of an image processing apparatus including an estimation unit that outputs as input information, wherein the fingertip coordinate acquisition step acquires a coordinate position of a fingertip of a hand included in the image in the fingertip coordinate acquisition unit (for example, When the image is divided into a plurality of areas in the step S72, S75) of FIG. 8 and the area pattern recognition means, the pattern of the area to which the fingertip coordinates acquired by the processing of the fingertip coordinate acquisition step belongs is used as an area pattern. The area pattern recognition step (for example, step S77 in FIG. 8) to be recognized matches the area pattern recognized by the processing of the area pattern recognition step among the area patterns stored in the storage means in the estimation means. The hand shape stored in association with the area pattern to be Estimated as being the hand shape of the hand at the inner, and a estimation step of outputting the estimation result as the input information by the hand shape (e.g., step S79 of FIG. 8).
[本発明に係る画像処理装置を用いた遊技台の一実施の形態の構成例]
図1は、本発明に係る画像処理装置を用いた遊技台の一実施の形態の構成例を示す図である。図1における左部は、遊技台の正面図であり、右部は、遊技台の外観斜視図である。
[Configuration Example of One Embodiment of Game Table Using Image Processing Device According to the Present Invention]
FIG. 1 is a diagram showing a configuration example of an embodiment of a game machine using an image processing apparatus according to the present invention. The left part in FIG. 1 is a front view of the game table, and the right part is an external perspective view of the game table.
遊技台11は、遊技者の操作に応じて遊技球を発射し、所定の入賞口に遊技球が入賞すると、大当り、または小当りするなどして、対応する球数の遊技球を払い出す。また、遊技台11は、所定の入賞口に遊技球が入賞し、大当りや小当りとなる際、演出効果を高めるため、遊技台11の盤面中央に設けられた表示部22に、特殊な動画像を表示すると共に、所定の音声を出力する。この際、遊技台11は、動画像、または音声により、遊技者に対して手を用いて、手形状を変化させる動作、指先の追跡動作、および指先の回転動作のいずれかの入力動作を促す。このような督促に応じて、遊技者がカメラモジュール21に対して、表示部22に表示された演出画像や音声により促された入力動作を行うと、遊技台11は、カメラモジュール21を用いて入力動作に用いられる手の画像を撮像し、その画像に適当な処理をすることで入力動作を受け付け、受け付けた入力動作に応じて演出画像や音声を変化させる。このような入力動作を受け付けて、演出動作に反映させることにより、遊技者は、あたかも自ら遊技台11の動作を操っているような感覚を覚え、遊技台により表現される演出効果に臨場感を持たせることが可能となる。
The game table 11 launches a game ball in accordance with the player's operation, and when the game ball wins a predetermined winning opening, the
[遊技台の構成例]
次に、図2を参照して、遊技台11により実現される機能について説明する。
[Example of configuration of game machine]
Next, with reference to FIG. 2, the function implement | achieved by the game stand 11 is demonstrated.
遊技台11は、CMOS(Complementary Metal Oxide Semiconductor)などからなるカメラモジュール21、LCD(Liquid Crystal Display)などからなる表示部22、および遊技台11の演出の全体を制御する制御部31を備えている。尚、図示しないが、遊技に係る動作を制御する機器も存在するが、説明の便宜上省略するものとする。
The gaming table 11 includes a
カメラモジュール21は、図3の右上部で示される側面断面図で示されるように、下部にCOMSからなる撮像素子41、上部に赤外光を発光するLED42、および制御部43を備えている。尚、図3においては、右上部にカメラモジュール21の側面断面図が示されており、左下部には、断面斜視図が示されている。このように、カメラモジュール21の撮像素子41は、LED42により発生される赤外光が、被写体となる遊技者の手Hに照射され、手Hより反射される赤外光からなる画像を撮像し、撮像した画像を制御部43に供給する。この結果、カメラモジュール21の目の前に存在する手の画像のみを撮像することが可能となっている。そして、制御部43は、撮像素子41より供給されてくる画像、および、演出を制御する制御部31より供給されてくる演出状態の情報に基づいて、遊技者による手を用いた入力動作を認識し、認識結果である入力動作の情報を、演出を制御する制御部31に供給する。
As shown in the side sectional view shown in the upper right part of FIG. 3, the
[カメラモジュールの構成例]
次に、図4を参照して、カメラモジュール21により実現される機能について説明する。尚、カメラモジュール21は、図3を参照して説明したように、撮像素子41、LED42、および制御部43より構成されているが、ここで、制御部43により実現される機能について詳細に説明するものとする。
[Configuration example of camera module]
Next, functions realized by the
制御部43は、演出状態判定部61、操作条件切替部62、指先位置計算部63、指先追跡部64、手形状推定部65、および回転動作処理部66を備えている。演出状態判定部61は、遊技台11の演出の動作の全体を制御する制御部31より供給されてくる演出状態の情報に基づいて、演出状態を判定する。操作条件切替部62は、演出状態判定部61の判定結果に基づいて、入力情報として受け入れる操作条件を切り替える。受け入れ可能な入力情報は、手形状による入力情報、指先の座標による入力情報、および指先の回転による回転方向および回転速度による入力情報であり、操作条件切替部62は、この三種類の入力情報のいずれを受け入れるかを切り替える。
The
指先位置計算部63は、撮像素子41より供給されてくる赤外光に基づいた画像より指先の座標の位置を計算する。より具体的には、指先位置計算部63は、2値化処理部81、重心計算部82、指先候補領域検索部83、指先位置特定部84、距離計算部85、LED制御部86、および画像取得部87を備える。LED制御部86は、LED42の発光を制御する。画像取得部87は、LED42が発光することにより被写体である手より反射されることにより撮像素子41より撮像される画像を取得する。2値化処理部81は、画像取得部87により取得された画像を被写体となる手の領域を白色として、それ以外の領域を黒色とする2値からなる画像に処理する。
The fingertip
重心計算部82は、2値化された画像のうち、被写体となる白色の領域の重心位置を計算する。指先候補領域検索部83は、2値化処理された画像の境界となる画素を中心とする矩形範囲内の白色領域と黒色領域との割合に基づいて、黒色領域が白色領域よりも多い境界の画素を指先候補領域として検索する。さらに、指先候補領域検索部83は、指先候補領域を近傍の範囲に存在するもの毎に群に分ける。指先位置特定部84は、距離計算部85を制御して、指先候補領域の各群毎に群を構成する指先候補領域の画素のうち、重心位置からの距離が最も長いもの、すなわち、重心位置から最も遠いものを特定し、群毎に特定した指先位置の座標、および重心位置からの距離を指先位置の情報として出力する。
The center-of-
指先追跡部64は、指先位置計算部63により求められた群毎に特定した指先位置の情報のうち、重心位置からの距離が最も遠いものを人差し指の指先位置とみなし、その座標を順次記憶して追跡し、入力情報として出力する。より詳細には、指先追跡部64は、記憶部121、およびふらつき判定部122を備えている。指先追跡部64は、直前の指先位置の座標を記憶し、その後、記憶した指先の座標より所定の距離to内であって、所定の距離ti(<to)よりも遠い座標位置に新たな指先位置が検出された場合、追跡すべき指先位置の座標であるものとし、新たな座標として記憶部121に記憶させる。また、指先追跡部64は、ふらつき判定部122を制御して、記憶した指先の座標より所定の距離ti内である場合、指先が同一の位置に留まった状態で、ふらついているものとみなし、直前の座標位置をそのままの状態で記憶部121に記憶させたままの状態とする。
The
手形状推定部65は、指先位置計算部63により求められた群毎に特定した指先位置の情報に基づいて、手の重心位置と指先位置の座標との配置から手形状を推定し、手形状の情報を入力情報として出力する。より具体的には、手形状推定部65は、指先位置エリア認識部101、エリアパターン記憶部102、および推定部103を備えている。指先位置エリア認識部101は、指先位置計算部63により出力される指先位置の情報、および重心位置の情報に基づいて、重心位置を中心として画像を放射状に区分してエリアを設定したとき、各指先位置が含まれるエリアのパターンをエリアパターンとして認識する。エリアパターン記憶部102は、予め手形状に対応付けて、重心位置、および指先位置のエリアとなるエリアパターンを記憶している。尚、このエリアパターンは、一般的な手形状、すなわち、手により自然に取ることのできる手形状に対応する重心位置を基準とした指先位置のエリアパターンであるものとする。推定部103は、エリアパターン記憶部102に記憶されている全てのエリアパターンと、指先位置エリア認識部101により認識されたエリアパターンとを比較し、一致するものがあるとき、対応付けて記憶されている手形状を推定結果とする。
The hand
回転動作処理部66は、指先位置計算部63により求められた群毎に特定した指先位置の情報に基づいて、人差し指の回転方向とその回転速度の情報を入力情報として出力する。より具体的には、回転動作処理部66は、仮想ダイヤル回転角度計測部141、非検出エリア設定部142、検出エリア特定部143、検出エリア記憶部144、回転方向特定部145、回転速度計算部146、および回転軸補正部147を備えている。非検出エリア設定部142は、撮像された画像の所定の中心位置を基準として放射線状に区分してエリアを設定し、さらに、その中心位置近傍の矩形範囲を非検出エリアに設定する。すなわち、非検出エリアは、そのエリア内に指先位置の情報が検出されていても、非検出であったものとみなされるエリアである。また、後述する軸補正部164により中心位置を補正する補正量が計算される場合、その計算された補正量に基づいて、直前に設定した検出エリア、および非検出エリアの中心位置を補正して、検出エリア、および非検出エリアを設定する。検出エリア特定部143は、指先位置の情報に基づいて、上述したように画像内における所定の中心位置に対して放射線状に区分されるどのエリアで検出されたかを特定する。
Based on the information on the fingertip position specified for each group obtained by the fingertip
検出エリア記憶部144は、検出エリア特定部143により特定された指先位置の情報、およびエリアの情報を記憶する。仮想ダイヤル回転角度計測部141は、画像内の所定の位置を基準として放射状に区分された各エリアを仮想的なダイヤルであるものとみなし、検出エリア記憶部144に記憶されている直前のエリアと、検出エリア特定部144により特定された最新の検出位置のエリアとが変化したとき、変化したエリア間の違いから仮想的なダイヤルが回転したものとみなし、エリア間の角度の差から回転角度を計測する。回転方向特定部145は、直前の検出エリアと、最新の検出エリアとの位置関係に基づいて、右回り(時計回り)であるか、または、左回り(反時計回り)であるのか回転方向を特定する。回転速度計算部146は、直前の検出エリアと、最新の検出エリアとの変化と、その変化に係る時間とから回転速度(角速度または単位時間当たりの回転数)を計算する。
The detection
回転軸補正部147は、指先位置の情報に基づいて、直前の軌跡から中心位置となる軸を補正する。より詳細には、回転軸補正部147は、タイマ161、回転判定部162、重心計算部163、および軸補正部164を備えている。タイマ161は、指先位置の情報が最初に検出されたタイミングからの経過時間を計測する。回転判定部162は、検出エリア記憶部144に記憶されている検出エリアの情報に基づいて、検出されているエリアの情報が一周分記憶されているか否か、すなわち、検出エリアの情報が1周分存在するか否かを判定する。重心計算部163は、回転判定部162によりエリアの情報が1周分記憶されているとみなされた場合、検出エリア記憶部144に記憶されている、1周分の指先位置の座標の情報を用いて、その重心位置を計算する。軸補正部164は、重心計算部163により計算された重心位置にエリアを設定するための中心位置を補正するための補正量を計算する。
The rotation
[演出画像表示処理]
次に、図5のフローチャートを参照して、演出画像表示処理について説明する。
[Production image display processing]
Next, the effect image display process will be described with reference to the flowchart of FIG.
ステップS11において、演出状態判定部61は、演出用の制御部31より供給されてくる演出状態を示す情報、または、図示せぬ入力操作切替操作部の操作状態に基づいて、演出状態、または入力切替操作の状態を認識する。
In step S11, the production state determination unit 61 performs the production state or the input based on the information indicating the production state supplied from the
ステップS12において、演出状態判定部61は、認識した演出状態、または入力切替操作が指先追跡処理による入力情報を受け付けるものであるか否かを判定する。ステップS12において、例えば、指先追跡処理による入力情報を受け付けるものである場合、処理は、ステップS13に進む。 In step S12, the effect state determination unit 61 determines whether the recognized effect state or the input switching operation is to receive input information by the fingertip tracking process. In step S12, for example, when the input information by the fingertip tracking process is received, the process proceeds to step S13.
ステップS13において、操作条件切替部62は、演出状態判定部61により認識された指先追跡処理による入力情報を受け付ける操作条件に切り替えて、指先追跡処理による入力情報を受付させる。 In step S <b> 13, the operation condition switching unit 62 switches to an operation condition for accepting input information by the fingertip tracking process recognized by the effect state determination unit 61 and accepts input information by the fingertip tracking process.
[指先追跡処理]
ここで、図6のフローチャートを参照して、指先追跡処理について説明する。
[Fingertip tracking process]
Here, the fingertip tracking process will be described with reference to the flowchart of FIG.
ステップS41において、演出状態判定部61は、演出用の制御部31に対して指先を撮像素子41に向けて移動させるときの軌跡が入力情報である旨を通知する。これに応じて、制御部31は、表示部22を制御して、指先を撮像素子41に向けて移動させるときの軌跡が入力情報となることを表示する。これにより遊技者は、どのタイミングで指先の移動に伴った軌跡が入力情報となることが認識される。
In step S41, the production state determination unit 61 notifies the
ステップS42において、LED制御部86は、LED42を発光させて、被写体である遊技者の手が入力情報を入力する位置付近を赤外光により照射する。撮像素子41は、赤外光により照射され、照射された赤外光を反射して映りこむ、被写体である遊技者の手を撮像した、例えば、図7の画像P1で示されるような画像を指先位置計算部63に供給する。図7の画像P1は、照射された赤外光を反射する左手で人差し指を立てた状態の手の画像であり、白色部分が手の領域、すなわち、赤外光を反射している領域であり、黒色部分がそれ以外の領域となっている。尚、画像は、動画像を対象としており、したがって、ここで撮像される画像は、動画像を構成する1フレーム単位、または1フィールド単位の画像である。
In step S42, the
ステップS43において、2値化処理部81は、撮像素子41により撮像された画像を2値化する。すなわち、例えば、撮像素子41により撮像された画像が図7の画像P1であるような場合、所定の画素値以上の画素値を白色の画素値とし、それ以外を黒色とすることで、2値化処理部81は、図7の画像P2で示されるような2値化画像を生成する。
In step S <b> 43, the
ステップS44において、重心計算部82は、下記の式(1)を計算することにより、2値化画像のうち手の領域を示す白色領域の重心位置の座標を計算する。
In step S44, the
(Xg,Yg)=(1/n(X0+・・・+X(n-1)),1/n(Y0+・・・+Y(n-1)))
・・・(1)
(Xg, Yg) = (1 / n (X 0 + ... + X (n-1) ), 1 / n (Y 0 + ... + Y (n-1) ))
... (1)
ここで、(Xg,Yg)は、重心位置の座標を表しており、Xi(i=0,1,2,・・・(n-1))およびYi(i=0,1,2,・・・(n-1))は、それぞれ白色領域の画素のX,Y座標を表している。 Here, (Xg, Yg) represents the coordinates of the center of gravity position, and Xi (i = 0, 1, 2,... (N-1)) and Yi (i = 0, 1, 2,. (N-1)) represents the X and Y coordinates of the pixels in the white area.
すなわち、例えば、図7の画像P2で示されるような2値画像の場合、重心計算部82は、図7の画像P3で示されるような手の領域を示す白色領域の重心位置(Xg,Yg)を計算する。尚、図7の画像P3においては、画像の左下端部を原点(0,0)とし、水平方向をX方向として、垂直方向をY方向として重心座標が求められている例が示されている。
That is, for example, in the case of a binary image as shown by the image P2 in FIG. 7, the
ステップS45において、指先候補領域検索部83は、2値化画像の手の領域である白色領域とそれ以外の領域である黒色領域との境界上に存在する各画素について、各画素を中心とする矩形範囲を設定して、その矩形範囲内の白色領域と黒色領域との割合を求めて、黒色領域の割合が高くなる、指先近傍の画素であるか否かを判定することにより指先候補領域を検索する。すなわち、手の領域を白色領域とし、それ以外を黒色領域とした2値化画像においては、図7の画像P4で示されるように、その境界において、指先端部近傍の画素であれば、その画素を中心とした矩形範囲FL1の黒色と白色との割合は、黒色領域の割合が、指先候補領域ではない矩形範囲FL2と比べて高くなるので、そのような画素が、画像P5の指先部分における黒点で示されるように指先候補領域の画素として探索される。また、ノイズのような矩形範囲FL3は、この処理により除去されることになる。
In step S45, the fingertip candidate
ステップS46において、指先候補領域検索部83は、探索された指先候補領域を構成する画素について、重心からの距離を以下の式(2)を計算することにより求め、距離に応じて指先候補領域の画素の複数の群に分ける。
In step S46, the fingertip candidate
Ah=√((Xkn−Xg)2+(Ykn−Yg)2)
・・・(2)
Ah = √ ((Xkn−Xg) 2 + (Ykn−Yg) 2 )
... (2)
ここで、Ahは、重心座標からの距離を、(Xkn,Ykn)は、指先候補領域の画素の座標をそれぞれ表している。すなわち、このように距離に応じて指先候補領域の画素の座標を群に分けることにより、例えば、図7の画像P5における黒点で示される指先候補領域の画素の座標は、重心座標(Xg,Yg)からの距離に応じて、画素群M1,M2のように距離の近いもの同士からなる群に分類される。 Here, Ah represents the distance from the barycentric coordinates, and (Xkn, Ykn) represents the coordinates of the pixels of the fingertip candidate area. That is, by dividing the pixel coordinates of the fingertip candidate area into groups according to the distance in this way, for example, the coordinates of the pixel of the fingertip candidate area indicated by the black dot in the image P5 in FIG. ), The pixel groups M1 and M2 are classified into groups each having a short distance.
ステップS47において、指先候補領域検索部83は、重心からの距離に応じて分類された画素群毎に、図7の画像P6で示されるように、重心位置から最も遠い画素を画素群の代表座標として設定する。すなわち、画像P6で示されるように、各指先候補領域の画素と重心位置からの距離が求められて、そのうち、最も重心位置から遠い画素を画素群の代表座標とする。
In step S47, the fingertip candidate
ステップS48において、指先位置特定部84は、各画素群の代表座標のうち、重心からの距離が最も遠い座標を指先座標として認識する。すなわち、図7の画像P6の場合、手の画像における人差し指の先端部に当たる画素の座標(Xans,Yans)が指先座標として認識される。すなわち、指先の軌跡により入力情報を生成する場合、通常人差し指などが立てられて、その人差し指の先端部により入力情報が構成されることが多いので、このような処理により人差し指の先端部の座標が入力情報として確実に取得される。ただし、仮に、その他の指を立てても同様に処理することができるので、いずれかの指を立てれば、その先端部の座標をもって、入力情報とすることも可能である。いずれにしても、通常、遊技者が取るであろう指先での入力動作に対応した入力情報を、連続して移動する指先の座標情報として受け付けることが可能となる。 In step S <b> 48, the fingertip position specifying unit 84 recognizes the coordinate farthest from the center of gravity among the representative coordinates of each pixel group as the fingertip coordinates. That is, in the case of the image P6 in FIG. 7, the coordinates (Xans, Yans) of the pixel corresponding to the tip of the index finger in the hand image are recognized as the fingertip coordinates. That is, when generating input information based on the trajectory of the fingertip, since the index finger or the like is usually set up and the input information is often constituted by the tip of the index finger, the coordinates of the tip of the index finger are obtained by such processing. It is definitely acquired as input information. However, since the same processing can be performed even if other fingers are raised, if any finger is raised, the coordinates of the tip can be used as input information. In any case, normally, input information corresponding to the input operation at the fingertip that the player would take can be received as coordinate information of the fingertip that moves continuously.
ステップS49において、指先追跡部64は、ふらつき判定部122を制御して、直前のフレーム、またはフィールドの画像における指先位置の座標との距離fpt求め、所定の範囲内であるか否かを判定する。すなわち、図7の画像P7で示される指先の座標N1から画像P8で示されるように座標N2に移動した場合、ふらつき判定部122は、座標N1とN2との距離fptを求める。そして、ふらつき判定部122は、その距離fptが所定の範囲内、つまり所定の距離tiよりも長く、所定の距離to(>ti)よりも短いとき、追跡している指先の座標が変化したものとみなし、処理は、ステップS50に進む。すなわち、距離fptが、所定の距離tiよりも小さい場合、単にふらついているだけであるものとみなし、所定の距離toよりも大きい場合、連続的に移動しているものとはみなさない。
In step S49, the
ステップS49において、距離fptが、所定の距離tiよりも長く、所定の距離toよりも短い場合、指先追跡部64は、最新の指先位置が直前の指先位置から連続的に移動しているものとみなし、処理は、ステップS50に進む。ステップS50において、指先追跡部64は、新たに検出した指先候補となる座標を、新たに追跡すべき指先座標として出力する。
In step S49, when the distance fpt is longer than the predetermined distance ti and shorter than the predetermined distance to, the
ステップS51において、指先追跡部64は、検出された指先座標を、今現在のフレーム、またはフィールドを識別する情報と共に、記憶部121に記憶させ、処理を終了する。
In step S51, the
一方、ステップS49において、距離fptが所定の範囲内ではない、すなわち、所定の距離tiより短く、遊技者は指先の移動を意図しておらず、ふらつきであるものとみなされた場合、または、所定の距離toよりも長く、直前の指先の座標からみて、移動先であるとみなせない場合、処理は、ステップS52に進む。 On the other hand, in step S49, if the distance fpt is not within the predetermined range, that is, shorter than the predetermined distance ti, the player does not intend to move the fingertip and is regarded as wobbling, or If it is longer than the predetermined distance to and cannot be regarded as the movement destination in view of the coordinates of the immediately preceding fingertip, the process proceeds to step S52.
ステップS52において、指先追跡部64は、指先の座標位置に変化が無く、すなわち、指先が移動せずにいるものとみなし、直前のフレーム、またはフィールドに対応付けて登録されている位置座標を指先の現在の位置座標として出力する。
In step S52, the
以上の処理により被写体として撮像される画像内の手のうち、人差し指など、いずれかの指を立てて移動させるような場合、動画像により連続的に撮像されるフレーム単位、またはフィールド単位で指先の座標位置が順次追跡されて、追跡結果となる座標が順次入力情報として出力される。結果として、遊技者は、カメラモジュール21の前で指先で、例えば、○印、△印、または×印といった形状を描くような動作をすると、その指先の座標の追跡結果から、その軌跡の形状として○印、△印、または×印といった形状を認識することが可能となる。また、この他にも、指先の座標の追跡結果から、起点と終点とを認識して上下左右といった方向を入力できるようにしてもよい。
When moving one of the fingers in the image captured as a subject by the above processing, such as the index finger, the fingertip of the fingertip is continuously captured in a frame unit or a field unit continuously captured by a moving image. The coordinate positions are sequentially tracked, and the coordinates resulting from the tracking are sequentially output as input information. As a result, when the player performs an operation such as drawing a shape such as a circle mark, a triangle mark, or a cross mark with the fingertip in front of the
ここで、図5のフローチャートの説明に戻る。 Now, the description returns to the flowchart of FIG.
ステップS13において、指先追跡処理がなされ、順次フレーム単位、またはフィールド単位で、遊技者が手の指先を移動させることにより入力される指先の座標が順次入力情報として出力される。 In step S13, fingertip tracking processing is performed, and the coordinates of the fingertips that are input by the player moving the fingertips of the hand sequentially in units of frames or fields are sequentially output as input information.
ステップS14において、演出状態判定部61は、生成された指先の座標の情報を入力情報として取得し、演出用の制御部31に供給する。
In step S <b> 14, the effect state determination unit 61 acquires information on the coordinates of the generated fingertip as input information and supplies it to the
ステップS15において、制御部31は、供給されてきた入力情報に応じて演出状態を変化させて、変化した演出状態に応じた情報を表示部22に表示する。
In step S <b> 15, the
一方、ステップS12において、指先追跡処理により指先の座標を入力情報としない場合、処理は、ステップS17に進む。 On the other hand, when the fingertip coordinates are not used as input information in the fingertip tracking process in step S12, the process proceeds to step S17.
ステップS17において、演出状態判定部61は、認識した演出状態、または入力切替操作が手形状推定処理により推定された手形状を入力情報として受け付けるか否かを判定する。ステップS17において、例えば、手形状推定処理により推定される手形状を入力情報とする場合、処理は、ステップS18に進む。 In step S <b> 17, the effect state determination unit 61 determines whether or not the recognized effect state or the hand shape estimated by the input switching operation by the hand shape estimation process is accepted as input information. In step S17, for example, when the hand shape estimated by the hand shape estimation process is used as input information, the process proceeds to step S18.
ステップS18において、操作条件切替部62は、演出状態判定部61により認識された指先追跡処理による入力情報を受け付ける操作条件に切り替えて、手形状推定処理により推定される手形状を入力情報として受付させる。 In step S <b> 18, the operation condition switching unit 62 switches to an operation condition for accepting input information by the fingertip tracking process recognized by the effect state determination unit 61 and accepts the hand shape estimated by the hand shape estimation process as input information. .
[手形状推定処理]
ここで、図8のフローチャートを参照して、手形状推定処理について説明する。
[Hand shape estimation process]
Here, the hand shape estimation process will be described with reference to the flowchart of FIG.
ステップS71において、演出状態判定部61は、演出用の制御部31に対して手形状を撮像素子41に撮像させることが入力情報である旨を通知する。これに応じて、制御部31は、表示部22を制御して、撮像素子41に向けて撮像させる手形状が入力情報となることを表示し、手形状による入力を開始させる意思を示す手形状を撮像させるように促す画像を表示する。これにより遊技者は、今現在において、手形状を変化させる入力動作により入力情報が構成されることを認識することができる。また、入力意思を示す手形状とは、例えば、じゃんけんにおける、いわゆる「グー」の手形状など、所定の手形状であり、所定の手形状を以って、以降から手形状での入力情報の入力開始を示すためのものである。
In step S71, the effect state determination unit 61 notifies the
ステップS72において、指先位置計算部63は、指先座標取得処理を実行して、指先位置となる座標を取得する。この処理は、図6を参照して説明したステップS42乃至S47の処理と同様の処理であるので、説明は省略する。すなわち、指先位置の座標となる指先候補領域となる座標群の代表座標が、各指先の座標として取得される。
In step S <b> 72, the fingertip
ステップS73において、手形状推定部65は、指先位置エリア認識部101を制御して、指先候補領域となる画素の座標が検出されていないか否かを判定する。ステップS73において、例えば、手形状が、じゃんけんのいわゆる「グー」の形状であるような場合、指先位置が検出されないことになるので、指先候補領域となる座標が検出されないとみなされ、手形状での入力情報の入力意思があるものとみなされて、処理は、ステップS74に進む。
In step S <b> 73, the hand
ステップS74において、手形状推定部65は、演出用の制御部31に対して手形状での入力意思を示す手形状が示されたことを示す情報を供給する。この情報に基づいて、演出用の制御部31は、手形状での入力意思が確認できたことを示す情報と共に、入力したい手形状を示すように促す画像を生成して、表示部22に表示させる。このような表示により、遊技者は、本来入力情報として入力したい手形状の呈示を開始すべきタイミングを認識することが可能となる。
In step S <b> 74, the hand
ステップS75において、ステップS72における場合と同様に、指先位置の座標となる指先候補領域となる座標群の代表座標が、各指先の座標として取得される。 In step S75, as in the case of step S72, the representative coordinates of the coordinate group serving as the fingertip candidate area serving as the coordinates of the fingertip position are acquired as the coordinates of each fingertip.
ステップS76において、手形状推定部65は、指先位置エリア認識部101を制御して、指先候補領域となる座標が検出されていないか否かを判定する。例えば、図9の画像P11で示されるように、いわゆる、「チョキ」または「Vサイン」と呼ばれるように、人差し指と中指を立てた状態が手形状として呈示された場合、指先位置の座標は、人差し指、および中指の先端部分となる。このような場合、指先候補領域が検出されたものとみなして、処理は、ステップS77に進む。
In step S76, the hand
ステップS77において、手形状推定部65は、指先位置エリア認識部101を制御して、指先候補領域の各群の代表座標が、予め入力画像内に設定されたエリアのどのエリアに現れているのかを認識する。すなわち、エリアとは、例えば、図9のエリアパターンA1で示されるように、手形状となる画像の重心位置を中心として、画像を放射状に分割したものであり、図9においては、8分割された領域Z0乃至Z7がそれぞれエリアを構成している。さらに、図9の画像P11で示されるように、人差し指と中指が上方向に立てられている場合、図9のエリアパターンA1において灰色で示されるように、指先位置の属するエリアとして領域Z0,Z7が認識される。尚、エリアを設定するための画像の分割数は、8分割以外の分割数でもよい。
In step S77, the hand
また、例えば、図9の画像P12で示されるように、人差し指と親指が立てられていて、人差し指が図中左方向を指している場合、エリアパターンA2において灰色で示されるように、指先位置の属するエリアとして領域Z5,Z7が認識される。同様に、例えば、図9の画像P13で示されるように、人差し指と中指が立てられていて、人差し指と中指がいずれも図中左方向を指している場合、エリアパターンA3において灰色で示されるように、指先位置の属するエリアとして領域Z5,Z6が認識される。 Further, for example, as shown in the image P12 of FIG. 9, when the index finger and the thumb are set up and the index finger points to the left in the figure, the fingertip position is indicated as shown in gray in the area pattern A2. Areas Z5 and Z7 are recognized as the area to which they belong. Similarly, for example, as shown in the image P13 of FIG. 9, when the index finger and the middle finger are raised and both the index finger and the middle finger are pointing leftward in the figure, the area pattern A3 is shown in gray. In addition, areas Z5 and Z6 are recognized as areas to which the fingertip position belongs.
すなわち、図9の画像P11,P13で示されるように、同一の手形状であっても、上述したように放射状に8分割することにより、手形状の方向や向きを変える事でその他ののエリアパターンを構成することが可能となり、単純に手形状を構成するだけでも、その向きを変えるだけで様々なエリアパターンを表現することが可能となる。また、表現されるべきものは、手形状による入力情報であるが、実質的には、指先のエリアパターンの組み合わせであるので、複雑な手形状を作らなくても、エリアパターンさえ表現できれば、様々なパターンを表現することができる。 That is, as shown in images P11 and P13 in FIG. 9, even if the hand shape is the same, other areas can be obtained by changing the direction and direction of the hand shape by dividing the hand shape into eight as described above. It is possible to configure a pattern, and it is possible to express various area patterns by simply changing the direction even by simply configuring a hand shape. In addition, what should be expressed is input information by hand shape, but since it is essentially a combination of fingertip area patterns, various types of information can be used as long as the area pattern can be expressed without creating a complicated hand shape. Simple patterns can be expressed.
ステップS78において、推定部103は、エリアパターン記憶部102に予め入力情報毎に登録されているエリアパターンの中に、指先位置エリア認識部101により認識されたエリアパターンと一致するものが登録されているか否かを判定する。ステップS78において、一致するエリアパターンが存在する場合、ステップS79において、推定部103は、一致したエリアパターンに対応付けて登録されている入力情報を推定結果として制御部31に出力する。
In step S <b> 78, the
ステップS80において、制御部31は、表示部22に推定結果として推定部103より供給されてきた入力情報を表示する。
In step S80, the
一方、ステップS76において、指先候補領域が検出されない場合、ステップS81において、手形状推定部65は、手形状での入力意思が確認されてから所定の時間が経過したか否かを判定し、所定時間が経過していない場合、処理は、ステップS74に戻る。すなわち、所定時間が経過するまでは、手形状の入力がないとみなされた場合、ステップS74乃至S76,S81の処理が繰り返されて、手形状での入力の受付を継続し続ける。
On the other hand, if the fingertip candidate area is not detected in step S76, in step S81, the hand
ステップS81において、所定時間が経過した場合、または、ステップS73において、指先候補領域が存在しない場合、処理は、ステップS82に進む。 If it is determined in step S81 that the predetermined time has elapsed, or if no fingertip candidate area exists in step S73, the process proceeds to step S82.
ステップS82において、手形状での入力意思を示すように促してから所定時間が経過したか否かを判定する。ステップS82において、手形状での入力意思を示すように促してから所定時間が経過していない場合、処理は、ステップS71に戻る。すなわち、再び、手形状での入力意思を示すように促す画像が表示されて、最初からの処理となる。一方、ステップS82において、手形状での入力意思を示すように促してから所定時間が経過した場合、または、ステップS78において、エリアパターン記憶部102に予め入力情報毎に登録されているエリアパターンの中に、指先位置エリア認識部101により認識されたエリアパターンと一致するものが登録されていない場合、処理は、ステップS83に進む。
In step S82, it is determined whether or not a predetermined time has elapsed since the user's intention to input with a hand shape is prompted. If it is determined in step S82 that the predetermined time has not elapsed since the input intention with the hand shape is prompted, the process returns to step S71. In other words, an image prompting the user to input his / her hand shape is displayed again, and the processing from the beginning is performed. On the other hand, in step S82, when a predetermined time elapses after prompting the user to indicate the input intention in the hand shape, or in step S78, the area pattern registered in advance for each input information in the area
ステップS83において、推定部103は、所定の手形状に対応付けて登録されているエリアパターンの入力情報を推定結果として制御部31に出力する。
In step S83, the
ステップS84において、制御部31は、表示部22に推定結果として推定部103より供給されてきた所定の手形状に対応付けて登録されているエリアパターンの入力情報を表示する。
In step S84, the
すなわち、手形状による入力が見られない場合であっても、所定の手形状による入力があったものとみなして処理を進める。これは、通常、遊技台の演出においては、何らかの入力情報なければ、次の演出動作を実現できない構成となっていることが多いためであり、遊技者が何らかの理由で手形状による入力動作をしなくても、演出動作が停止することの無い様にするためである。 In other words, even if input by hand shape is not seen, the processing proceeds by assuming that there is input by a predetermined hand shape. This is because, in general, in the production of a game stand, the next production operation cannot be realized unless there is some input information, and the player performs an input operation with a hand shape for some reason. This is to prevent the production operation from stopping even if it is not.
以上の処理により、簡単な手形状を片手で作り、適当な方向に向け、エリアパターンを構成するだけで様々な入力情報を入力することが可能となる。すなわち、上述の実施例においては、手形状の重心位置を中心として放射線状に8のエリアに区分した場合、片手で5本の指を使うことで、56通り(=8!/(3!×5!))となり、簡単な手形状の構成のみで多くの入力情報を入力することが可能となる。さらに、手形状の推定結果を連続的に複数個組み合わせて入力情報を構成することで、片手による非接触の簡単な手形状による入力動作で、より多くの入力情報を入力することも可能となる。 With the above processing, it is possible to input various input information simply by creating a simple hand shape with one hand and directing it in an appropriate direction to form an area pattern. That is, in the above-described embodiment, when the hand-shaped center of gravity is divided into 8 areas radially, 56 ways (= 8! / (3! ×) are obtained by using 5 fingers with one hand. 5!)), And it becomes possible to input a large amount of input information only with a simple hand-shaped configuration. Furthermore, it is possible to input more input information with an input operation with a simple non-contacting hand shape with one hand by composing input information by continuously combining a plurality of hand shape estimation results. .
ここで、図5のフローチャートの説明に戻る。 Now, the description returns to the flowchart of FIG.
ステップS18の手形状推定処理により推定された手形状に対応する入力情報が出力されると、ステップS19において、制御部31は、推定された手形状に対応する入力情報を取得する。
When the input information corresponding to the hand shape estimated by the hand shape estimation process in step S18 is output, in step S19, the
一方、ステップS17において、手形状推定処理による入力情報の受付ではないと判定された場合、処理は、ステップS20に進む。 On the other hand, if it is determined in step S17 that the input information is not received by the hand shape estimation process, the process proceeds to step S20.
ステップS20において、演出状態判定部61は、認識した演出状態、または入力切替操作が回転検出処理による入力情報を受け付けるものであるか否かを判定する。ステップS20において、例えば、回転検出処理による入力情報を受け付けるものである場合、処理は、ステップS21に進む。 In step S20, the effect state determination unit 61 determines whether or not the recognized effect state or the input switching operation is to receive input information by the rotation detection process. In step S20, for example, when the input information by the rotation detection process is received, the process proceeds to step S21.
ステップS21において、操作条件切替部62は、演出状態判定部61により認識された回転検出処理による入力情報を受け付ける操作条件に切り替えて、回転検出処理による入力情報を受付させる。 In step S <b> 21, the operation condition switching unit 62 switches to an operation condition for accepting input information based on the rotation detection process recognized by the effect state determination unit 61 and accepts input information based on the rotation detection process.
[回転検出処理]
ここで、図10のフローチャートを参照して、回転検出処理について説明する。
[Rotation detection processing]
Here, the rotation detection process will be described with reference to the flowchart of FIG.
ステップS101において、演出状態判定部61は、回転動作による入力情報を受け付けることを制御部31に供給する。制御部31は、この情報に基づいて、回転動作による入力情報を受付ける状態となっており、指先を回転させて撮像素子41に撮像させるような、入力動作を促す画像を生成して表示部22に表示させる。
In step S <b> 101, the effect state determination unit 61 supplies the
ステップS102において、回転動作処理部66は、仮想ダイヤル回転角度計測部141を制御して、仮想ダイヤルの回転角度θを0度に初期化する。ここで、仮想ダイヤルとは、図11のエリアパターンA21で示される画像内の所定の中心位置より放射線状に8区分のエリアに分割し、かつ、中心部分に非検出エリアを設定したとき、各エリアをダイヤルに見立てたものである。このエリアパターンA21における領域Z0乃至Z7の設定は、非検出エリアを除き、図9を参照して説明したものと同様である。
In step S102, the rotation
ステップS103において、非検出エリア設定部142は、検出エリア、および非検出エリアを設定し初期化する。尚、後述するエリア補正処理により設定される中心位置に基づいて、図11のエリアパターンA21で示されるように、放射状にエリアを区分する。ここでは、各エリアは中心に対して45度ずつ、8区分に分割されて設定されている。また、図11におけるエリアパターンA21で示されるように、非検出エリアは、中心付近の矩形領域(灰色部分)として設定されている。尚、非検出エリアにおいても、上述した図9の場合の手形状を検出する場合と同様に指先の座標は検出されるが、ここでは、検出されていないものとみなして処理する領域として設定される。さらに、非検出エリア設定部142は、後述するエリア補正処理により補正量が求められている場合、直前に設定された検出エリア、および非検出エリアの中心位置をその補正量分だけずらして、非検出エリア、および検出エリアを設定する。 In step S103, the non-detection area setting unit 142 sets and initializes the detection area and the non-detection area. In addition, based on the center position set by the area correction process to be described later, the areas are radially divided as indicated by an area pattern A21 in FIG. Here, each area is set by dividing it into 8 sections, 45 degrees with respect to the center. Further, as indicated by an area pattern A21 in FIG. 11, the non-detection area is set as a rectangular area (gray portion) near the center. In the non-detection area, the coordinates of the fingertip are detected in the same manner as in the case of detecting the hand shape in the case of FIG. 9 described above, but here it is set as an area to be processed by assuming that it is not detected. The Further, when the correction amount is obtained by an area correction process described later, the non-detection area setting unit 142 shifts the detection area set immediately before and the center position of the non-detection area by the correction amount to Set the detection area and detection area.
ステップS104において、指先位置計算部63は、指先追跡処理を実行して、手形状のうち、最も長い指先の座標、すなわち、手形状の重心位置から最も遠い座標を検出する。尚、指先追跡処理については、図6のフローチャートを参照して説明した処理と同様であるので、その説明は省略するものとする。
In step S104, the fingertip
ステップS105において、指先位置計算部63は、指先の座標が検出されたか否かを判定し、指先の座標が検出されない場合、処理は、ステップS104に戻る。すなわち、指先の座標が検出されるまで、ステップS104,S105の処理が繰り返される。そして、ステップS105において、指先の座標が検出された場合、処理は、ステップS106に進む。
In step S105, the fingertip
ステップS106において、検出エリア特定部143は、指先位置計算部63により検出された指先の座標と、検出エリアAr1を特定し、検出エリア記憶部144に、検出された時刻t1と共に記憶させる。
In step S106, the detection area specifying unit 143 specifies the coordinates of the fingertips detected by the fingertip
ステップS107において、指先位置計算部63は、指先追跡処理を実行して、手形状のうち、最も長い指先の座標を検出する。尚、指先追跡処理については、図6のフローチャートを参照して説明した処理と同様であるので、その説明は省略するものとする。
In step S107, the fingertip
ステップS108において、指先位置計算部63は、指先の座標が検出されたか否かを判定し、指先の座標が検出されない場合、処理は、ステップS107に戻る。すなわち、指先の座標が検出されるまで、ステップS107,S108の処理が繰り返される。そして、ステップS108において、指先の座標が検出された場合、処理は、ステップS109に進む。
In step S108, the fingertip
ステップS109において、検出エリア特定部143は、指先位置計算部63により検出された指先の座標と、検出エリアAr2とを特定し、検出エリア記憶部144に、検出された時刻t2と共に記憶させる。
In step S109, the detection area specifying unit 143 specifies the coordinates of the fingertips detected by the fingertip
ステップS110において、回転方向特定部145は、検出エリア記憶部144に記憶されている時刻t1,t2のそれぞれの検出された指先の座標のエリアが一致するか否かを判定する。すなわち、例えば、図11のエリアパターンA21の場合、時刻t1において、指先の座標位置r2が検出され、時刻t2において、指先の座標位置r3が検出されると、いずれも検出されたエリアは、エリアZ1となるため、検出エリアが一致したものとみなされて、処理は、ステップS116に進むこととなる。
In step S110, the rotation
一方、図11のエリアパターンA21の場合、時刻t1において、指先の座標位置r5が検出され、時刻t2において、指先の座標位置r6が検出されると、検出されたエリアAr1,Ar2は、それぞれエリアZ2,Z3となるため、検出エリアが一致しないものとみなされて、処理は、ステップS111に進むこととなる。 On the other hand, in the case of the area pattern A21 of FIG. 11, when the coordinate position r5 of the fingertip is detected at time t1, and the coordinate position r6 of the fingertip is detected at time t2, the detected areas Ar1 and Ar2 Since it becomes Z2 and Z3, it is regarded that the detection areas do not coincide with each other, and the process proceeds to step S111.
ステップS111において、回転方向特定部145は、検出エリアAr2が検出エリアAr1の右回転方向の隣接エリアであるか否かを判定する。すなわち、図11のエリアパターンA21の場合、時刻t1において、指先の座標位置r5が検出され、時刻t2において、指先の座標位置r6が検出されると、検出されたエリアAr1,Ar2は、それぞれエリアZ2,Z3となるため、検出エリアAr2=Z3は、検出エリアAr1=Z2の右回転方向の隣接エリアとなるため、処理は、ステップS112に進む。
In step S111, the rotation
ステップS112において、回転方向特定部145は、指先の回転方向は、右回転(時計回り)であるものとみなす。
In step S112, the rotation
ステップS113において、回転速度計算部146は、回転角度の角速度を計算する。すなわち、図11の場合、中心位置から放射状に45度ずつ区分されているので、45度の単位の変化を、変化時間(t2−t1)により成された角速度として計算する。尚、回転速度として認識できる情報であれば、角速度に限定されるものではなく、例えば、角速度に代えて単位時間当たりの回転数を求めるようにしてもよい。 In step S113, the rotation speed calculation unit 146 calculates the angular velocity of the rotation angle. That is, in the case of FIG. 11, since 45 degrees are divided radially from the center position, the change in units of 45 degrees is calculated as the angular velocity formed by the change time (t2-t1). Note that the information is not limited to the angular speed as long as it can be recognized as the rotational speed. For example, the rotational speed per unit time may be obtained instead of the angular speed.
ステップS114において、仮想ダイヤル回転角度計測部141は、変化した角度分だけ仮想ダイヤル回転角度θをインクリメントする。すなわち、今の場合、仮想ダイヤルが隣接エリアに移動しているのみであり、回転角度は45度であるので、仮想ダイヤル回転角度θを(θ+45)度とする。 In step S114, the virtual dial rotation angle measurement unit 141 increments the virtual dial rotation angle θ by the changed angle. That is, in this case, since the virtual dial is only moved to the adjacent area and the rotation angle is 45 degrees, the virtual dial rotation angle θ is set to (θ + 45) degrees.
ステップS115において、検出エリア特定部144は、検出エリアAr1を検出エリアAr2に更新すると共に、時刻t1を時刻t2に更新する。
In step S115, the detection
ステップS116において、回転検出処理による入力情報の入力処理が終了されたか否かを判定し、終了していない場合、処理は、ステップS107に戻り、そして、終了とされた場合、処理は終了する。 In step S116, it is determined whether or not the input information input process by the rotation detection process has been completed. If the input information has not been completed, the process returns to step S107. If the process has been completed, the process ends.
また、ステップS111において、検出エリアAr2がエリアAr1の右回転方向の隣接エリアではない、すなわち、右回り(時計回り)ではない場合、処理は、ステップS117に進む。 In step S111, if the detection area Ar2 is not an adjacent area in the right rotation direction of the area Ar1, that is, if it is not clockwise (clockwise), the process proceeds to step S117.
ステップS117において、回転方向特定部145は、検出エリアAr2は、検出エリアAr1の左回転方向の隣接エリアであるか否かを判定する。すなわち、図11のエリアパターンA21の場合、時刻t1において、指先の座標位置r6が検出され、時刻t2において、指先の座標位置r5が検出されると、検出されたエリアAr1,Ar2は、それぞれエリアZ3,Z2となるため、検出エリアAr2=Z2は、検出エリアAr1=Z3の左回転方向の隣接エリアとなるため、処理は、ステップS118に進む。
In step S117, the rotation
ステップS118において、回転方向特定部145は、指先の動きは、左回転(反時計回り)であるものとみなし、処理は、ステップS113に進む。
In step S118, the rotation
また、ステップS117において、検出エリアAr2は、検出エリアAr1の左回転方向の隣接エリアではない場合、すなわち、右回りでも左回りでもないので、回転していないものとみなし、処理は、ステップS116に進む。 In step S117, if the detection area Ar2 is not an adjacent area in the counterclockwise direction of the detection area Ar1, that is, it is not clockwise or counterclockwise, it is regarded as not rotating, and the process proceeds to step S116. move on.
以上の処理により指先の座標の回転に伴って検出エリアを順次切り替えながら、エリアが切り替わる際に回転方向と回転速度が検出され、さらに、回転角度がカウントされる。結果として、例えば、遊技者がカメラモジュール21の前で指先を回転させる動作をすると、その指先の回転動作により検出される回転角度、回転方向および回転速度に基づいて、図12の上部で示される画像22Aのように、フレームa乃至hを回転角度、回転方向と回転速度に基づいて、図中の矢印のように回転させて表示部22に表示させるような演出画像を生成することが可能となる。また、同様に、例えば、回転角度、回転方向、および回転速度に応じて、図12の下部で示される画像22Bのようなハートマークが左右に広がっていくような、または、中央位置に集まってくるような演出画像を、ハートマークが広がる、または集まる方向、位置、および速度を指先の回転に合わせて変化させながら生成することが可能となる。さらに、演出画像としては、これらに限られるものではなく、回転角度、回転方向、および回転速度をパラメータとした、その他の演出画像を構成するようにしてもよい。
While the detection areas are sequentially switched according to the rotation of the fingertip coordinates by the above processing, the rotation direction and the rotation speed are detected when the areas are switched, and the rotation angle is counted. As a result, for example, when the player performs an operation of rotating the fingertip in front of the
[エリア補正処理]
次に、図13のフローチャートを参照して、エリア補正処理について説明する。
[Area correction processing]
Next, the area correction process will be described with reference to the flowchart of FIG.
ステップS141において、回転軸補正部147は、演出状態判定部61により回転検出処理が実行されているか否かを判定し、回転検出処理が実行されるまで、同様の処理を繰り返す。例えば、上述した図10のフローチャートの処理が実行されると、処理は、ステップS142に進む。
In step S141, the rotation
ステップS142において、回転軸補正部147は、タイマ161を制御してタイマのカウンタTmを初期化する。
In step S142, the rotation
ステップS143において、回転軸補正部147は、タイマ16のカウンタTmを1インクリメントする。
In step S143, the rotation
ステップS144において、指先位置計算部63による指先座標追跡処理により指先の座標位置を検出する。尚、この処理は、図6のフローチャートを参照して説明した処理と同様であるので、その説明は省略する。
In step S144, the coordinate position of the fingertip is detected by the fingertip coordinate tracking process by the fingertip
ステップS145において、指先の座標が検出エリアが検出されたか否かを判定し、検出エリアで検出されない場合、処理は、ステップS143に戻る。すなわち、指先の座標が検出されるまで、ステップS143乃至S145の処理が繰り返される。 In step S145, it is determined whether or not the coordinates of the fingertip have been detected. If the detection area is not detected, the process returns to step S143. That is, the processes in steps S143 to S145 are repeated until the fingertip coordinates are detected.
ステップS146において、指先の座標が検出エリアで検出された場合、検出エリア記憶部144は、検出されたエリアを記憶する。
In step S146, when the coordinates of the fingertip are detected in the detection area, the detection
ステップS147において、検出エリア記憶部144は、検出された指先座標を記憶する。
In step S147, the detection
ステップS148において、回転判定部162は、タイマ161のカウンタTmを参照して、カウンタTmが所定値を超えて、回転が開始してから所定の時間が経過しているか否かを判定する。ステップS148において、例えば、所定の時間が経過していない場合、処理は、ステップS149に進む。
In step S148, the
ステップS149において、回転判定部162は、検出エリア記憶部144に記憶されている情報に基づいて、指先が1回転し、検出エリアとして全てのエリアが登録されており、1周分の指先の座標が登録されているか否かを判定する。ステップS149において、1回転していないとみなされた場合、処理は、ステップS143に戻る。すなわち、1回転したとみなされるまで、ステップS143乃至S149の処理が繰り返される。
In step S149, the
ステップS149において、1回転したものとみなされた場合、処理は、ステップS150に進む。 If it is determined in step S149 that the rotation has been made once, the process proceeds to step S150.
ステップS150において、重心計算部163は、検出エリア記憶部144に記憶されている指先の座標の1周分の情報を読み出し、それらの重心位置を求める。
In step S150, the center-of-
ステップS151において、軸補正部164は、今現在のエリアパターンを構成する中心位置と、求められた重心位置とのずれを求め、重心位置にエリアパターンを構成する中心位置が移動するように補正する補正量を求める。
In step S151, the
すなわち、図11の上部で示されるように、エリアパターンA21の中心位置と、座標位置r1乃至r13の重心として求められた重心位置Oとは異なる位置となっている。そこで、軸補正部164は、この中心位置と重心位置Oとのずれを求め、図11の下部のエリアパターンA22で示されるように、重心位置として求められた位置が中心となるような補正量を求める。この補正量が用いられて、上述した図10のフローチャートにおけるステップS103の処理において、検出エリア、および非検出エリアが直前に設定されていた場合、中心位置が補正量分だけずれた位置に非検出エリア、および検出エリアが設定される。
That is, as shown in the upper part of FIG. 11, the center position of the area pattern A21 is different from the center of gravity position O obtained as the center of gravity of the coordinate positions r1 to r13. Therefore, the
このように回転により検出される検出位置の座標に基づいて、エリアパターンを設定する検出エリアおよび非検出エリアの中心と、実際に検出される指先の座標の重心位置との差分が補正量として求められ、補正量分だけ中心位置が補正されることにより、個人差のある指先の回転位置のずれを適切に補正することが可能となり、より正確に回転角度、回転方向、および回転速度を計測することが可能となる。 Based on the coordinates of the detection position detected by the rotation in this way, the difference between the center of the detection area and the non-detection area where the area pattern is set and the center of gravity position of the fingertip coordinates actually detected is obtained as a correction amount. Since the center position is corrected by the correction amount, it is possible to appropriately correct the deviation of the rotation position of the fingertip with individual differences, and more accurately measure the rotation angle, rotation direction, and rotation speed. It becomes possible.
ここで、図5のフローチャートの説明に戻る。 Now, the description returns to the flowchart of FIG.
ステップS21において、回転検出処理がなされ、遊技者が手の指先を回転させることにより入力される回転角度、回転方向および回転速度が順次入力情報として出力される。 In step S21, rotation detection processing is performed, and a rotation angle, a rotation direction, and a rotation speed that are input when the player rotates the fingertip of the hand are sequentially output as input information.
ステップS22において、演出状態判定部61は、生成された指先の回転により得られる回転方向および回転速度からなる入力情報を取得し、演出用の制御部31に供給する。
In step S <b> 22, the effect state determination unit 61 acquires input information including a rotation direction and a rotation speed obtained by the generated rotation of the fingertip, and supplies the input information to the
さらに、ステップS20において、例えば、回転検出処理による入力情報を受け付けるものではない場合、ステップS23において、演出状態判定部61は、特定の入力情報を発生し、制御部31に供給する。この処理により、制御部31は、特定の入力情報が入力されたものとして演出画像を構成する。すなわち、上述したように演出画像は何らかの入力情報が入らなければ停止してしまうものもあるため、演出画像などが停止してしまうことのないようにするためにこのような処理が実行される。
Furthermore, in step S20, for example, when the input information by the rotation detection process is not received, the production state determination unit 61 generates specific input information and supplies it to the
以上の処理により撮像される手の画像に基づいて、指先の座標位置を移動させる入力情報、手形状による入力情報、および指先による回転動作による入力情報を切り替えて受け付けることが可能となる。結果として、遊技者は、手先を使うだけで、非接触で、かつ容易に入力情報を入力することが可能となる。 Based on the hand image picked up by the above processing, input information for moving the coordinate position of the fingertip, input information by the hand shape, and input information by the rotation operation by the fingertip can be switched and accepted. As a result, the player can easily input the input information in a non-contact manner only by using the hand.
尚、以上においては、指先をカメラモジュールにより撮像させて、指先の移動する軌跡を追跡させる、手形状を推定する、または回転検出させるといった例について説明してきたが、赤外光の照射によりカメラモジュールで撮像できるものであれば、手や指先に限るものではなく、その他のものでもよい。例えば、指先に代えて棒状のものを持って、指先のように使うようにしてもよい。この場合、棒状のものそのものの重心位置から最も遠い棒状の先端部が指先として認識されるため、上述した処理と同様の作用効果を奏することができる。また、手ではないが手と同様の動作ができるようなもの、例えば、グローブやマジックハンドによる指先や手形状でも、赤外光によりカメラモジュールで撮像可能であれば、上述した処理と同様の作用、効果を奏することができる。 In the above description, an example has been described in which the fingertip is imaged by the camera module, the trajectory of the fingertip moving is tracked, the hand shape is estimated, or the rotation is detected. As long as the image can be picked up with a hand, it is not limited to a hand or a fingertip, and other things may be used. For example, instead of a fingertip, a rod-shaped object may be held and used like a fingertip. In this case, since the rod-shaped tip portion farthest from the barycentric position of the rod-shaped object itself is recognized as the fingertip, the same effects as the above-described processing can be achieved. If the camera module can be imaged with infrared light even with a fingertip or hand shape with a glove or magic hand but not with a hand, for example, the same action as described above , Can have an effect.
ところで、上述した一連の処理は、ハードウェアにより実行させることもできるが、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、記録媒体からインストールされる。 By the way, the series of processes described above can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, a program constituting the software may execute various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a recording medium in a general-purpose personal computer or the like.
図14は、汎用のパーソナルコンピュータの構成例を示している。このパーソナルコンピュータは、CPU(Central Processing Unit)1001を内蔵している。CPU1001にはバス1004を介して、入出力インタフェース1005が接続されている。バス1004には、ROM(Read Only Memory)1002およびRAM(Random Access Memory)1003が接続されている。
FIG. 14 shows a configuration example of a general-purpose personal computer. This personal computer incorporates a CPU (Central Processing Unit) 1001. An input /
入出力インタフェース1005には、遊技者が操作コマンドを入力するキーボード、マウスなどの入力デバイスよりなる入力部1006、処理操作画面や処理結果の画像を表示デバイスに出力する出力部1007、プログラムや各種データを格納するハードディスクドライブなどよりなる記憶部1008、LAN(Local Area Network)アダプタなどよりなり、インターネットに代表されるネットワークを介した通信処理を実行する通信部1009が接続されている。また、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disc-Read Only Memory)、DVD(Digital Versatile Disc)を含む)、光磁気ディスク(MD(Mini Disc)を含む)、もしくは半導体メモリなどのリムーバブルメディア1011に対してデータを読み書きするドライブ1010が接続されている。
The input /
CPU1001は、ROM1002に記憶されているプログラム、または磁気ディスク、光ディスク、光磁気ディスク、もしくは半導体メモリ等のリムーバブルメディア1011から読み出されて記憶部1008にインストールされ、記憶部1008からRAM1003にロードされたプログラムに従って各種の処理を実行する。RAM1003にはまた、CPU1001が各種の処理を実行する上において必要なデータなども適宜記憶される。
The
尚、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理は、もちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理を含むものである。 In this specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in time series in the order described, but of course, it is not necessarily performed in time series. Or the process performed separately is included.
11 遊技台
21 カメラモジュール
22 表示部
31 制御部
41 撮像部
42 LED
43 制御部
61 演出状態判定部
62 操作条件切替部
63 指先位置計算部
64 指先追跡部
65 手形状推定部
66 回転動作処理部
11 gaming table 21
Claims (4)
前記画像内に含まれる手の指先の座標位置を取得する指先座標取得手段と、
前記画像を複数のエリアに区分するとき、前記指先座標取得手段により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識手段と、
前記手形状に対応付けて指先座標位置のエリアパターンを記憶する記憶手段と、
前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識手段により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定手段と、を含み、
前記推定手段は、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる手形状のうち、所定の手形状に対応付けて記憶されるエリアパターンと一致する場合、前記手形状による入力情報の供給が開始されたものとみなし、以降において、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる全ての手形状に対応付けて記憶されるエリアパターンのいずれかと一致するとき、一致した前記エリアパターンに対応付けて記憶されている手形状であるものと推定し、推定結果である手形状を入力情報として出力する画像処理装置。 An image processing apparatus for receiving input information of the player by a hand shape of the player's hand included in the image,
Fingertip coordinate acquisition means for acquiring the coordinate position of the fingertip of the hand included in the image;
An area pattern recognizing unit for recognizing a pattern of an area to which the fingertip coordinates acquired by the fingertip coordinate acquiring unit belong as an area pattern when dividing the image into a plurality of areas;
Storage means for storing an area pattern of fingertip coordinate positions in association with the hand shape;
Of the area patterns stored in the storage unit, the hand shape stored in association with the area pattern that matches the area pattern recognized by the area pattern recognition unit is the hand shape in the image. And estimating means for estimating as one and outputting the estimation result as input information by hand shape ,
When the area pattern recognized by the area pattern recognition means matches the area pattern stored in association with a predetermined hand shape among the hand shapes included in the storage means, the estimation means In the following, the area pattern recognized by the area pattern recognition unit is any of the area patterns stored in association with all the hand shapes included in the storage unit. An image processing apparatus that estimates that the hand shape is stored in association with the matched area pattern and outputs the hand shape that is the estimation result as input information when it matches .
請求項1に記載の画像処理装置。 The estimation means has a specific hand shape when the area pattern recognized by the area pattern recognition means does not match the area pattern stored in association with all the hand shapes included in the storage means. The image processing apparatus according to claim 1, wherein the hand shape as an estimation result is output as input information.
前記画像内に含まれる手の指先の座標位置を取得する指先座標取得手段と、
前記画像を複数のエリアに区分するとき、前記指先座標取得手段により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識手段と、
前記手形状に対応付けて指先座標位置のエリアパターンを記憶する記憶手段と、
前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識手段により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定手段と、を含み、
前記推定手段は、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる手形状のうち、所定の手形状に対応付けて記憶されるエリアパターンと一致する場合、前記手形状による入力情報の供給が開始されたものとみなし、以降において、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる全ての手形状に対応付けて記憶されるエリアパターンのいずれかと一致するとき、一致した前記エリアパターンに対応付けて記憶されている手形状であるものと推定し、推定結果である手形状を入力情報として出力する画像処理装置の画像処理方法であって、
前記指先座標取得手段における、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得ステップと、
前記エリアパターン認識手段における、前記画像を複数のエリアに区分するとき、前記指先座標取得ステップの処理により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識ステップと、
前記推定手段における、前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識ステップの処理により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定ステップと
を含む画像処理方法。 An image processing apparatus for receiving input information of the player by a hand shape of the player's hand included in the image,
Fingertip coordinate acquisition means for acquiring the coordinate position of the fingertip of the hand included in the image;
An area pattern recognizing unit for recognizing a pattern of an area to which the fingertip coordinates acquired by the fingertip coordinate acquiring unit belong as an area pattern when dividing the image into a plurality of areas;
Storage means for storing an area pattern of fingertip coordinate positions in association with the hand shape;
Of the area patterns stored in the storage unit, the hand shape stored in association with the area pattern that matches the area pattern recognized by the area pattern recognition unit is the hand shape in the image. And estimating means for estimating as one and outputting the estimation result as input information by hand shape ,
When the area pattern recognized by the area pattern recognition means matches the area pattern stored in association with a predetermined hand shape among the hand shapes included in the storage means, the estimation means In the following, the area pattern recognized by the area pattern recognition unit is any of the area patterns stored in association with all the hand shapes included in the storage unit. An image processing method of an image processing apparatus for estimating that the hand shape is stored in association with the matched area pattern, and outputting the hand shape as an estimation result as input information ,
A fingertip coordinate obtaining step for obtaining a coordinate position of a fingertip of a hand included in the image in the fingertip coordinate obtaining means;
In the area pattern recognition means, when dividing the image into a plurality of areas, an area pattern recognition step for recognizing an area pattern to which the fingertip coordinates acquired by the processing of the fingertip coordinate acquisition step belong as an area pattern;
The hand shape stored in association with the area pattern that matches the area pattern recognized by the process of the area pattern recognition step among the area patterns stored in the storage means in the estimation means is stored in the image. An image processing method comprising: an estimation step that estimates a hand shape of the hand inside and outputs an estimation result as input information based on the hand shape.
前記画像内に含まれる手の指先の座標位置を取得する指先座標取得手段と、
前記画像を複数のエリアに区分するとき、前記指先座標取得手段により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識手段と、
前記手形状に対応付けて指先座標位置のエリアパターンを記憶する記憶手段と、
前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識手段により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定手段と、を含み、
前記推定手段は、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる手形状のうち、所定の手形状に対応付けて記憶されるエリアパターンと一致する場合、前記手形状による入力情報の供給が開始されたものとみなし、以降において、前記エリアパターン認識手段により認識されるエリアパターンが、前記記憶手段に含まれる全ての手形状に対応付けて記憶されるエリアパターンのいずれかと一致するとき、一致した前記エリアパターンに対応付けて記憶されている手形状であるものと推定し、推定結果である手形状を入力情報として出力する画像処理装置を制御するコンピュータに、
前記指先座標取得手段における、前記画像内に含まれる手の指先の座標位置を取得する指先座標取得ステップと、
前記エリアパターン認識手段における、前記画像を複数のエリアに区分するとき、前記指先座標取得ステップの処理により取得された指先座標が属するエリアのパターンをエリアパターンとして認識するエリアパターン認識ステップと、
前記推定手段における、前記記憶手段に記憶されているエリアパターンのうち、前記エリアパターン認識ステップの処理により認識されたエリアパターンと一致するエリアパターンに対応付けて記憶されている手形状を、前記画像内における手の手形状であるものとして推定し、推定結果を手形状による入力情報として出力する推定ステップと
を含む処理を実行させるプログラム。 An image processing apparatus for receiving input information of the player by a hand shape of the player's hand included in the image,
Fingertip coordinate acquisition means for acquiring the coordinate position of the fingertip of the hand included in the image;
An area pattern recognizing unit for recognizing a pattern of an area to which the fingertip coordinates acquired by the fingertip coordinate acquiring unit belong as an area pattern when dividing the image into a plurality of areas;
Storage means for storing an area pattern of fingertip coordinate positions in association with the hand shape;
Of the area patterns stored in the storage unit, the hand shape stored in association with the area pattern that matches the area pattern recognized by the area pattern recognition unit is the hand shape in the image. And estimating means for estimating as one and outputting the estimation result as input information by hand shape ,
When the area pattern recognized by the area pattern recognition means matches the area pattern stored in association with a predetermined hand shape among the hand shapes included in the storage means, the estimation means In the following, the area pattern recognized by the area pattern recognition unit is any of the area patterns stored in association with all the hand shapes included in the storage unit. A computer that controls the image processing apparatus that outputs the hand shape that is the estimation result as input information, presuming that the hand shape is stored in association with the matched area pattern .
A fingertip coordinate obtaining step for obtaining a coordinate position of a fingertip of a hand included in the image in the fingertip coordinate obtaining means;
In the area pattern recognition means, when dividing the image into a plurality of areas, an area pattern recognition step for recognizing an area pattern to which the fingertip coordinates acquired by the processing of the fingertip coordinate acquisition step belong as an area pattern;
The hand shape stored in association with the area pattern that matches the area pattern recognized by the process of the area pattern recognition step among the area patterns stored in the storage means in the estimation means is stored in the image. A program for executing a process including: an estimation step for estimating a hand shape in the hand and outputting an estimation result as input information based on the hand shape.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010281268A JP5720231B2 (en) | 2010-12-17 | 2010-12-17 | Image processing apparatus and method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010281268A JP5720231B2 (en) | 2010-12-17 | 2010-12-17 | Image processing apparatus and method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012125481A JP2012125481A (en) | 2012-07-05 |
| JP5720231B2 true JP5720231B2 (en) | 2015-05-20 |
Family
ID=46643230
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010281268A Active JP5720231B2 (en) | 2010-12-17 | 2010-12-17 | Image processing apparatus and method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5720231B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6331277B2 (en) * | 2013-07-01 | 2018-05-30 | 株式会社三洋物産 | Game machine |
| JP2018114344A (en) * | 2018-04-27 | 2018-07-26 | 株式会社三洋物産 | Game machine |
| JP2020099819A (en) * | 2020-04-03 | 2020-07-02 | 株式会社三洋物産 | Game machine |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0512448A (en) * | 1990-12-26 | 1993-01-22 | Omron Corp | Image recognizing device |
| JP3521187B2 (en) * | 1996-10-18 | 2004-04-19 | 株式会社東芝 | Solid-state imaging device |
| JP3857483B2 (en) * | 1999-12-28 | 2006-12-13 | 株式会社東芝 | Exposure method |
| JP2005040163A (en) * | 2003-07-22 | 2005-02-17 | Daiman:Kk | Game machine |
| JP2009042796A (en) * | 2005-11-25 | 2009-02-26 | Panasonic Corp | Gesture input device and method |
| JP5378815B2 (en) * | 2009-01-28 | 2013-12-25 | 株式会社三共 | Game machine |
-
2010
- 2010-12-17 JP JP2010281268A patent/JP5720231B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012125481A (en) | 2012-07-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9465980B2 (en) | Pose tracking pipeline | |
| US9892316B2 (en) | Method and apparatus for pattern tracking | |
| US8411149B2 (en) | Method and device for identifying and extracting images of multiple users, and for recognizing user gestures | |
| KR101581594B1 (en) | Real time billiard assistant system | |
| CN110232311A (en) | Dividing method, device and the computer equipment of hand images | |
| EP2869264A1 (en) | Information processing device and information processing method | |
| JP2001101429A (en) | Face observation method, face observation device, and recording medium for face observation processing | |
| US9557836B2 (en) | Depth image compression | |
| US20120119991A1 (en) | 3d gesture control method and apparatus | |
| JP5720231B2 (en) | Image processing apparatus and method, and program | |
| US20240020874A1 (en) | Device, computer program and method | |
| CN108375772A (en) | Detecting system, detection device and detection method | |
| JP2010137097A (en) | Game machine and information storage medium | |
| JP4885867B2 (en) | POSITION INFORMATION DETECTING DEVICE, POSITION INFORMATION DETECTING METHOD, AND POSITION INFORMATION DETECTING PROGRAM | |
| JP5561145B2 (en) | Image processing apparatus and method, and program | |
| CN113238705A (en) | Virtual keyboard interaction method and system | |
| JP4533037B2 (en) | Offside line detection device and program thereof | |
| JP2006130123A (en) | GAME DEVICE AND GAME PROGRAM RUNNED IN THE SAME | |
| WO2008105545A1 (en) | Information extracting method, registering device, collating device and program | |
| JP7239231B1 (en) | Judgment system, judgment method and computer program | |
| JP6708540B2 (en) | Game device and program | |
| JP2006102390A (en) | GAME DEVICE, GAME CONTROL PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM | |
| KR101759631B1 (en) | Method for providing user interface for card game, and server and computer-readable recording media using the same | |
| Ranasinghe et al. | ChessEye: an integrated framework for accurate and efficient chessboard reconstruction | |
| JP6168334B2 (en) | Nail state determination device and nail state determination program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130906 |
|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20131015 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140620 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140624 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140822 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20150224 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150309 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5720231 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |