首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 在基于PHP的基础图像简单的皮肤检测

在基于PHP的基础图像简单的皮肤检测

资 源 简 介

This is a simple class for detecting skin in images. Each color of a pixel is transformed into the hsv-colorspace and then compared against a skin-color database. Usage $skindetection = new SkinDetection("images/example1.jpg", "output1.png");$skindetection->loadSkinColors("skin_colors.txt");$skindetection->setThresholdH(0.04, 0.04);$skindetection->setThresholdS(0.09, 0.09);#$skindetection->enableImageMagick();#$skindetection->enableResize(50, 10);$return = $skindetection->process();print_r($return); Examples Good Examples images/example1.jpg pixels overall: 32000pixels skin: 16775percent sk
VIP VIP
  • 大智若愚 3小时前 成为了本站会员

  • Mason 6小时前 成为了本站会员

  • 6小时前 成为了本站会员

  • Half_Punch 1天前 成为了本站会员

  • liqing71718 1天前 成为了本站会员

  • 伟国 1天前 成为了本站会员

  • songy 1天前 成为了本站会员

  • 纯色幽默 1天前 成为了本站会员

  • odd? 1天前 成为了本站会员

  • 52JOY... 1天前 成为了本站会员

0.181550s