[wordpress插件] Connections Business Directory Face Detect连接业务目录面部检测

wordpress 插件 文章 2020-03-30 13:20 425 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This is an extension plugin for the Connections Business Directory Plugin please be sure to install and active it before adding this plugin.

这是 Connections Business Directory插件的扩展插件,请确保在添加此插件之前先安装并激活它。

Before you read any further…

在您进一步阅读之前……

This plugin absolutely requires PHP >= 5.3.

此插件绝对需要PHP> = 5.3。

This extension plugin for started out just as a little experiment.

这个扩展插件最初只是一个小实验。

I wanted to toy with face detection in images.

我想玩弄图像中的人脸检测。

I found this great little PHP library by Karthik Tharavaad that did just that.

我通过 Karthik Tharavaad 找到了一个很棒的PHP小库。

It works well for the most part but it is way too slow to be used for doing face detection on the fly.

它在大多数情况下都能很好地工作,但是它太慢了,无法即时进行人脸检测。

Then I remembered that TechCruch released a library called TechCruch 发布了一个名为

async-task" rel="nofollow">WP Asynchronous Tasks.

async-task“ rel =” nofollow“> WP异步任务。

What this neat little library does is allow intensive processes, you know, such as face detection, be processed asynchronously.

这个精巧的小程序库所做的是允许密集处理,例如人脸检测,可以异步处理。

After a short while I had the face detection running in background tasks.

片刻之后,我在后台任务中运行了人脸检测。

These background task could probably be more optimized but this is probably good enough for a first release.

这些后台任务可能会得到更优化,但是对于第一个版本来说可能已经足够了。

Read this carefully…

仔细阅读...

Limitations:

限制:

1. The first time an image in Connections is accessed, it will be processed in the background and until the image is finished processing, the image will be scaled and cropped from the center origin which is the default behavior.

1.第一次访问Connections中的图像时,将在后台对其进行处理,直到图像完成处理为止,图像将从中心原点开始缩放和裁剪,这是默认行为。

2. The face detection library can only detect a single face.

2.人脸检测库只能检测单个人脸。

So I suggest this extension only be used for people directories.

因此,我建议将此扩展名仅用于人员目录。

3. The images should be clean and bright with the person facing as straight as possible for the best results.

3.图像应整洁明亮,人物应尽可能直着面对,以获得最佳效果。

4. This very well could slow down the server for a period of time if there are a large number of images in the process queue.

4.如果进程队列中有大量映像,这很好会使服务器在一段时间内变慢。

5. And … use at your own risk.

5.而且…使用风险自负。

Checkout the screenshots.

签出屏幕截图。

Here are other great extensions that enhance your expirence with the Connections Business Directory:

还有其他一些很棒的扩展,可以通过Connections Business Directory增强您的过期时间:

Utility

实用程序

安装步骤

Using the WordPress Plugin Search

使用WordPress插件搜索

    1. Navigate to the Add New sub-page under the Plugins admin page.
    2. 导航到“插件”管理页面下的“ 添加新”子页面。

    3. Search for connections business directory face detect.
    4. 搜索连接业务目录面部检测

    5. The plugin should be listed first in the search results.
    6. 该插件应在搜索结果中首先列出。

    7. Click the Install Now link.
    8. 点击立即安装链接。

    9. Lastly click the Activate Plugin link to activate the plugin.
    10. 最后单击激活插件链接以激活插件。

    Uploading in WordPress Admin

    在WordPress管理员中上传

      1. Download the plugin zip file and save it to your computer.
      2. 下载插件zip文件并将其保存到计算机中。

      3. Navigate to the Add New sub-page under the Plugins admin page.
      4. 导航到“插件”管理页面下的“ 添加新”子页面。

      5. Click the Upload link.
      6. 点击上传链接。

      7. Select Connections Business Directory Face Detect zip file from where you saved the zip file on your computer.
      8. 从中将zip文件保存到计算机中,选择Connections Business Directory面部检测zip文件。

      9. Click the Install Now button.
      10. 点击立即安装按钮。

      11. Lastly click the Activate Plugin link to activate the plugin.
      12. 最后单击激活插件链接以激活插件。

      Using FTP

      使用FTP

        1. Download the plugin zip file and save it to your computer.
        2. 下载插件zip文件并将其保存到计算机中。

        3. Extract the Connections Business Directory Face Detect zip file.
        4. 提取Connections Business Directory人脸检测zip文件。

        5. Create a new directory named connections-business-directory-face-detect directory in the ../wp-content/plugins/ directory.
        6. ../ wp-content / plugins / 目录中创建一个名为 connections-business-directory-face-detect 目录的新目录。

        7. Upload the files from the folder extracted in Step 2.
        8. 从步骤2中提取的文件夹中上传文件。

        9. Activate the plugin on the Plugins admin page.
        10. 在“插件管理”页面上激活插件。

下载地址
https://downloads.wordpress.org/plugin/connections-business-directory-face-detect.1.0.zip
-EOF-

AI助手支持GPT4.0