[WordPress] 外掛分享: Connections Business Directory Face Detect

首頁外掛目錄 › Connections Business Directory Face Detect
WordPress 外掛 Connections Business Directory Face Detect 的封面圖片
80+
安裝啟用
★★★★★
5/5 分(1 則評價)
704 天前
最後更新
問題解決
WordPress 5.1+ PHP 5.6.20+ v1.1 上架:2014-09-16

內容簡介

這是 Connections Business Directory Plugin 的擴充外掛,請確認在添加此外掛之前已安裝和啟用。

這個擴充外掛最初只是一個小實驗。我想嘗試圖像中的人臉檢測。我發現了一個很棒的 PHP 庫 Karthik Tharavaad,可以實現這一點。它大部分情況下工作得很好,但即時檢測人臉的速度太慢了。 然後我想起了 TechCruch 發布了一個叫做 WP Asynchronous Tasks 的庫,這個很棒的小庫允許進行密集型處理,例如人臉檢測。不久後,我就把人臉檢測放在了背景任務中執行。這些背景任務可能還可以更加優化,但對於第一版來說,這樣就足夠了。

仔細閱讀以下限制:

限制:
1. 第一次訪問 Connections 中的圖像時,它將在後台進行處理,直到圖像處理完成之前,圖像會從中心原點進行縮放和裁剪,這是默認行為。
2. 人臉檢測庫只能檢測出單張圖像中的一個人臉。所以我建議此擴充僅用於人物目錄。
3. 圖像應清晰,光線明亮,人物盡量面對正方向 以獲得最佳效果。
4. 如果處理佇列中有大量圖像,這可能會導致服務器在一段時間內變慢。
5. 請自行承擔風險。

查看屏幕截圖。

以下是增強 Connections Business Directory 使用體驗的其他擴充:

實用程式

工具欄
登錄

自定義字段

營業時間
收入水平
教育程度
語言

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Connections Business Directory Face Detect」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This is an extension plugin for the Connections Business Directory Plugin please be sure to install and active it before adding this plugin.
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. 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 WP Asynchronous Tasks. 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.
2. The face detection library can only detect a single face. 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.
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.
5. And … use at your own risk.
Checkout the screenshots.
Here are other great extensions that enhance your experience with the Connections Business Directory:
Utility

Toolbar
Login

Custom Fields

Business Hours
Income Level
Education Level
Languages

延伸相關外掛

文章
Filter
Apply Filters
Mastodon