t-oster / VisiCam

A Java application, that turns a webcam into a VisiCut compatible network camera with marker detection and perspective correction. Uses OpenCV through JavaCV
Other
36 stars 12 forks source link

Size and position configuration #6

Closed peteruithoven closed 10 years ago

peteruithoven commented 10 years ago

So VisiCam it working, now comes configuration. screen shot 2013-11-20 at 2 32 11 pm

I don't get how I can configure the size. Currently the image is quite enlarged and the what is shown doesn't really match the real world size. Are we missing a scale setting or don't I understand the system?

Also, the marker is put a bit above the 0,0 point of the lasercutter, because otherwise the marker would be obfuscated by the laser head. How should I solve this? Are we missing offset features?

t-oster commented 10 years ago

You have to send a calibration job. It will cut two crosses (with the current settings) at (20%/20%) and (80%/80%) of the laser-bed. In the following dialog, you have to take a picture and move the reference crosses matching to the ones you did just cut.

peteruithoven commented 10 years ago

Works! First attempts: Drawing with a marker, then copied in visicut and engraved. It's offset by about 1.5 mm but that's probably my rough calibration. img_0208

Drew a target area with marker, drew a rectangle in VisiCut in it. screen shot 2013-11-20 at 3 57 45 pm Result: img_0209

t-oster commented 10 years ago

Nice.... that's the way VisiCut was intended. Are you working with the PiCam? I bet you can sell a complete Raspberry with Cam and Software to most VisiCut users...

If you have time, a youtube video would be nice. Not for the setup, but just showing off what you can do.

peteruithoven commented 10 years ago

Yep, the standard module. That's what makes this very universal. Pictures of the current setup: img_0210 img_0212

I'll think about a video.