07-03-2011 01:14 PM
Hola buenas a todos
como proyecto fin de carrera estoy realizando una aplicacion en labview para controlar el aforo de por ejemplo un local, mi problema viene a la hora de determinar si un objeto ha entrado o ha salido (para determinar cuantos hay dentro del local), ya que aunque se me han ocurrido varias formas de hacerlo a todas ellas le encuentro pegas, en objects del IMAQ Count Objects 2 tengo las coordenadas de los objetos detectados en pantalla y usandolas creo que puedo saber si el objeto esta entrando o saliendo, lo que no se es como determinar si el objeto ya ha entrado o no, uno de los problemas es que IMAQ Count Objects 2, cuando aparece un objeto nuevo en pantalla le asigna el numero 0 y desplaza los numeros de todos los elementos que ya se encontraran en pantalla, (de no ser asi, seria facil determinar si el objeto entra o sale en funcion de porque zona de la imagen desaparece).
resumiendo, mi problema es que no se como determinar si un objeto ha entrado o ha salido del local para llevar la cuenta de la gente que se encuentra en el interior
otro problema que tengo es que cuando dos objetos se juntan mucho tienden a formar uno solo mas grande, de forma que se enmascara el numero real de objetos que hay, no se como definir mas los bordes para que esto no suceda
adjunto lo que llevo del codigo de la aplicacion, esta en Labview 2010
un saludo y gracias por vuestra ayuda
Pablo Rodriguez
07-03-2011 01:18 PM
no se como hice para que se publicara 3 veces y en este con el adjunto duplicado, :$, si algun administrador puede borrar dos de ellos y disculparme por mi torpeza estaria agradecido
07-03-2011 03:31 PM
Esas cosas pasan...
Saludos
07-04-2011 03:28 PM
now in my basic english ,
capacity control with a USB camera
Hello everyone
as my End of Degree Project I am doing an application in LabVIEW to control the capacity of for example a building,
My problem comes determining whether an object has entered or exited (to determine how many are inside the building). I though several ways to do but in all of them I find faults, in the IMAQ Count Objects objects 2 I have the coordinates of the detected objects on the screen and using them I think I can tell if the object is entering or leaving,
what i dont know is how to determine if the object has entered or not, one of the problems is that IMAQ Count Objects 2, when appears a new object it is assigned the number 0 and shifts the numbers of all elements that were already on the screen,(Otherwise, it would be easy to determine if the object enters or exits in function of the image area where it disappears).
in short, my problem is that i dont know how to determine whether an object has entered or exited the room to keep track of the people we can find inside
Another problem I have is that when two objects are so close they tend to form a much larger one, so that is masked
the actual number of objects, i dont know how to define the edges better to prevent this
I attach the application code i have done, this in Labview 2010
greetings and thanks for your help and please excuse my English