12-07-2012 04:25 AM
I have data in two arrays.
First array is made up of 26 images and second array is made up or 26 audio files in wav format . Each audio file corresponds to one image.
Example : image "A" and audio file for "A"
Now the question is how to run the audio file on a sound file to output audio vi when an image file in array is the output of a preceeding sub vi
12-07-2012 05:34 AM
Hi ymadhuri,
you didn't show your image array...
You could try something like this:
This will find the index of the image in your data array (or outputs "-1" when not found). Use this output for indexing your audio files...
12-07-2012 06:48 AM
Thank you very much for your response.
You mentioned that "Use this output for indexing your audio files" , I dont know how to do that.
I am new to labview can you please help me how to do that.
I am attaching the audio files and a main image template from which i should create pattern matching templates.
12-07-2012 07:07 AM
Can you share some code so we can understand where you are having problems?
12-07-2012 07:17 AM - edited 12-07-2012 07:18 AM
Iam doing my project using Labview for assisting communication of hearing and / or speech impaired persons.When a deaf/dumb person does a sign to communicate with a normal person he may not understand unless he knew the sign language.So i am designing my program to aid them. I should acquire real time images ,process using vision assistant and recognize the pattern and give a corresponding audio output.Can you help me complete the project.
12-07-2012 07:55 AM
ymadhuri@rediffmail.com wrote:
Can you help me complete the project.
No. This is an enormously complex project, and you've supplied only a single VI. We can certainly help with specific questions about LabVIEW programming, but we cannot write your code for you. It does sound like a very interesting and valuable project, though, and I hope you are able to make progress on it.
12-07-2012 08:16 AM
I completed acquisition of images, processing and the program for audio output is ready.
My question is when my acquired image matches with my database template image i should play its corresponding udio file.
This is where i need help.
I have my identified templates that should be saved in an array and sound files in another array.
If alphabet A is identified then it should trigger audio file A.
12-07-2012 08:22 AM
Hi ymadhuri,
as shown above:
You search your image in your image array. When found (index >=0) you will play the corresponding audio file from your audio array. Should not be that hard to program considering you already finished all the other tasks...
12-07-2012 08:33 AM
Actually what I did was using the available rsources in labview with slight modifications. Iam no good in programming.
I used
1. vision acquisition express to capture image using my laptop webcamera
2. vision assistant to identify the pattern matching.
3.sound file to output vi (from example vi) to play the audio files.
Now I want bridge the links between stage 2 and 3.
12-09-2012 10:30 PM
can you please explain me how this vi works to solve my program issue.