Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get start quickly using LabView NI Vision?

Dear NI Pro,

Im a student doing a Project entitled Hand Gesture Recognition System by using LabView 6.1.

Im a new to LabView, actually I have make some VI. I hope by someone answering this question will help me and the person after me to catch up using LabView. I read a lot, still didnt quite able to grasp doing in hands-on approach.

My project have force me to understand the very basic to the very advance fundamental of imaging.

I have a webcam as a hardware, my purchase is still pending. Waiting for the hardware, i decided to use file from picture of hand gestures. 640 X 480 pixel resolution that match my future webcam hardware.

My first problem is very simple, (sorry if you think it is unappropiate) how do I connect module to module. I would like to make a specific function in a .vi and the main .vi will connect all the sub vi available. Is it possible to do it this way? The most important question of all, how to do it?

I will ask more question in this same thread until i manage to build the system. Thank you in advance.
0 Kudos
Message 1 of 11
(5,215 Views)
Hi,

I am not entirely sure that I understand your question, but I will do my best to answer it.  If you are going to make vi's that you want to be called by your main vi all that you have to do is save the vi, and then you can drag the vi icon onto the block diagram of your main vi.  Or in the function pallete select Select a VI then you will be able to browse to any vi saved and place it on the block diagram.  It also may be usful to look at some information about getting started with LabVIEW.  There are lots of resources linked there to help you get started programing in LabVIEW.  I hope this helps.

Have a great day,

GG
0 Kudos
Message 2 of 11
(5,198 Views)
Thanks GIGE, have one more question

So, last week i interfaced my web camera to computer
after opening MAX (measurement & automation explorer)

I found my hardware in Devices and Interfaces tab, in Serial port COM14


But when i try to open VISA Test Panel, this error message i received

Quote:

    unable to open session to "ASRL14::INSTR"

    Return status code: 0xBFFF0072
    Status name: VI_ERROR_RSRC_BUSY

    The resource is valid, but VISA cannot currently access it.


For your information, im using Logitech QuickCam Express
Windows XP, LabView ver 6.1, MAX ver 4.0, IMAQ Vision ver 6
Anyone can help me?
0 Kudos
Message 3 of 11
(5,162 Views)
AbangCorp,

The error that you are seeing is most likely because other software is accessing that COM port.  Troubleshooting steps can be found at the linked KnowledgeBase article:
http://digital.ni.com/public.nsf/allkb/936298454061FE5886256C2A0060B321?OpenDocument
Regards,
Brandon M.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 11
(5,136 Views)
Thank you for your immediate answer. However I have do what the article says until i reached at finding where the hell COM Port in Device Manager Windows Xp. I disable the web camera alone, the issue didnt resolve.

Please help me

Second questions, i would like to do advance machine vision task. My project play around with hand gestures. What i have in mind now is to have an automated ROI based on the centre point in one's hands.

1. How to make the centre line visible by multiplte pattern matching on common feature of all gestures.
2. How to make automated ROI where the value of ROI location is varied based on the size of the hands captured image and type of gestures. ROI based on picture will really help the image processing later.

Thank you and do help me please.
AbangCorp

0 Kudos
Message 5 of 11
(5,117 Views)
Hi AbangCorp,

Your COM port in Device Manager is located under Ports (COM & LPT) listing under your computer.  If you cannot find it in this location, most likely there is a deeper problem with your Serial's installation.  Once found you will be able to run through the steps in the Knowledge Base.

How to make the center line visible on a hand gesture is not an easy task.  Most likely the easiest way to do it is to do some form of thresholding with a find straight edge step coupled with pattern matching.  That would require a number of trial and error steps.

Hope this helps.

Justin Louie




0 Kudos
Message 6 of 11
(5,100 Views)
Ill attach these picture, and i think you're right

pls follow this link below

http://shw.fotopages.com/15430200/nicom-attachement.html
http://shw.fotopages.com/15430201/com-port-in-nicom.html

which one you meant?

Regards
AbangCorp
0 Kudos
Message 7 of 11
(5,083 Views)
Hi AbangCorp,

It looks like your Serial Ports are missing.  This is going to be a windows issue and would recommend contacting Microsoft or your network administrator in getting help about how to get your serial ports up and running again.

Justin Louie
0 Kudos
Message 8 of 11
(5,056 Views)
For your info, i use laptop. Desktop dont have such problem, as far as 'device manager' of Xp is concern

Regards with Salaam
Abang Irfan
0 Kudos
Message 9 of 11
(5,034 Views)
Dear Justin Louie,

I have come back to ROI, can you help me explain what do you mean by having multiple line and all, the ROI stuff you mentioned earlier.

I have determined that fingertip detection is the easiest for now on to do pattern matching. By knowing so, i can do something so it detect automatically hand centre point. Of course will be perfected with training.

Regards
Abang Corp - HADARI Trg

p/s: now i know, there is no PM function in forum.ni
0 Kudos
Message 10 of 11
(4,855 Views)