Posts

Showing posts from September, 2017

How to detect face in image using PHP

In brief: Three libraries for face detection with PHP: PHP-script with OpenCV, PHP FaceDetection, and Python FaceDetect script. FaceDetector library with OpenCV uses Haar Cascades. PHP FaceDetection can find only one face on a photo. Smart face detection is used in social networks, image editors, video chats, smart captcha, time tracking programs, etc. Option №1 FaceDetector on PHP is quite a successfull solution which uses OpenCV. FaceDetector works stably with various skin tones, low quality pictures, lots of faces and people wearing glasses. Operation algorithm Face detection here is based on Viola-Jones method, Haar Cascades (rectangular primitives), and AdaBoost learning algorithm. The primitives are black and white rectangles of different sizes which are placed on the image. After superimposing their correlation with a picture is being read.  FaceDetector installation First, packages install is needed:

Google likely to launch new Pixelbook starting at $1,199

Image
Google is likely to launch a high-performance Chromebook called  Google Pixelbook at a starting price of $1,199. Pixelbook will come in Silver, with 128GB ($1,199), 256GB ($1,399) and 512GB ($1,749) storage options, tech website Droid Life reported late on Tuesday. Unlike earlier Chromebook Pixel units, the new Pixelbook folds into a tablet and comes with official Pixelbook Pen which will be sold separately for $99. The Pixebool Pen is pressure sensitive, with tilt support and supposedly no lag, the report added. Google might make a formal announcement for Pixelbook at its flagship phone launch event on October 4. Google is likely to launch a high-performance Chromebook called Google Pixelbook at a starting price of $1,199 (Rs 77,150). Pixelbook is expected to come in Silver, with 128GB ($1,199), 256GB ($1,399) and 512GB ($1,749) storage options, tech website Droid Life reported late on Tuesday. Unlike earlier Chromebook Pixel units, the new Pixelbook folds int

Hadoop Installation steps

Environment required for Hadoop:  The production environment of Hadoop is UNIX, but it can also be used in Windows using Cygwin. Java 1.6 or above is needed to run Map Reduce Programs. For Hadoop installation from tar ball on the UNIX environment you need Java Installation SSH installation Hadoop Installation and File Configuration 1) Java Installation Step 1.  Type "java -version" in prompt to find if the java is installed or not. If not then download java from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html . The tar filejdk-7u71-linux-x64.tar.gz will be downloaded to your system. Step 2.  Extract the file using the below command #tar zxf jdk-7u71-linux-x64.tar.gz  Step 3.  To make java available for all the users of UNIX move the file to /usr/local and set the path. In the prompt switch to root user and then type the command below to move the jdk to /usr/lib. # mv jdk1. 7 .0_71 /usr/lib/    Now in ~/.bashrc file ad

Solr Tutorial

Overview This document covers the basics of running Solr using an example schema, and some sample data. Requirements To follow along with this tutorial, you will need... Java 1.5 or greater. Some places you can get it are from  Oracle ,  Open JDK ,  IBM , or Running  java -version  at the command line should indicate a version number starting with 1.5. Gnu's GCJ is not supported and does not work with Solr. A  Solr release . Getting Started Please run the browser showing this tutorial and the Solr server on the same machine so tutorial links will correctly point to your Solr server. Begin by unziping the Solr release and changing your working directory to be the " example " directory. (Note that the base directory name may vary with the version of Solr downloaded.) For example, with a shell in UNIX, Cygwin, or MacOS: user:~solr$ ls solr-nightly.zip user:~solr$ unzip -q solr-nightly.zip user:~solr$ cd solr-nightly/example/ Solr can run in any Java Se

Popular posts from this blog

Angular 9 - User Registration and Login Example & Tutorial

How to download a file using command prompt (cmd) Windows?

How to Include ThreeJs in Your Projects