LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Surveillance camera using USB Webcam

Solved!
Go to solution

Hi Kristen...

I finally got a chance again to work on the project..

i tried running your motion and save avi.vi and I have this error

 

 

have you tested out the vi yourself?do you have the same issue?

 

 

Message Edited by krispiekream on 03-13-2009 05:06 PM
Best regards,
Krispiekream
0 Kudos
Message 21 of 43
(2,718 Views)

Hi Kristen, I have another question..

I am running to this problem...

i started the usb camera. record the video to avi and close the usb.

but i can't seem to restart the usb and record video without having to restart my labview program?

is this common problem for usb camera?

 

Best regards,
Krispiekream
0 Kudos
Message 22 of 43
(2,709 Views)

Hi krispiekream!

 

I am trying to track down a USB camera to run your code. 

 

The Motion Track and Save AVI.vi worked for me- although I was not running it off a USB camera- you will need to switch about the IMAQ VIs for the IMAQ USB VIs.  Did you remember to do that before running it on the USB camera?  

 

I am not sure why you have to restart LabVIEW.  I will let you know what I experience once I find a USB camera.

 

Kristen H.

 

Message 23 of 43
(2,672 Views)

hi kristen...

i have a question for you..

if i would use the USB to a barcode.

is it possible for that data to be displayed on a PDA?

i have a Palm Visor Pro on hand and I am thinking if I can do that..

if I can..i'll suggest this to my proffessor and see if he would be okay for me to do that instead of going through a microprocessor..

 

Best regards,
Krispiekream
0 Kudos
Message 24 of 43
(2,655 Views)

Hi krispiekream,

 

You should be able to display the data on the PDA through TCP/IP connection, however there is not a supported vision module for PDAs at this time.  Take a look at these links:

 

another discussion forum

PDA Module VIs and Functions List

 

Kristen H.

Message 25 of 43
(2,638 Views)

Hi Kristen H.,

 

I am 90% done with my project. I got the USB webcam to scan the barcode, display it to the Arduino microprocessor and onto an LCD module. Yet, now my proffessor wants to grab a picture of a license plate. Decode it or display the license plate number to the LCD module. Do you know where I can find information on doing that?

Thanks in advance.. 

 

Best regards,
Krispiekream
0 Kudos
Message 26 of 43
(2,525 Views)

Hi krispiekream,

 

Check out the OCR (Optical Character Recognition) example in the NI Example Finder (Toolkits and Modules >> Vision >> Functions >> OCR First Example.vi)  You also might want to check on this DeveloperZone tutorial  You professor might think reading Braille with LabVIEW is cool.  That should give you a good start.  Good Luck!

 

Kristen H.

Message 27 of 43
(2,517 Views)

ah, great ideas!!!

hahaha. I think my teacher might like that too..

boy, i only have about 6 weeks left to do this and write a report for this. i hope i can do it in time.

but yeah..the braille idea looks cool too...i'll tackle one at a time and the braille as a bonus..

thanks for all your help again..

Best regards,
Krispiekream
0 Kudos
Message 28 of 43
(2,515 Views)

hi I am back with more questions to ask.

I was going through the ORC examples as well as the LCD examples and I didn't understand the selection of the ROI.

Attached is the picture for instant.

 

 

 

 

 

The Green highlighted rectangle region and 6 red rectanglar box.

  How do you do that? Make GREEN, and red boxes? That portion of the code, I don't understand yet. MAybe you can guide me.

Thanks

 

Message Edited by krispiekream on 04-16-2009 09:22 AM
Best regards,
Krispiekream
0 Kudos
Message 29 of 43
(2,484 Views)

Hi krispiekream,

 

The green box is an ROI defined by the user.  If you notice, step 3 asks you to draw an ROI  (aka green box) around the characters you want to read.  The reason the green box appears automatically is because that is the default for that image display.  The default was set when the example was created.  The red boxes are genereated in the IMAQ OCR Read Text.vi and then overlayed on the image in the next step of the sequence.  I hope that clears things up.  Good luck with the final stretch here!

 

Kristen H.

Message 30 of 43
(2,468 Views)