08-03-2017 11:49 AM
Hi! Terribly sorry, I'm new to Labview, and I'm not sure how to go about dynamically editing an image/stream from a webcam as a program user might like.
More specifically, how would one go about making a program that lets a user click on a part of an image from a webcam and insert a horizontal or vertical line at the place that they clicked?
Thanks so much.
Solved! Go to Solution.
08-03-2017 11:53 AM
It really depends on what drivers you are using. imaq has functions for adding lines, but you can do it on picture controls as well.
08-04-2017 08:10 AM
The Vision Toolkit has a lot of functionality, but not so much documentation (that's not really true -- it is often there, just "buried" in the LabVIEW Help).
When I first was introduced to Vision, I had been programming with LabVIEW for several years (and had a decade or so of experience with many other programming languages, none whose names were single letters, though). Vision was a real challenge. I recommend that you have at least 6 months experience with "ordinary" Data Acquisition and Data Processing using LabVIEW before trying to tackle NI Vision.
If all you want to do is to is "Snap" (a single still image, saved as a JPEG or PNG) an image, view it, and superimpose a line, you can cobble together something that will do that (the Picture route possibly being the easiest). If you want to do something with a Video (.AVI) file, this will be considerably more challenging. It is doable -- find yourself a LabVIEW Guru (perhaps your Instructor?) and propose a Joint Project, where you will Learn a Lot (but may do a considerable amount of work).
Bob Schor