Python程序使用OpenCV可以从 Raspberry Pi 的 PiCamera 视频流中检测和识别扑克牌。如果对于它做了什么以及怎么做的感兴趣,请到项目官网查看。
项目网站:https://github.com/EdjeElectronics/OpenCV-Playing-Card-Detector
更多人工智能资源:http://www.tensorflownews.com/
Files
CardDetector.py contains the main script
Cards.py has classes and functions that are used by CardDetector.py
PiVideoStream.py creates a video stream from the PiCamera, and is used by CardDetector.py
Rank_Suit_Isolator.py is a standalone script that can be used to isolate the rank and suit from a set of cards to create train images
Card_Imgs contains all the train images of the card ranks and suits