Giving an opportunity to OpenSuse

December 21, 2009david No Comments »

After trying Kubuntu 9.10 and Fedora 12, I'm going to try with OpenSuse 11.2; I really love KDE 4 but is too heavy. Fedora 12 is OK, but I could not understand why I (as a regular user) need SELinux active with almost all blocked, and YES I Do deactivate SELinux, but always was something new (tmp files, iptables, kernel reports...).

After few reviews, I decided to try with OpenSuse 11.2 and this is my desktop:

OpenSUSE 11.2

OpenSUSE 11.2


Face detection using PHP

December 21, 2009david 1 Comment »

Recently I heard about OpenCV and some applications for AI using this library. This is a interesting topic and very powerful. There is many examples in C, C++ and Python, but I really surprised because I found 2 implementations in PHP.

First of all, What Face Detection/Recognition is?

Is a computer technology that determines the locations and sizes of human faces in arbitrary (digital) images. It detects facial features and ignores anything else, such as buildings, trees and bodies.

How to do this in PHP?

OpenCV wrapper to detect faces with PHP. The extension offers the two new functions: face_count() and face_detect(). In princible, they differ only by their return value. The first returns only the number of faces found on the given image and the other an associative array of their coordinates. face_count() serves only to save the loops for counting. Examples:
OpenCV in PHP example 1
OpenCV in PHP example 2

Face detection in pure PHP (without OpenCV). This is a PHP Class to face recognition without OpenCV, it use an data file, but not external libraries. We can use it with few code:

 
$detector = new Face_Detector('detection.dat');
$detector->face_detect('maurice_svay_150.jpg');
$detector->toJpeg();
 

Example:
Example FaceDetection

Enjoy it!


Google Chrome for Linux (Official beta)

December 8, 2009david No Comments »

Hello everybody out there using Linux -

Google Chrome is go for beta on Linux! Thanks to the many Chromium and WebKit developers who helped make Google Chrome a lean, mean browsing machine. Here are a few fun facts from us on the Google Chrome for Linux team:

60,000 lines of Linux-specific code written
23 developer builds
2,713 Linux-specific bugs fixed
12 external committers and bug editors to the Google Chrome for Linux code base, 48 external code contributors


Application crashed with an unhandled SIGSEGV Adobe Air (Linux)

December 5, 2009david 2 Comments »

If you are trying to install any Adobe Air application on Linux and when you run airappinstaller you are getting this error:

Application crashed with an unhandled SIGSEGV
Crashlog has been dumped in /tmp/airCrashLogs/1205_2233_5vRnKP

Try

rm -fr /etc/opt/Adobe/certificates/crypt/

After installing Adobe Air, and run the airappinstaller as root.


FFmpeg for Windows with AMR Support

December 4, 2009david 2 Comments »

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library.

This build is not mine, I found it on internet, but I wanted to share it because is very complete, so just Download ffmpeg now. This build is perfect to encode/decode video from mobiles. You can decode MP4 and 3GPP very easy.

This compilation is done using GCC 4.3.0 20080305 / MinGW 20080502 for Win32. The GCC-built archives of statically-linkable external libraries used in this compilation are available for download at Komeil’s SkyDrive FFmpeg libraries trunk. Also you can find direct download links to each static library in “Build Version” column of “External Libraries” table below. Once downloaded successfully, you need to extract them right into your “MinGW” folder, since the CAB archives include LIB (containing .a library files) and INCLUDE (containing .h header files) directories fittingly. Please note FFmpeg is a stand-alone portable executable, and these libraries are provided for experimentalists interested in compiling FFmpeg by themselves.

Continue Reading



} catch(err) {}