TWM500316U - Control device for reducing misjudgment of recognizing photographed dice point - Google Patents
Control device for reducing misjudgment of recognizing photographed dice point Download PDFInfo
- Publication number
- TWM500316U TWM500316U TW103220187U TW103220187U TWM500316U TW M500316 U TWM500316 U TW M500316U TW 103220187 U TW103220187 U TW 103220187U TW 103220187 U TW103220187 U TW 103220187U TW M500316 U TWM500316 U TW M500316U
- Authority
- TW
- Taiwan
- Prior art keywords
- contour
- dice
- points
- identification
- identification program
- Prior art date
Links
Landscapes
- Image Analysis (AREA)
Description
本創作係一種降低誤判攝影辨識骰子點數之控制裝置,乃使攝影骰子之影像,經過三組或三組以上之辨識程式處理、分析、判別,而得增進判別點數之正確率之功效。This creation is a control device for reducing the number of dice judgments to identify the number of dice points. The image of the dice is processed, analyzed, and discriminated by three or more sets of recognition programs to improve the correct rate of discriminating points.
按,骰子型態如第1圖所示,係四方型塊,其各角予倒角而形成有「倒角區5」面積,各黑圓點間具有間距4。習知攝影辨識骰子點數之方式,如第2圖所示,係一電腦主機設有一辨識程式,攝影機拍攝骰子1、2、3影像後,將骰子1、2、3影像傳輸給電腦主機,電腦主機之辨識程式即對骰子1、2、3影像做轉為圖形檔、轉為圓點、與建檔中之骰子點比較等等之處理、分析、判別點數;上述,其實存在有下列問題而造成易發生判別點數錯誤:According to Fig. 1, the scorpion type is a square block, and the corners are chamfered to form a "chamfered area 5" area, and each black dot has a spacing of 4. The method of recognizing the number of dice points is as shown in Fig. 2. A computer host has an identification program. After the camera captures the images of dice 1, 2, and 3, the dice 1, 2, and 3 images are transmitted to the host computer. The identification program of the computer host is to process, analyze, and discriminate the number of dice 1, 2, and 3 images into a graphic file, turn it into a dot, compare it with the dice point in the file, etc. The problem is that the number of points is easy to occur:
(1)如第1圖所示,骰子1、2、3之各角具有倒角而形成「倒角區5」面積,該倒角區5經燈光照射時會產生「反光」效果,此反光呈一面積,而易使辨識程式判為「一點」,即是會造成誤判點數。(1) As shown in Fig. 1, each corner of the dice 1, 2, and 3 has a chamfered surface to form a "chamfered area 5" area, and the chamfered area 5 produces a "reflective" effect when illuminated by light. It is an area, and it is easy to make the identification program a "one point", which means that it will cause misjudgment.
(2)如果光線又恰巧在「六點(如第1圖骰子3所示)」之骰子間距4反光,因其間距4小,將造成無法判別點數。(2) If the light happens to be reflected at the "six points (as shown in Figure 1 of Figure 1)", the distance between the dice is 4, and the distance between the two is small, which will make it impossible to discriminate the number of points.
(3)如第1圖之兩骰子2、3相接觸,因距離縮短,可能發生將六點骰子3之一點判為另一二點骰子2之點,換言之,可能誤判為「一點、三點、五點」。(3) If the two dice 2 and 3 are in contact with each other in Figure 1, the distance between one of the six dice 3 may be judged as the other two dice 2 due to the shortened distance. In other words, it may be misjudged as "one point, three points". Five o'clock."
(4)如第1圖所示之一點骰子1、二點骰子2、六點骰子3,因一點骰子1及二點骰子2間有倒角區5之反光,而會誤判為「二點(將倒角區5之反光歸為骰子1之點數)、二點、六點」、或誤判為「二點、三點、六點」。(4) As shown in Figure 1, one point dice 1, two dice 2, six o'clock dice 3, because a little dice 1 and two dice 2 have a chamfered area 5 reflection, and will be mistakenly judged as "two points ( The reflection of the chamfering area 5 is classified as the number of points of the dice 1), two points, six points, or misjudged as "two points, three points, six points".
(5)換言之,因習知只採用「單一辨識程式」辨識,故其不正確率較高。(5) In other words, since the knowledge is only identified by the "single identification program", the rate of error is high.
請參閱第3、4圖,係一電腦主機連設一攝影機,其中,該電腦主機內具有第一、二、三及四辨識程式,該四組辨識程式可供選擇使用;該攝影機對準骰子拍攝其影像,並可將骰子影像傳輸至該電腦主機;該骰子影像係經由該電腦主機選擇三組或三組以上之辨識程式做處理、分析、判別點數,該電腦主機之數組辨識程式係設成具有將影像轉為灰階圖、搜尋輪廓、濾除非圓點輪廓功能,各組並各別具有消光、二值化、相連輪廓切割、三心演算法、距離演算法、測邊演算法、圖遮罩之功能,而可對骰子灰階圖做消除反光、形成黑白對比、圓點輪廓分割及分析、各圓點間距演算計數,達到正確判別骰子點數之功效。Please refer to Figures 3 and 4 for connecting a camera to a computer. The computer has first, second, third and fourth identification programs. The four groups of identification programs are available for selection. The camera is aligned with the dice. The image is captured and the dice image can be transmitted to the host computer; the dice image is selected by the host computer to select three or more sets of identification programs for processing, analyzing, and judging the number of points, and the computer host array identification program is It is designed to convert images into grayscale maps, search contours, and filter out contours of dots. Each group has extinction, binarization, connected contour cutting, three-heart algorithm, distance algorithm and edge-calculation algorithm. The function of the mask can be used to eliminate the reflection of the gray scale diagram of the dice, to form a black and white contrast, to divide and analyze the contour of the dot, and to calculate the counting of each dot spacing, so as to achieve the effect of correctly determining the number of dice points.
1、2、3‧‧‧骰子1, 2, 3‧‧‧ 骰子
4‧‧‧間距4‧‧‧ spacing
5‧‧‧倒角區5‧‧‧Chamfering area
第1圖,骰子示意圖Figure 1, the diagram of the dice
第2圖,習知之流程圖Figure 2, a flow chart of the prior art
第3圖,本創作之流程圖Figure 3, the flow chart of this creation
第4圖,本創作辨識程式組示意圖Figure 4, schematic diagram of the creation identification program group
首先說明本創作多組辨識程式之功能(如第4圖所示):First, the function of the multi-group identification program of this creation (as shown in Figure 4) is explained:
轉灰階圖:係將攝影拍攝之骰子彩色影像轉為灰階圖,灰階圖係由複數之小黑點構成圖案,黑點方可做為數位訊號比較。Gray-scale map: The color image of the dice photographed by the photo is converted into a gray scale map. The gray scale map is composed of a plurality of small black dots, and the black dot can be used as a digital signal comparison.
消光:係將骰子之倒角區5(如第1圖所示)反光、或其它處之反光,予消除,俾防止「反光面積」被誤判為是骰子之「點面積」。Extinction: The reflection of the chamfered area 5 (as shown in Fig. 1) of the dice, or other reflections, is eliminated, and the "reflective area" is prevented from being misidentified as the "point area" of the dice.
二值化:係將灰階圖予做「黑白對比」效果,換言之,灰階圖係骰子整體面呈淡灰色,而有骰子點被混淆之虞,因此需做加強黑白對比處理,即是使骰子之圓點呈黑色、其它面積呈白色化之效果。Binarization: The gray-scale image is given the effect of "black and white contrast". In other words, the overall surface of the gray-scale image is light gray, and the dice is confused. Therefore, it is necessary to strengthen the black-and-white contrast processing. The dots of the scorpion are black and the other areas are white.
相連輪廓切割:如第1圖所示之骰子3,因六點之骰子3各圓點間之間距4較小,故必需將各圓點做切割為各自獨立之點,俾避免多點混亂致誤判。Connected contour cutting: As shown in Figure 1, the dice 3, because the distance between the four dots of the dice 3 is smaller, it is necessary to cut the dots into separate points to avoid multiple chaos. Misjudgment.
搜尋輪廓:搜尋各切割圓點之圓形輪廓,並標定定點。Search for outlines: Search for the circular outline of each cut circle and calibrate the fixed point.
濾除非圓點輪廓:搜尋非是圓形之輪廓,例如,倒角區5之反光、或其它處之反光,該反光面積即是非圓形,並排除此非圓形輪廓不予計入點數。Filtering the outline of the dot: searching for a contour that is not a circle, for example, the reflection of the chamfered area 5, or other reflections, the reflective area is non-circular, and the non-circular outline is excluded from counting points. .
三心演算法:三心係指「中心、重心、圓心」,對一骰子之1~6點之分佈可採用三角定點座標形成中心、重心、圓心之幾何演算而判別點數。The three-hearted algorithm: the three-hearted system refers to the "center, center of gravity, and center of the circle". The distribution of 1~6 points of a scorpion can be determined by the geometrical calculation of the center, center of gravity, and center of the triangle.
距離演算法:係對多個骰子時,以各圓點之距離做為計算依據,超過兩點應有之距離即是另一點。Distance algorithm: When multiple pairs of dice are used, the distance between the dots is used as the basis for calculation. The distance beyond two points is another point.
測邊演算法:係以骰子體之邊緣與圓點之距離為計算依據,超過應有之距離即是一點。Edge-finding algorithm: Based on the distance between the edge of the scorpion body and the dot, the distance beyond the proper one is a point.
圖遮罩:係將搜尋之圓點輪廓與原本建立於資料庫中之骰子圓點圖形做結合呈一實圓圖。Figure mask: combines the contour of the searched dot with the dice pattern originally created in the database to form a real circle.
本創作可設有四組辨識程式:如第4圖所示,該第一辨識程式具有轉灰階圖、消光、二值化、相連輪廓切割、搜尋輪廓、濾除非圓點輪廓、三心演算法之處理功能;該第二辨識程式具有轉灰階圖、測邊演算法、搜尋輪廓、濾除非圓點輪廓、距離演算法之處理功能;該第三辨識程式具有轉灰階圖、搜尋輪廓、圖遮罩、二值化、相連輪廓切割、濾除非圓點輪廓、距離演算法之處理功能;該第四辨識程式具有轉灰階圖、搜尋輪廓、圖遮罩、測邊演算法、濾除非圓點輪廓、三心演算法之處理功能。This creation can be provided with four sets of recognition programs: as shown in Fig. 4, the first identification program has a gray scale map, extinction, binarization, connected contour cut, search contour, filter unless dot contour, three heart calculation The processing function of the method; the second identification program has a grayscale map, a edge-finding algorithm, a search contour, a filter function for filtering the outline of the dot, and a distance algorithm; the third recognition program has a grayscale map and a search contour , mask masking, binarization, connected contour cutting, filtering unless the dot contour, distance algorithm processing function; the fourth identification program has a grayscale map, search contour, graph mask, edge algorithm, filtering Unless the dot contour, the three-heart algorithm handles the function.
本創作之作用,茲再詳細說明如下:請再參閱第3圖,係先在電腦主機設定使用辨識程式之數量,其數量必需是三組或三組以上,而欲使用何組則依現場之燈光明亮度而定,例如:光線較亮則選用第一、三、四辨識程式,光線較暗則選用第二、三、四辨識程式。以選用第一、三、四辨識程式及辨識第1圖之骰子為例:攝影機拍攝骰子影像後,第一辨識程式將影像轉成灰階圖檔,再做消光、二值化、相連輪廓切割、搜尋輪廓、濾除非圓點輪廓、三心演算法之處理及分析;第三辨識程式亦將影像轉成灰階圖檔、搜尋輪廓、圖遮罩、二值化、相連輪廓切割、濾除非圓點輪廓、距離演算法之處理及分析;第四辨識程式亦將影像轉成灰階圖、搜尋輪廓、圖遮罩、測邊演算法、濾除非圓點輪廓、三心演算法之處理及分析;經上 述第一、三、四辨識程式之處理、分析,而可分別判別骰子之點數,此時再將三組辨識程式所判定之點數再做比對,以多數判定之點數為基準,例如:第一、四辨識程式皆判為「九點」、第三辨識程式判為「10點」,則以「9點」為準,換言之,可謂是由第一、三、四辨識程式投票表決點數,以多數認為之點數為準,此乃本創作之所以採用三組或三組以上辨識程式之獨特創意,以「多數辨識程式」之多重辨識,達到使判別點數錯誤率降低之功效。The role of this creation will be described in detail as follows: Please refer to Figure 3 again. The number of identification programs to be used in the computer host must be three or more sets, and the group to be used depends on the site. Depending on the brightness of the light, for example, the first, third and fourth identification programs are used for brighter light, and the second, third and fourth identification programs are used for darker light. Take the first, third and fourth identification programs and identify the dice in the first picture as an example: after the camera takes a dice image, the first recognition program converts the image into a grayscale image, and then extinction, binarization, and continuous contour cutting. , search for contours, filter unless the contour of the dot, the processing and analysis of the three-hearted algorithm; the third recognition program also converts the image into grayscale image, search contour, map mask, binarization, connected contour cutting, filtering The contour of the dot and the processing and analysis of the distance algorithm; the fourth recognition program also converts the image into a grayscale map, a search contour, a graph mask, a edge-measure algorithm, a filter unless the dot contour, and a three-heart algorithm are processed. Analysis The first, third, and fourth identification programs are processed and analyzed, and the number of points of the dice can be separately determined. At this time, the points determined by the three sets of identification programs are compared, and the majority of the points are used as a reference. For example, the first and fourth identification programs are judged as "9 points" and the third identification program is judged as "10 points". The "9 points" is the standard. In other words, it can be said that the first, third and fourth identification programs vote. The number of votes is based on the majority of the points considered. This is the unique idea of using three or more sets of recognition programs. The multiple identifications of the "majority identification program" are used to reduce the error rate of the points. The effect.
綜上所述,本創作之控制裝置確實是前所未有之創作,且具有提高判別點數正確率之功效,誠符合專利之規定,懇請賜准專利。In summary, the control device of this creation is indeed an unprecedented creation, and has the effect of improving the correct rate of discriminating points. It is in line with the patent regulations, and please grant a patent.
1、2、3‧‧‧骰子1, 2, 3‧‧‧ 骰子
4‧‧‧間距4‧‧‧ spacing
5‧‧‧倒角區5‧‧‧Chamfering area
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103220187U TWM500316U (en) | 2009-02-27 | 2009-02-27 | Control device for reducing misjudgment of recognizing photographed dice point |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103220187U TWM500316U (en) | 2009-02-27 | 2009-02-27 | Control device for reducing misjudgment of recognizing photographed dice point |
Publications (1)
Publication Number | Publication Date |
---|---|
TWM500316U true TWM500316U (en) | 2015-05-01 |
Family
ID=53722118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103220187U TWM500316U (en) | 2009-02-27 | 2009-02-27 | Control device for reducing misjudgment of recognizing photographed dice point |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWM500316U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10849815B2 (en) | 2016-12-20 | 2020-12-01 | Rehabotics Medical Technology Corporation | Wearable hand rehabilitation system |
-
2009
- 2009-02-27 TW TW103220187U patent/TWM500316U/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10849815B2 (en) | 2016-12-20 | 2020-12-01 | Rehabotics Medical Technology Corporation | Wearable hand rehabilitation system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109816644B (en) | Bearing defect automatic detection system based on multi-angle light source image | |
EP1991946B1 (en) | Approaches and apparatus for eye detection in a digital image | |
CN102426649B (en) | Simple steel seal digital automatic identification method with high accuracy rate | |
US10496871B2 (en) | Fake-finger determination device, fake-finger determination method, and fake-finger determination program | |
CN110569857B (en) | Image contour corner detection method based on centroid distance calculation | |
JP2007501465A (en) | Biometric imaging system and method | |
WO2018170937A1 (en) | Marker for occluding foreign matter in acquired image, method for recognizing foreign matter marker in image and book scanning method | |
CN110032946B (en) | Aluminum/aluminum blister packaging tablet identification and positioning method based on machine vision | |
CN109726717A (en) | A kind of vehicle comprehensive information detection system | |
CN104077594A (en) | Image recognition method and device | |
KR20160037305A (en) | Method for User Authentication using Fingerprint Recognition | |
CN111476246A (en) | Robust and efficient intelligent reading method for pointer instrument applied to complex environment | |
TWI543117B (en) | Method for recognizing and locating object | |
Gamassi et al. | Fingerprint local analysis for high-performance minutiae extraction | |
CN114332058A (en) | Serum quality identification method, device, equipment and medium based on neural network | |
KR101021134B1 (en) | Apparatus and methode for extracting the direction of fingerprint | |
CN113283439A (en) | Intelligent counting method, device and system based on image recognition | |
JPH09229646A (en) | Object recognition method | |
CN112036391A (en) | Electronic inspection method and system based on shale gas field production station | |
CN114155179A (en) | Light source defect detection method, device, equipment and storage medium | |
KR101249374B1 (en) | Apparatus and method for detecting target shape from image | |
TWM500316U (en) | Control device for reducing misjudgment of recognizing photographed dice point | |
CN110866917A (en) | Tablet type and arrangement mode identification method based on machine vision | |
CN114594102B (en) | Machine vision-based data line interface automatic detection method | |
JP4991278B2 (en) | Image processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MK4K | Expiration of patent term of a granted utility model |