Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ AutoWork Public

通过电脑摄像头进行人脸识别,自动最小化或最大化某个程序。使用SharpDevelop开发的小程序,算法使用百度人脸识别API。

Notifications You must be signed in to change notification settings

vayci/AutoWork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

9 Commits

Repository files navigation

AutoWork

通过人脸识别,自动最小化或最大化某个程序。
算法使用百度人脸比对API

配置文件app.conf 编译后为AutoWork.exe.config

	<add key="broswer" value="notepad++"/> 
 关闭程序的进程名称,可通过任务管理器查看
	<add key="interval" value="5"/> 
 抓拍时间间隔,单位秒(s),由于调用百度人脸对比API会耗时2~3秒,建议设置3秒以上
	<add key="threshold" value="70"/> 
 人脸比对阈值,高于此阈值将触发最小化或最大化程序
	<add key="imgPath" value="C:\temp1円.jpg"/> 
 比对目标照片路径
	<add key="cachePath" value="C:\temp\cache\"/> 
 摄像头抓拍照片存储路径
	<add key="apiKey" value="hmkG2UIjblnlp53uA5UBsSSD"/> 
 百度人脸识别api Key 
	<add key="apiSecret" value="N8vdWhT9vsNqyOX9fcmvGIem2MXmz9aK"/> 
 百度人脸识别api Secret

仅支持本地摄像头,暂不支持网络摄像头

AutoWork

auto minimize or maximize the window by face recognition.
algorithm support by Baidu face recognition API.

configuration file named 'app.conf' , after compile named 'AutoWork.exe.config'.

	<add key="broswer" value="notepad++"/> 
 this process you want to minimize it's window. you can get the name from	taskmanager.
	<add key="interval" value="5"/> 
 camera interval(s),invoke API of Baidu will cost 2~3s,recommended settings is more than 3s.
	<add key="threshold" value="70"/> 
 threshold of face matching , similarity over this value will trigger minimize or maximize event.
	<add key="imgPath" value="C:\temp1円.jpg"/> 
 the target face photo path.
	<add key="cachePath" value="C:\temp\cache\"/> 
 Snap photos path.
	<add key="apiKey" value="hmkG2UIjblnlp53uA5UBsSSD"/> 
 Baidu face recognition api Key 
	<add key="apiSecret" value="N8vdWhT9vsNqyOX9fcmvGIem2MXmz9aK"/> 
 Baidu face recognition api Secret

only support local camera , don't support IPC now.

Get Baidu face recognition key and secret

About

通过电脑摄像头进行人脸识别,自动最小化或最大化某个程序。使用SharpDevelop开发的小程序,算法使用百度人脸识别API。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /