martes, 18 de julio de 2017

Ya esta disponible el nuevo blog!

Hola a todos, ya teneis disponible el nuevo blog (esta vez en español). Podeis acceder a el a partir del siguiente enlace:
https://proyectomacros.blogspot.com.es/

Nos vemos alli! ;)

martes, 9 de mayo de 2017

Noticias frescas!!

Tengo intencion de crear un blog nuevo. La verdad es que me apetecia seguir con este blog, pero al ser un trabajo de clase, he decidido dejarlo como esta y hacer otro. Proximamente tendreis mas noticias sobre ello. Un saludo!

lunes, 13 de junio de 2016

martes, 24 de mayo de 2016

Project

This project consist on measuring the temperature of our house from our school.

Material needed:
-1 House with internet and a router
-1 Computer with Labview and Arduino
-1 Relay
-1 TTL-RS232 Adapter (made by ourselves)
-Wires
-1 Raspberry Pi
-1 LM35
-1 smartphone with Putty installed on it

Steps:
1-We send a message which starts with an "h" on the browser, introducing our public IP. For this step, we will have our computer in our house, connected to the internet with LabVIEW and the port 8088.
2-We will take our smartphone with Putty and we introduce our public IP and the port 22, to connect our Raspberry Pi.
3-In putty, we will start the program.
4-LabVIEW will send the message to the Arduino, with the message that we have introduced on it.
5-If the message is wrong, the program will finish. If the message is right, the program will continue and we will see the message introduced in our smartphone.
6-The program will ask us if we want to continue. We will choose Y (yes) or N (no). If we choose yes, we will continue. Else, the program will stop.
7-The program will show the temperature of our house in our smartphone, reading the LM35.

domingo, 22 de mayo de 2016

Measurement

This practice consists on the measurement of the size of an object with Vision Builder. Then, we migrate the Vision Builder program to LabVIEW.

Things we need:
-1 Computer with Vision Builder and LabVIEW
-1 Webcam

First of all, we open Vision Builder an we make a states machine. There, we create a simple program where we read the dimensions of an usual rectangle: we adquire an image, we convert it to a greyscale image, we locate the borders of the image to get a point of reference and then, we measure the high and the length. Then, we compare them to see if the dimensions may be right. If they are right, we finish the program, else, we go to the other state, where we repeat the first pass, but turning all the ROIs 45 degrees. Then, we print the correct result on the screen.

Object Recognition

The aim of this practice is to recognise objects using artificial vision with Vision Builder.

Materials we need:
-1 Computer with Vision Builder
-1 Webcam
-Some objects to recognise (clips, beans...)
-A difuse light

The first thing that we have to do is to put some objects to identify over a difuse light. Then, we will put the webcam over it and we open Vision Builder. Once there, we start the adquisition of images, we convert the image to a greyscale image taking from it the red pannel. Then, we will detect objects and then, we will compare those objects to a database created by us.

This process is similar to the OCR process. We click on Classify Objects and we modify the Threshold to find the objects. Then, we edit the classifier file.

sábado, 21 de mayo de 2016

OCR/QR

This practice consists on read text and QR code (Quick Response code) in Vision Builder.

For this practice, we need:
-1 Computer with Vision Builder installed
-1 Webcam
-1 Paper with a QR and text on it

The first thing that we have to do is to go to Read/Verify Text and click there.