Are you talking about base board or crown moldings? I don't know of a device that can capture an image and turn it into an autocad drawing, but here's a website that has DXF layouts for a wide range of moldings:
Good Millwork Blog
Crown Moulding CAD Files