Powered by Blogger.

Monday, February 11, 2013

Mail Sent error 550 5.1.1 Recipient address rejected: User unknown invirtual mailbox table

I have some webservers and hundred of domains, and the other day i create 4 domains for a customer, and 2 of the domains have in same machine the emails, and the other 2 in thirth party servers as Gmail o Yahoo, and when user send email from one of 2 servers to other externals server get this error:
Plesk NOQUEUE: reject: RCPT from localhost[]: 550 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table; gmail

I search for solution and the problem is that the server try to send email, but postfix and plesk configured the mail for external email in same server, and then don't work correctly, the solution is disable each mail internal server for external domain mail servers:
/usr/local/psa/bin/domain -u mydomain.com -mail_service false

Published: By: David Millán Escrivá - 4:36 PM

Tuesday, December 18, 2012

Mastering OpenCV with Practical Computer Vision Projects

Announcing the new "Mastering OpenCV" book that I co-authored!

The book "Mastering OpenCV with Practical Computer Vision Projects" is now for sale from Packt Publishing with free shipping to many countries! Each chapter is a separate project containing step-by-step tutorials + full source-code using the latest C++ interface of OpenCV v2.4, written by 7 authors that are well-known among the OpenCV community for their blogs & open-source projects.

Chapters (each is a project with full source-code):
- Cartoonifier and Skin Changer for Android.
- Marker-based Augmented Reality on iPhone or iPad.
- Marker-less Augmented Reality.
- Exploring Structure from Motion using OpenCV.
- Number Plate Recognition using SVM and Neural Networks.
- Non-rigid Face Tracking.
- 3D Head Pose Estimation using AAM and POSIT.
- Face Recognition using Eigenfaces or Fisherfaces.
- Developing Fluid Wall using the Microsoft Kinect.

Authors (in alphabetical order):
- Daniel Lélis Baggio ("http://code.google.com/p/ehci/")
- Shervin Emami ("http://www.shervinemami.info/openCV.html")
- David Millán Escrivá ("http://blog.damiles.com/")
- Khvedchenia Ievgen ("http://computer-vision-talks.com/")
- Naureen Mahmood ("http://howdweknows.blogspot.com/")
- Jason Saragih ("http://jsaragih.org/")
- Roy Shilkrot ("http://www.morethantechnical.com/")

The book can be purchased from "http://www.packtpub.com/cool-projects-with-opencv/book" either as a physical book or as a PDF eBook.

The latest code can be downloaded from "https://github.com/MasteringOpenCV/code", including a screenshot of each project (scroll down on the front page).

Note: You should already have basic experience with OpenCV and C/C++ before reading this book, as this book does not explain the basics of OpenCV and it assumes you already have it installed. For example, you could read the "Learning OpenCV" book and/or the "OpenCV 2 Cookbook" to learn the basics of OpenCV, then read this "Mastering OpenCV" book for more advanced skills and project ideas!Mastering OpenCV with practical computer vision projects
Published: By: David Millán Escrivá - 11:08 AM

Wednesday, March 14, 2012

Gnuplot Cookbook

I'm very happy, Gnuplot cookbook arrive to my hands. I had the pleasure to review this great book.

Any engineer  that  need make profesional plots this book help to create it.

There are basic concepts to advanced concpets as 3d plots, labeling, multiplot, latex include plots, scripting and language programing with gnuplot...

I recommend this book.

You can buy it in packpublishing
Published: By: David Millán Escrivá - 5:20 PM

Thursday, June 2, 2011

Removing .svn folders from project

A loft of times some people send me project with subversion, and when you  upload to production, sometime you don't want upload .svn folder, looking for in google i found this. A good miracle command for me XD, and sure a stupid command for a lot of people.

rsync -r --exclude=.svn /home/user/progname/ /home/user/progname.copy

Regards David.
Published: By: David Millán Escrivá - 8:49 PM

Monday, December 20, 2010

Segmentation and feature extraction. Contours and blob detection.

In BasiOCR tutorial i explain  how to preprocess, extract features and clasify a handwritten number, and a lot of people ask me how to segment an image where contains several numbers or objects.

