LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting photo to 2D drawing

So, I'm wondering if it's possible to input a picture into labVIEW and make it convert it into a 2d drawing.
Idea here is to control a robotic arm that can draw a 2D drawing from a picture you take.

Just wondering if it could be done and asking your guys opinion.

0 Kudos
Message 1 of 4
(8,900 Views)

Hi Deplessers,

 

with InkScape (free vector drawing software…) you get a tool to convert images to vector drawings.

Try that before starting to create your own tool - or get inspirations from it… 😄

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(8,888 Views)

Gerd,

 

while i concur with your suggestion, i am not sure if this was the complete task Deplessers is looking for...

I think he wants to automatize some external hardware to "re-draw" that image. So the original question is valid given the assumption that an external drawing mechanics is present and controllable using LV.

 

@Desplessers: Using LV for reading image files depends a lot on the file format. Some files can be read, others have to be converted before reading... Depending on the images, you can "parse" your image to instruct the robot to draw what you have loaded as image file.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 4
(8,864 Views)

Hi DePlessers,

 

Have you considered how you are going to control your robotic arm?

 

It might be worth trying to work on your code to control the arm to draw basic shape to start with. Then from there you will get an idea of what sort of format you need to convert your images to.

 

As the others have said you also need to decide what format the input pictures will be in as this will determine how you can handle it in LabVIEW.

Joe P
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 4 of 4
(8,810 Views)