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

📄 atface.cpp

📁 这是个人脸识别程序
💻 CPP
字号:
// $masm\atface.cpp 1.5 milbo$ face attributes// Warning: this is raw research code -- expect it to be quite messy.// milbo petalamu mar06//-----------------------------------------------------------------------------// This program is free software; you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation; either version 2 of the License, or// (at your option) any later version.//// This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the// GNU General Public License for more details.//// A copy of the GNU General Public License is available at// http://www.r-project.org/Licenses///-----------------------------------------------------------------------------#include "all.hpp"//-----------------------------------------------------------------------------char *sGetAtFaceString (unsigned Attr, bool fShort)		// fShort to just use the first char of attribute string{static char s[SLEN];s[0] = 0;int iString = 0;unsigned int BitMask = 0x8000;int iAttr = 16;while (iAttr--)	{	if ((Attr & BitMask) && sgFaceAttr[iAttr][0])		{		if (fShort)			{			s[iString++] = sgFaceAttr[iAttr][0];			s[iString] = 0;			}		else			{			if (s[0])				strcat(s, ",");			strcat(s, sgFaceAttr[iAttr]);			}		}	BitMask >>= 1;	}return s;}

⌨️ 快捷键说明

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