Beskrivning
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.
Here are other great extensions that enhance your experience with the Connections Business Directory:
Utility
Custom Fields
Skärmdumpar
Installation
Using the WordPress Plugin Search
- Navigate to the
Add New
sub-page under the Plugins admin page. - Search for
connections business directory face detect
. - The plugin should be listed first in the search results.
- Click the
Install Now
link. - Lastly click the
Activate Plugin
link to activate the plugin.
Uploading in WordPress Admin
- Download the plugin zip file and save it to your computer.
- Navigate to the
Add New
sub-page under the Plugins admin page. - Click the
Upload
link. - Select Connections Business Directory Face Detect zip file from where you saved the zip file on your computer.
- Click the
Install Now
button. - Lastly click the
Activate Plugin
link to activate the plugin.
Using FTP
- Download the plugin zip file and save it to your computer.
- Extract the Connections Business Directory Face Detect zip file.
- Create a new directory named
connections-business-directory-face-detect
directory in the../wp-content/plugins/
directory. - Upload the files from the folder extracted in Step 2.
- Activate the plugin on the Plugins admin page.
Vanliga frågor
None yet….
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Connections Business Directory Face Detect” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Connections Business Directory Face Detect” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.1 09/23/2021
- NEW: Add
FaceDetector::imageType()
helper function. - NEW: Add support for GIFs and PNGs.
- TWEAK: Remove use of create function.
- BUG: Ensure
$this->canvas
is not NULL before processing else throw exception. - OTHER: Add screenshot to readme.txt.
- OTHER: Add photo credit to readme.txt.
- OTHER: Correct misspellings.
- OTHER: Update copyright year.
- OTHER: Update PHP requires to 5.6.20.
- OTHER: Update URLs from
http
tohttps
. - OTHER: Update requires and tested to WordPress version in readme.txt.
- DEV: Update .gitignore to exclude phpStorm.
- DEV: phpDoc update.
- DEV: Line separators.
1.0 09/16/2014
- Initial release.