LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

comparing images using vector

Sir and Maam! I just want to ask something.

 

my project is all about face recognition. i got the ideas from here how to make it. well i am on the last part of it now.

well what i do is this based on my research on forums.

 

1. RGB to YUV

2. get the location of the face

3. grayscaled

4. cut the location of the face.

5. and i discrete cosine transform the cut off image.

 

so i am on the final part. they say that it is easy to know if the face are the same using vector. but i cant get it.

 

can you guys see if the operation is correct.


i will attatch the image of my vi for subtracting the two vectors.

0 Kudos
Message 1 of 7
(4,035 Views)

Hello there,

 

I am having trouble following along with what you are trying to ask. Also, keep in mind I am not aware of what research you have done on the forums or what sources you have been referring to.

 

With that let me start by asking, when you say you are at the final part, would that be the 6th step? If yes, am I to understand correctly that you have already recognized the face, cut it out, and preformed a discrete cosine transform of the cut out? 

 

I have looked at the image you attached for subtracting the two vectors, and assume that this is the last step you are referring to. Please provide more information on what it is you are trying to do for this final step as I cannot say if the operation is correct if I do not understand what it is you are trying to do, and I do not want to assume. 

Matthew R.
Field Applications & Systems Engineer
National Instruments

Certified-LabVIEW-Developer_rgb.jpg

Certified-TestStand-Developer_rgb.jpg


0 Kudos
Message 2 of 7
(3,998 Views)

Mr PilotMatt. Thank you for your reply.

 

For your first question. Yes you are right. i already recognized the face cut it out and performed a discrete cosine transform to the cut out.

 

So my main problem is my the last part. what will i do if i transform it to discrete cosine. they say i will use a vector component.

 

for example...

 

i have 2 images. i perform the said above process on both images.


after transforming them into discrete cosine that is were i stop.

what is the operation of subtracting in vector quantity. to know if the two images are the same or almost the same.

 

 

if you don't mind can i send to you all my vi's and check it? so that you can check the whole process of it?

 

thank you sir!

-hoping for your immediate response

 

0 Kudos
Message 3 of 7
(3,983 Views)

Mr_ask

 

If you could please provide a link to the forms you were looking at for this part of the process it would be a lot easier to understand what you are trying to do. Go ahead and post your VIs so the vector data format can be made known so we know what you are working with. However, I am thinking this issue is not as trivial are expecting. I know you say this is supposed to be the easiest part, but the actual comparison process may not be something that can be answered on the forms. 

Matthew R.
Field Applications & Systems Engineer
National Instruments

Certified-LabVIEW-Developer_rgb.jpg

Certified-TestStand-Developer_rgb.jpg


0 Kudos
Message 4 of 7
(3,966 Views)

Good day sir.

this is my vi. and there is also an image for the BD.

thank you sir!

Download All
0 Kudos
Message 5 of 7
(3,957 Views)

Mr_ask

 

It seems like there is not a whole lot of knowledge on these forums to find an answer to this question. The manipulation of the vectors is more of a mathematical algorithmic issue than an issue with LabVIEW programming. If you could provide the algotrium or method of comparison you want to use I would be able to help, but I am unable to tell you how to do this, and I am unsure if someone on these forums would be either. I might suggest you do more research, or try posting on other forums, to find exactly what algorithm you plan to use for this step of comparison. When you are ready to implement that in LabVIEW then we would be able to provide more assistance. 

Matthew R.
Field Applications & Systems Engineer
National Instruments

Certified-LabVIEW-Developer_rgb.jpg

Certified-TestStand-Developer_rgb.jpg


0 Kudos
Message 6 of 7
(3,935 Views)

sir PilotMatt27. thank you sir! i get what you mean. thank you sir!

0 Kudos
Message 7 of 7
(3,923 Views)