• 大小: 5.33M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: 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  2011-10-04 14:30  PlayingCardRecognition\
     目录           0  2011-10-07 16:57  PlayingCardRecognition\bin\
     文件        4720  2011-10-04 01:45  PlayingCardRecognition\Card.cs
     文件        1000  2011-10-04 00:22  PlayingCardRecognition\CardCollection.cs
     文件       15067  2011-10-07 16:51  PlayingCardRecognition\CardRecognizer.cs
     文件        2541  2011-10-04 00:16  PlayingCardRecognition\ImagePanel.cs
     文件        1475  2011-10-04 00:12  PlayingCardRecognition\ImagePanel.Designer.cs
     文件        5817  2011-09-25 16:57  PlayingCardRecognition\ImagePanel.resx
     文件        4245  2011-10-04 02:50  PlayingCardRecognition\PlayingCardRecognition.csproj
     文件         377  2011-10-04 02:50  PlayingCardRecognition\PointComparer.cs
     目录           0  2011-10-04 14:30  PlayingCardRecognition\Properties\
     文件        1456  2011-10-03 16:30  PlayingCardRecognition\Properties\AssemblyInfo.cs
     文件        4597  2011-10-03 17:03  PlayingCardRecognition\Properties\Resources.Designer.cs
     文件        7623  2011-10-03 17:03  PlayingCardRecognition\Properties\Resources.resx
     目录           0  2011-10-04 14:30  PlayingCardRecognition\Templates\
     文件        1398  2011-10-02 15:59  PlayingCardRecognition\Templates\Clubs.bmp
     文件        1286  2011-10-02 15:50  PlayingCardRecognition\Templates\Diamonds.bmp
     文件        1398  2011-10-02 16:00  PlayingCardRecognition\Templates\Hearts.bmp
     文件        1330  2011-10-03 01:47  PlayingCardRecognition\Templates\J.bmp
     文件        1342  2011-10-03 01:55  PlayingCardRecognition\Templates\K.bmp
     文件        1430  2011-10-03 01:47  PlayingCardRecognition\Templates\Q.bmp
     文件        1318  2011-10-02 15:54  PlayingCardRecognition\Templates\Spades.bmp
     目录           0  2011-10-04 00:18  PlayingCardRecognition_SampleImages\
     文件        2671  2011-10-03 19:28  PlayingCardRecognition_SampleImages.sln
     目录           0  2011-10-03 16:29  PlayingCardRecognition_SampleImages\bin\
     目录           0  2015-04-29 20:52  PlayingCardRecognition_SampleImages\bin\Release\
     文件       16896  2011-09-16 05:32  PlayingCardRecognition_SampleImages\bin\Release\AForge.dll
     文件      249856  2011-09-16 05:32  PlayingCardRecognition_SampleImages\bin\Release\AForge.Imaging.dll
     文件       68096  2011-09-16 05:32  PlayingCardRecognition_SampleImages\bin\Release\AForge.Math.dll
     文件       26112  2011-10-07 16:54  PlayingCardRecognition_SampleImages\bin\Release\PlayingCardRecognition.dll
     文件       12288  2011-10-07 16:54  PlayingCardRecognition_SampleImages\bin\Release\PlayingCardRecognition_SampleImages.exe
............此处省略34个文件信息

评论

共有 条评论