CardRecog is an app that recognizes playing cards from a standard deck. There are five modes that can be chosen in the settings; multiple, single, update, pre-flop and raw. You touch the screen to start recognition, hold the camera still, put some cards in front, and wait. You stay in recognition mode until you touch the screen again to return to idle mode. Once recognition occurs the recognized cards are displayed and sometimes spoken.
In raw mode recognized cards are shown without filtering and in real-time. In other modes once recognition occurs no further cards will be recognized unless you restart the recognition process. There are two ways to do this; the easiest is remove all cards from view for around 1/2 second, and then place the cards to be recognized in front of the camera. The second way is to touch the screen to stop recognition and go to idle, and touch the screen again to start recognition. The file http://www.kgrothapps.com/files/cardrecog-example.pdf has some example hands. If you do not own a set of Bicycle playing cards print the page and try recognition of the hands.
When you start recognition the camera focuses (if possible), so if recognition fails you should touch the screen to stop, and then touch again to restart recognition to be sure you have an in focus image.You can also tilt the cards slightly to see if that improves results. If recognition fails for all cards then try setting the ISO (if it is in the settings) to the highest possible value, instead of the default automatic.
For devices with auto focus (i.e. Nexus line) recognition works well even for a large number of cards. However, you always need an in focus image, and reasonably bright lighting. For lower end devices recognition will work well in single card mode, but fewer cards are recognized successfully in multiple card mode. But even for low end devices (including those with no auto focus) recognition works well in single card mode.
In multiple card mode if the bottom of a card is visible that card is still only recognized once. In single card mode we look for the same card number and suit in both the top and bottom of the card. So both must be visible before the card is recognized in single card mode, but only one is required for recognition in multiple card mode. In single card mode if multiple cards are present recognition fails, you need exactly one card. In update mode we can add/remove a single card at a time to a hand of cards. In raw mode the unfiltered results are shown and you do not need to repeatedly restart recognition. The current mode is shown in the action bar text.
In the long run I will integrate this app with different card games. A simple integration is pre-flop mode where we show the percentage odds for the first two cards in hold em poker. I also perform standard blackjack card counting (can force display of count in the settings) to demonstrate another card application.
Most card recognition systems (i.e. the Blackjack counting detection systems) look for the card outline. In my method I do not require the outline of the cards, instead I only look at the card number and the associated suit. So as long as the suit and number are visible recognition will occur successfully; the rest of the card can be occluded. Skip to 1 minute, 23 seconds of the video below and you will see successful recognition of cards in the typical "fan" shape used in card games. No other system that I know of can perform multi-card recognition as accurately and quickly.
The app is real time in the sense that it is recognizing a number of times a second, as shown in raw mode. In the other modes the results are grouped to achieve a consensus, which is why it takes one or two seconds for a recognition result. I believe this is the best card recognition system for something like Google glass where you are looking at the cards in someone's hands. I welcome any comments, but remember this is not a final product, it is a technology demo.
CardRecog เป็น app ที่ตระหนักถึงการเล่นไพ่จากสำรับมาตรฐาน มีห้าโหมดที่สามารถเลือกในการตั้งค่าที่มี; หลายเดียวปรับปรุงก่อนปัดและดิบ คุณสัมผัสหน้าจอเพื่อเริ่มต้นรับรู้ถือกล้องยังคงใส่บัตรบางอย่างในด้านหน้าและรอ คุณจะอยู่ในโหมดการรับรู้จนคุณสัมผัสหน้าจออีกครั้งเพื่อกลับไปยังไม่ได้ใช้งานโหมด เมื่อรับรู้เกิดขึ้นได้รับการยอมรับบัตรจะมีการแสดงและการพูดบางครั้ง
ในโหมดดิบบัตรได้รับการยอมรับจะแสดงโดยไม่ต้องกรองและในเวลาจริง ในโหมดอื่น ๆ ที่ครั้งหนึ่งเคยได้รับการยอมรับเกิดขึ้นไม่มีบัตรต่อไปจะได้รับการยอมรับจนกว่าคุณจะเริ่มกระบวนการรับรู้ มีสองวิธีที่จะทำนี้; ที่ง่ายที่สุดคือเอาบัตรทั้งหมดจากมุมมองประมาณ 1/2 วินาทีและจากนั้นวางบัตรได้รับการยอมรับในด้านหน้าของกล้อง วิธีที่สองคือการสัมผัสหน้าจอเพื่อหยุดการรับรู้และไปที่ไม่ได้ใช้งานและสัมผัสหน้าจออีกครั้งเพื่อเริ่มรับรู้ http://www.kgrothapps.com/files/cardrecog-example.pdf ไฟล์มีมือตัวอย่างบางส่วน หากคุณไม่ได้เป็นเจ้าของชุดของจักรยานเล่นไพ่พิมพ์หน้าและพยายามที่ได้รับการยอมรับจากมือ
เมื่อคุณเริ่มได้รับการยอมรับกล้องโฟกัส (ถ้าเป็นไปได้) ดังนั้นหากได้รับการยอมรับล้มเหลวคุณควรสัมผัสหน้าจอที่จะหยุดและกดอีกครั้งเพื่อเริ่มการทำงานของการรับรู้เพื่อให้แน่ใจว่าคุณมีอยู่ในโฟกัส image.You ยังสามารถเอียงบัตรเล็กน้อยเพื่อดู ถ้าที่ช่วยเพิ่มผล หากได้รับการยอมรับล้มเหลวสำหรับบัตรทั้งหมดแล้วลองตั้งค่า ISO (ถ้ามันอยู่ในการตั้งค่า) เป็นค่าที่เป็นไปได้มากที่สุดแทนการเริ่มต้นโดยอัตโนมัติ
สำหรับอุปกรณ์ที่มีระบบออโต้โฟกัส (สาย Nexus IE) ได้รับการยอมรับทำงานได้ดีแม้เป็นจำนวนมากของบัตร แต่คุณมักจะต้องในการโฟกัสภาพและแสงที่สว่างพอสมควร สำหรับการสิ้นสุดการรับรู้อุปกรณ์ที่ต่ำกว่าจะทำงานได้ดีในโหมดบัตรเดียว แต่บัตรน้อยที่ประสบความสำเร็จได้รับการยอมรับในโหมดบัตรหลาย แต่แม้สำหรับอุปกรณ์ต่ำสุด (รวมถึงผู้ที่มีไม่มีระบบออโต้โฟกัส) การรับรู้ทำงานได้ดีในโหมดบัตรเดียว
ในโหมดบัตรหลายถ้าด้านล่างของบัตรจะมองเห็นได้ว่าบัตรยังคงได้รับการยอมรับเพียงครั้งเดียว ในโหมดบัตรเดียวที่เรามองหาหมายเลขบัตรเดียวกันและในชุดสูททั้งด้านบนและด้านล่างของบัตร ดังนั้นทั้งสองจะต้องสามารถมองเห็นได้ก่อนที่บัตรจะถูกบันทึกในโหมดบัตรเดียว แต่เพียงอย่างใดอย่างหนึ่งเป็นสิ่งจำเป็นสำหรับการรับรู้ในโหมดบัตรหลาย ในโหมดบัตรเดียวถ้าหลายบัตรได้รับการยอมรับในปัจจุบันล้มเหลวคุณต้องว่าบัตรเดียว ในโหมดการปรับปรุงเราสามารถเพิ่ม / ลบบัตรเดียวในเวลาที่จะถึงมือของบัตร ในโหมดดิบผลที่ไม่ได้กรองจะแสดงและคุณไม่จำเป็นต้องรีสตาร์ทซ้ำ ๆ ได้รับการยอมรับ โหมดปัจจุบันก็แสดงให้เห็นในการดำเนินการข้อความแถบ
ในระยะยาวเราจะบูรณาการการตรวจสอบนี้กับเกมการ์ดที่แตกต่างกัน บูรณาการง่ายๆคือโหมดก่อนปัดที่เราจะแสดงราคาต่อรองเปอร์เซ็นต์สำหรับไพ่สองใบแรกในการถือ em โป๊กเกอร์ ฉันยังดำเนินการบัตรกระบองมาตรฐานการนับ (สามารถบังคับให้การแสดงผลของการนับในการตั้งค่า) เพื่อแสดงให้เห็นถึงการประยุกต์ใช้บัตรอื่น
ส่วนใหญ่การ์ดระบบการรับรู้ (เช่นแบล็คแจ๊นับระบบตรวจจับ) มองหาร่างบัตร ในวิธีการของฉันฉันไม่จำเป็นต้องมีโครงร่างของบัตรแทนฉันมองไปที่หมายเลขบัตรและชุดสูทที่เกี่ยวข้อง ดังนั้นตราบใดที่เหมาะสมและจำนวนที่มีการรับรู้การมองเห็นจะเกิดขึ้นประสบความสำเร็จ; ส่วนที่เหลือของบัตรที่สามารถโดน ข้ามไป 1 นาที 23 วินาทีของวิดีโอด้านล่างและคุณจะเห็นการรับรู้ที่ประสบความสำเร็จของการ์ดในทั่วไป "แฟน" ทรงใช้ในเกมไพ่ ไม่มีระบบอื่น ๆ ที่ฉันรู้สามารถดำเนินการได้รับการยอมรับบัตรหลายอย่างถูกต้องและรวดเร็ว
app เป็นเวลาจริงในแง่ที่ว่ามันจะตระหนักถึงจำนวนครั้งที่สองตามที่แสดงในโหมดดิบ ในโหมดอื่น ๆ ผลจะถูกจัดกลุ่มเพื่อให้บรรลุฉันทามติซึ่งเป็นเหตุผลที่จะใช้เวลาหนึ่งหรือสองวินาทีสำหรับผลการรับรู้ ผมเชื่อว่านี่เป็นระบบที่ได้รับการยอมรับบัตรที่ดีที่สุดสำหรับสิ่งที่ต้องการแก้วของ Google ที่คุณกำลังมองหาที่บัตรอยู่ในมือของใครบางคน ผมยินดีต้อนรับความคิดเห็นใด ๆ แต่จำไว้นี้ไม่ได้เป็นผลิตภัณฑ์ขั้นสุดท้ายก็คือการสาธิตเทคโนโลยี