⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 headmouse.vis

📁 一个好玩的用人脸控制鼠标的程序
💻 VIS
字号:
; ***************************************************************************
;
; VI setup file
;
;
; All text following a semicolon is a comment.  (As if you hadn't already
; figured that out.)
;
; All lines may have as many as three tokens.  A token is a string of
; characters that does not contain any whitespace or semicolons.
; (Exception:  If a token is enclosed in quotes, it can contain both
; whitespace and semicolons.  Under no circumstances, however, can a token
; contain a newline, because the setup file is line-delimited.)
;
; A setup block begins with a pound sign followed immediately by the type of
; the block.  For instance, "#Widget" indicates the start of a widget
; definition block.  The block ends with the "#End" keyword.  Blocks can
; be nested, with the nesting specifying the stream/widget/component
; hierarchy that will be mirrored in the VI's internal configuration.
;
; Within a setup block there may be lines that do not begin with pound signs.
; These lines set the value of a variable to be used by the object described
; by that setup block.  The variable and its value are exclusive to this
; setup block level; nested subblocks do not inherit them.
;
; Coordinates vary from 0 to 1 on each axis.  The coordinates in a widget
; definition are all relative; the location of the widget (i.e., the origin
; relative coordinate system) is given as the second parameter in the
; instantiation of the widget in a config block.
;
; ***************************************************************************
#Widget VISurface "VI Surface"

	#Surface

	#End 	; Surface Component
#End


#Widget VIConfigData "Configuration Data"

	#ConfigComponent

	#End	; Config Component

#End	;Config Data Widget


#Widget MotionFaceFinder "Motion-based Face Tracker"
	#FaceTracker
		#ImageFormat
			#MotionFinder
				#MBFaceFinder
	
				#End	; MBFaceFinder component
			#End	; MotionFinder component
		#End	; ImageFOrmat component

		#CursorMover
			#SigmoidMotionFilter
			#End	; SigmoidMotionFilter
		#End	; CursorMover

	#End	; FaceTracker component
#End	; Motion-based Face Tracker


#Config "Surfaces"

	#SimpleStreamWnd "System Camera"

		#VISurface "Whole Image" "0.5000, 0.5000"
			HandScale	0.1
			HandAngle	0.0
			TopLeftX	0.0
			TopLeftY	0.0
			TopRightX	1.0
			TopRightY	0.0
			BotLeftX	0.0
			BotLeftY	1.0
			BotRightX	1.0
			BotRightY	1.0
		#End	; Whole Image

		#VISurface "No Surface" "0.5000, 0.5000"
			HandScale	0.1
			HandAngle	0.0
			TopLeftX	0.0
			TopLeftY	0.0
			TopRightX	1.0
			TopRightY	0.0
			BotLeftX	0.0
			BotLeftY	1.0
			BotRightX	1.0
			BotRightY	1.0
		#End	; No Surface
	#End	; Stream

#End





#Config "HeadMouse"
	
	#SimpleStreamWnd "System camera"

		#VIConfigData "HeadMouse"

		#End	; Config Data
 		#MotionFaceFinder "FaceFinder1" "0.5000, 0.5000"
			MFFillP	1
			IFOIScale	0.258500
			MFShowVideoP	0
			MFThreeImageDiff	0
			MFDiffThreshold	0.061400
			FFMaxFaceSizePct	0.311300
			IFOutputWidth	0
			IFOutputHeight	0
			FFMinXMvt	0.118400
			FFMaxYMvt	0.701600
			FFDrawFaceCent	1
			TrackingAlgorithm	7
			LightingCompensationP	0
			FFMinFaceSizePct	0.043900
			MFInterpolateP	1
			MFSampleP	0
			MFNumErosionSteps	2
			FFDrawFaceBB	1
			ScreenWidthRatioX	7.500000
			ScreenWidthRatioY	12.025500
			fSpeed	0.526300
			HighSpeedTresh	654
			Alg6NumTrnNoLC	255
			Alg7NumPrev	4
			FFMaxTime	5044
			DwellTime	1009
			AccelMult	6
			DwellClick?	0
			MFShowMaskP	0
		#End
	#End
#End

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -