• 大小: 7.23M
    文件类型: .zip
    金币: 2
    下载: 2 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 识别  扑克牌  扑克  程序  

资源简介

打开摄像头后,可识别移动/倾斜的扑克牌,图一是 手机上找到的扑克牌,也识别出来了

资源截图

代码片段和文件信息

using System;
using System.Drawing;
using AForge;
using AForge.Imaging.Filters;

using Point = System.Drawing.Point;

namespace PlayingCardRecognition
{
    /// 
    /// Rank enumeration
    /// 

    public enum Rank
    {
        NOT_RECOGNIZED = 0
        Ace = 1
        Two
        Three
        Four
        Five
        Six
        Seven
        Eight
        Nine
        Ten
        Jack
        Queen
        King
    }
    /// 
    /// Suit enumeration
    /// 

    public enum Suit
    {
        NOT_RECOGNIZED = 0
        Hearts
        Diamonds
        Spades
        Clubs
    }
    /// 

    /// Class represents recognized playing card. Contains properties of card such as ; 
   

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-08-27 23:37  cardRecognitionSampleImages\
     目录           0  2018-08-27 23:35  cardRecognitionSampleImages\.vs\
     目录           0  2018-08-27 23:40  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\
     目录           0  2018-08-27 23:40  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\DesignTimeBuild\
     文件         664  2018-08-27 23:40  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\DesignTimeBuild\.dtbcache
     目录           0  2018-08-27 23:36  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\v15\
     文件       79872  2018-08-27 23:40  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\v15\.suo
     目录           0  2018-08-27 23:36  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\v15\Server\
     目录           0  2018-08-27 23:36  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\v15\Server\sqlite3\
     文件           0  2018-08-27 23:36  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\v15\Server\sqlite3\db.lock
     文件        4096  2018-08-27 23:36  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\v15\Server\sqlite3\storage.ide
     文件       32768  2018-08-27 23:36  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\v15\Server\sqlite3\storage.ide-shm
     文件      675712  2018-08-27 23:37  cardRecognitionSampleImages\.vs\PlayingCardRecognition_SampleImages\v15\Server\sqlite3\storage.ide-wal
     目录           0  2018-08-27 23:37  cardRecognitionSampleImages\PlayingCardRecognition\
     文件        4720  2011-10-04 01:45  cardRecognitionSampleImages\PlayingCardRecognition\Card.cs
     文件        1000  2011-10-04 00:22  cardRecognitionSampleImages\PlayingCardRecognition\CardCollection.cs
     文件       15067  2011-10-07 16:51  cardRecognitionSampleImages\PlayingCardRecognition\CardRecognizer.cs
     文件        1475  2011-10-04 00:12  cardRecognitionSampleImages\PlayingCardRecognition\ImagePanel.Designer.cs
     文件        2541  2011-10-04 00:16  cardRecognitionSampleImages\PlayingCardRecognition\ImagePanel.cs
     文件        5817  2011-09-25 16:57  cardRecognitionSampleImages\PlayingCardRecognition\ImagePanel.resx
     文件        4385  2018-08-27 23:37  cardRecognitionSampleImages\PlayingCardRecognition\PlayingCardRecognition.csproj
     文件         377  2011-10-04 02:50  cardRecognitionSampleImages\PlayingCardRecognition\PointComparer.cs
     目录           0  2018-08-27 23:35  cardRecognitionSampleImages\PlayingCardRecognition\Properties\
     文件        1456  2011-10-03 16:30  cardRecognitionSampleImages\PlayingCardRecognition\Properties\AssemblyInfo.cs
     文件        4597  2011-10-03 17:03  cardRecognitionSampleImages\PlayingCardRecognition\Properties\Resources.Designer.cs
     文件        7623  2011-10-03 17:03  cardRecognitionSampleImages\PlayingCardRecognition\Properties\Resources.resx
     目录           0  2018-08-27 23:35  cardRecognitionSampleImages\PlayingCardRecognition\Templates\
     文件        1398  2011-10-02 15:59  cardRecognitionSampleImages\PlayingCardRecognition\Templates\Clubs.bmp
     文件        1286  2011-10-02 15:50  cardRecognitionSampleImages\PlayingCardRecognition\Templates\Diamonds.bmp
     文件        1398  2011-10-02 16:00  cardRecognitionSampleImages\PlayingCardRecognition\Templates\Hearts.bmp
     文件        1330  2011-10-03 01:47  cardRecognitionSampleImages\PlayingCardRecognition\Templates\J.bmp
............此处省略205个文件信息

评论

共有 条评论