• 大小: 3.30M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2024-06-16
  • 语言: C#
  • 标签: winform  人脸识别  FORM  ORM  

资源简介

winform开发的人脸识别打卡系统

 人脸识别系统,自动抓取电脑系统的摄像头,进行识别拍照上传,人脸识别打卡签到,一套非常完美的实用系统。导入完美运行。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FaceCheckIn_App
{
    public class CommonUtility
    {
        public static string GetProperties(T t)
        {
            string tStr = string.Empty;
            if (t == null)
            {
                return tStr;
            }
            System.Reflection.PropertyInfo[] properties = t.GetType().GetProperties(System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public);
            if (properties.Length <= 0)
            {
                return tStr;
            }
            foreach (System.Reflection.PropertyInfo item in properties)
            {
                string name = item.Name;
                object value = item.GetValue(t null);
                if (item.PropertyType.IsValueType || item.PropertyType.Name.StartsWith(“String“))
                {
                    tStr += string.Format(“{0}:{1}“ name value);
                }
                else
                {
                    GetProperties(value);
                }
            }
            return tStr;
        }

        public static string ImageTobase64(Image image ImageFormat format)
        {
            using (MemoryStream ms = new MemoryStream())
            {
                // Convert Image to byte[]
                image.Save(ms format);
                byte[] imageBytes = ms.ToArray();

                // Convert byte[] to base64 String
                string base64String = Convert.Tobase64String(imageBytes);
                return base64String;
            }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2021-11-23 18:38  FaceCheckIn_App-master\
     目录           0  2021-11-27 17:53  FaceCheckIn_App-master\.vs\
     目录           0  2021-11-23 18:39  FaceCheckIn_App-master\.vs\FaceCheckIn_App-master\
     目录           0  2021-11-23 18:39  FaceCheckIn_App-master\.vs\FaceCheckIn_App-master\v16\
     文件       72704  2021-11-27 17:50  FaceCheckIn_App-master\.vs\FaceCheckIn_App-master\v16\.suo
     文件          37  2021-11-27 17:21  FaceCheckIn_App-master\.vs\ProjectSettings.json
     文件         274  2021-11-27 17:53  FaceCheckIn_App-master\.vs\VSWorkspaceState.json
     文件      249856  2021-11-27 17:53  FaceCheckIn_App-master\.vs\slnx.sqlite
     目录           0  2021-12-06 16:22  FaceCheckIn_App-master\FaceCheckIn_App-master\
     文件         734  2019-01-06 17:12  FaceCheckIn_App-master\FaceCheckIn_App-master\.gitignore
     目录           0  2021-11-23 19:14  FaceCheckIn_App-master\FaceCheckIn_App-master\.vs\
     目录           0  2021-11-23 19:14  FaceCheckIn_App-master\FaceCheckIn_App-master\.vs\FaceCheckIn_App\
     目录           0  2021-12-06 16:08  FaceCheckIn_App-master\FaceCheckIn_App-master\.vs\FaceCheckIn_App\v16\
     文件       81920  2021-12-06 20:01  FaceCheckIn_App-master\FaceCheckIn_App-master\.vs\FaceCheckIn_App\v16\.suo
     目录           0  2021-11-23 18:38  FaceCheckIn_App-master\FaceCheckIn_App-master\.vs\FaceCheckIn_App-master\
     目录           0  2021-11-23 18:38  FaceCheckIn_App-master\FaceCheckIn_App-master\.vs\FaceCheckIn_App-master\v16\
     文件       20480  2021-11-23 18:38  FaceCheckIn_App-master\FaceCheckIn_App-master\.vs\FaceCheckIn_App-master\v16\.suo
     文件          37  2021-11-23 18:37  FaceCheckIn_App-master\FaceCheckIn_App-master\.vs\ProjectSettings.json
     文件         142  2021-11-23 18:38  FaceCheckIn_App-master\FaceCheckIn_App-master\.vs\VSWorkspaceState.json
     文件      245760  2021-11-23 18:38  FaceCheckIn_App-master\FaceCheckIn_App-master\.vs\slnx.sqlite
     目录           0  2021-12-06 20:01  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\
     文件         184  2019-01-06 17:12  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\App.config
     文件        1720  2019-01-06 17:12  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\CommonUtility.cs
     文件        5629  2019-01-06 17:12  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\FaceCheckIn_App.csproj
     文件         456  2021-12-06 16:08  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\FaceCheckIn_App.csproj.user
     文件       15834  2021-12-06 20:01  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\FaceDectectHelper.cs
     文件       30684  2021-12-06 15:44  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\HomeForm.Designer.cs
     文件       14801  2021-12-06 15:44  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\HomeForm.cs
     文件       53787  2021-12-06 15:44  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\HomeForm.resx
     文件         488  2019-01-06 17:12  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\Program.cs
     目录           0  2019-01-06 17:12  FaceCheckIn_App-master\FaceCheckIn_App-master\FaceCheckIn_App\Properties\
............此处省略62个文件信息

评论

共有 条评论