In Photoshop, you can trace objects by selecting them and pressing the Trim button. This will remove any excess lines from the object.