{"id":21716439,"url":"https://github.com/whatdamon/openluckyrandom","last_synced_at":"2025-10-28T11:39:40.246Z","repository":{"id":264343671,"uuid":"893042462","full_name":"WhatDamon/OpenLuckyRandom","owner":"WhatDamon","description":"A random person selection tool based on the OpenCV face cascade classifier","archived":false,"fork":false,"pushed_at":"2024-12-28T08:08:59.000Z","size":2971,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T07:14:29.448Z","etag":null,"topics":["csharp","face-detection","opencv","random","seewo","winforms"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WhatDamon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-23T11:37:35.000Z","updated_at":"2025-03-13T12:36:51.000Z","dependencies_parsed_at":"2024-12-07T18:32:51.386Z","dependency_job_id":null,"html_url":"https://github.com/WhatDamon/OpenLuckyRandom","commit_stats":null,"previous_names":["whatdamon/openluckyrandom"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/WhatDamon/OpenLuckyRandom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhatDamon%2FOpenLuckyRandom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhatDamon%2FOpenLuckyRandom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhatDamon%2FOpenLuckyRandom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhatDamon%2FOpenLuckyRandom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WhatDamon","download_url":"https://codeload.github.com/WhatDamon/OpenLuckyRandom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WhatDamon%2FOpenLuckyRandom/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268675527,"owners_count":24288287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","face-detection","opencv","random","seewo","winforms"],"created_at":"2024-11-26T01:11:02.002Z","updated_at":"2025-10-28T11:39:35.208Z","avatar_url":"https://github.com/WhatDamon.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"assets/openluckyrandom.png\" width=\"32\" height=\"32\"/\u003e OpenLuckyRandom\n\n![GitHub Repo stars](https://img.shields.io/github/stars/WhatDamon/OpenLuckyRandom)\n![GitHub Top Language](https://img.shields.io/github/languages/top/WhatDamon/OpenLuckyRandom)\n![GitHub Release](https://img.shields.io/github/v/release/WhatDamon/OpenLuckyRandom)\n![GitHub Downloads](https://img.shields.io/github/downloads/WhatDamon/OpenLuckyRandom/total)\n![GitHub Commit Activity](https://img.shields.io/github/commit-activity/t/WhatDamon/OpenLuckyRandom)\n![GitHub Issues](https://img.shields.io/github/issues/WhatDamon/OpenLuckyRandom)\n![GitHub Pull Requests](https://img.shields.io/github/issues-pr/WhatDamon/OpenLuckyRandom)\n![GitHub Repo Size](https://img.shields.io/github/repo-size/WhatDamon/OpenLuckyRandom)\n![GitHub License](https://img.shields.io/github/license/WhatDamon/OpenLuckyRandom)\n[![GitHub Actions - .NET Test](https://github.com/WhatDamon/OpenLuckyRandom/actions/workflows/test.yml/badge.svg)](https://github.com/WhatDamon/OpenLuckyRandom/actions)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FWhatDamon%2FOpenLuckyRandom.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FWhatDamon%2FOpenLuckyRandom?ref=badge_shield)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FWhatDamon%2FOpenLuckyRandom.svg?type=shield\u0026issueType=security)](https://app.fossa.com/projects/git%2Bgithub.com%2FWhatDamon%2FOpenLuckyRandom?ref=badge_shield\u0026issueType=security)\n\n\u003e [!WARNING]\n\u003e \n\u003e 本项目正在进行重构，可能存在一些问题，若介意，请下载 Release 版本而不是自行构建！\n\u003e\n\u003e 本 README 在未来就会重新编写\n\n启发于某沃一体机中的 LuckyRandom 人脸识别随机抽人，使用 WinForms 开发的玩具\n\n与某沃一样采用了 `OpenCvSharp4`，都是用 C# 编写，只不过他们开发的版本使用到了 XAML Islands + WPF, 并且人脸识别上也没有使用本项目使用的 Haar 级联分类器......\n\n可以给带有摄像头的旧某沃一体机或者带有摄像头的鸿某一体机随机抽人使用 (逃\n\n本项目使用了 Qwen \u0026 CodeGeeX 协助开发\n\n## 特点\n\n- 允许切换包括虚拟摄像头在内的摄像头（原版读不到不使用驱动实现的虚拟摄像头）\n- 有一定的灵活性（能自己选择级联分类器，最重要的是开源）\n- 更小的体积（相比原版而言，体积约是原版的 2/3，分开编译甚至可以低于 100MiB）\n- 支持大多数 Windows 设备而非限于某沃一体机（虽然原版提取出来以后也可以在其他设备运行）\n- 支持 Windows 7（仅限使用 `.NET 6` 时, 原版由于 XAML Islands 只能在 Windows 10 1903 及更高版本使用）\n- 更高版本的 .NET 支持（原版使用的是 `.NET Core 3.1`，虽然反编译并解决一下 WinRT 问题也可以升级）\n\n## 相比原版的问题\n\n- 原版综合占用较低，本项目占用较高（估计有答辩代码）\n\n## 截图\n\n![主窗口](./screenshots/WndMain.png)\n\n*注: OBS Virtual Camera 正在播放的视频来自[此处](https://www.bilibili.com/video/BV1ex411P7Kc) (本项目仅使用该视频用于测试，与本程序无关)*\n\n## 须知\n\n使用本软件前请事先安装好 `.NET 6 桌面运行时` ，您可以点击[此处](https://dotnet.microsoft.com/zh-cn/download/dotnet/6.0)直接前往下载！\n\n针对个人信息问题无需担心，本程序完全本地运行，不经过云端服务器！\n\n## 开发\n\n本项目使用到了 `.NET 6` ，进行开发前请安装对应 SDK，您也可以升级 SDK 版本到 `.NET 8` 或更新版本！但是为了能在 Windows 7 上运行，建议使用 `.NET 6`\n\n你可以通过以下命令拉取源代码:\n\n~~~bash\ngit clone https://github.com/WhatDamon/OpenLuckyRandom.git\n~~~\n\n推荐直接使用 Visual Studio 或者 JetBrains Rider 进行开发\n\n如果不希望使用 IDE 构建, 可以通过以下命令进行：\n\n~~~bash\ndotnet restore\ndotnet build -c Release\n~~~\n\n如果愿意，您也可以尝试将本项目向下移植到较为老旧的 `.NET Framework` 上 (一般推荐直接使用最新的 `.NET`, 因为有些组件它不支持)\n\n## 许可证\n\n本项目使用 **Apache 2.0** 许可证开源，见下：\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FWhatDamon%2FOpenLuckyRandom.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FWhatDamon%2FOpenLuckyRandom?ref=badge_large)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhatdamon%2Fopenluckyrandom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhatdamon%2Fopenluckyrandom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhatdamon%2Fopenluckyrandom/lists"}