In this tutorial I want explain how to segment an image and detect each object inside image, in this tutorial we can detect objects from plate (the numbers) or each object draw into a paper.

Published: By: David Millán Escrivá - 6:14 PM

Tuesday, September 14, 2010

OpenCV and CMake

From OpenCV 2.1 version we can use CMake to create and manage our OpenCV projects.

CMake is a cross-platform and open-source build system, and it's used to control our compilation process, using a simple text files for define compilation process with independent platform and compiler.

Thanks to CMake we can create our project in our operating system as linux compile and work in it, and then use it to compile a new version in other os as windows, osx, ..., even create a visual studio project, xcode project or eclipse.

To create a basic project with 1 main.c file with cmake and opencv we must create a new file called CMakeList.txt.
Published: By: David Millán Escrivá - 4:42 PM

Wednesday, February 10, 2010

CvFileStorage. How to save our custom structures with OpenCV functions

[caption id="attachment_311" align="aligncenter" width="645" caption="OpenCV"]OpenCV[/caption]

In this tutorial we go to show how to save our custom structures with opencv functions.

We go to imagine we have this structure in our program.
Published: By: David Millán Escrivá - 5:29 PM

Friday, January 29, 2010

Pseudocolor implementation with OpenCV.

In Computer Vision works in a lot of cases with gray images because there are a lot of motives. But human vision don't perceives the gray levels so well as color levels.

Then if we need show a image to a person, we can color it. But, how is the best way to coloring gray image?

There are 3 ways to do it: Manually, automatically and colored by ranges.

In this tutorial, i go to develop the way most common automatic for gray image coloring.

To do it we need know we go to receive a gray level and we need return 3 values, one for red, one for blue and other for green.

We go to use this function:

$latex \displaystyle{ s(x,y)=\vert sin(r(x,y)*p*PI + \Theta*PI)\vert}$

And r(x,y) is the gray level and p is the number of repetitions and $latex \displaystyle{ \Theta }$ is the displacement.

Then we only need define the p and $latex \displaystyle{ \Theta }$ for each channel.

If we create a plot with this function with this parameters for red, green and blue ((2,0),(2,-0.1),(2,-0.3)) we get:

[caption id="attachment_253" align="aligncenter" width="300" caption="Pseudocolor Graph with red(p=2,theta=0) green(2,-0.1) and blue(2,-0.3)"]Pseudocolor Graph[/caption]

Then we only need set the gray level in range 0 to 1 and the sine returns values from 0 to 1 we interpret as float image values or we set in range 0 to 255.

To finish this is the result:

[caption id="attachment_255" align="aligncenter" width="387" caption="Pseudocolor Result"]Pseudocolor Result[/caption]

Download the code.
Published: By: David Millán Escrivá - 12:19 AM

Thursday, January 21, 2010

Neuroph, Java/Netbeans tutorial.

Neuroph is a Neural network for image recognition in java. In netbeans dzone are a netbeans/java tutorial for image recognition with neuroph library. Published: By: David Millán Escrivá - 11:23 AM

Tuesday, January 19, 2010

Chamilo. The new e-learning platform

Today is born the new e-learning platform. Chamilo!

Chamilo is a new project that opts for open source in a radical way. It aims at bringing you the best e-learning and collaboration platform in the open source world.
Published: By: David Millán Escrivá - 1:32 PM

Saturday, January 16, 2010

Segmentation & object detection by color.

In this tutorial i go to explain how to image segmentation or detect objects byred color, in this case by red color.

This task is simple, but there are some things we must known.

Now i go to explain and get a demo code for segmentation, how to determine if each image pixel is red or no, and then, i go to explain how we  can detect object, it's similar but with diferent concept.
Published: By: David Millán Escrivá - 11:40 PM

Tuesday, January 12, 2010

VIM how to remove ^M at the end of lines

In unix the end of line is different than other systems. More times we edit windows files and when open in VI/VIM we see the ^M character at end of lines.

We can remove this characters with a simply search and replace of vim with this command:

The ^M character is not valid write first ^ character and then M it's not the valid character. To write correctly this we must push Control+v and Contro+M keys, then appear our ^M Character.

Take care with this.
Published: By: David Millán Escrivá - 11:37 AM