Smartphone cameras can do a lot more than just take photos and videos. You can take a photo with your iPhone and copy text from the real world. We'll show you how this handy feature works.

iOS 15 introduced a couple of new features in the Photos app. "Visual Lookup" can identify objects, while "Live Text" can identify text. The text can then be copied, translated, or used for a search. (Note that this feature requires an iPhone XR, iPhone XS, or newer model of iPhone.)

Related: How to Identify Objects With Your iPhone

First, you'll need to take a photo of the object with text. Do that if you haven't already. Then, open the "Photos" app on your iPhone.

Open the "Photos" app.

Select the photo that contains the text you'd like to identify.

Select a photo from the gallery.

If the Photos app detects text, you'll see a little scanning icon in the bottom corner.

Tap the text scanning icon.

The identified text will be highlighted. You can now treat it like you would when highlighting text anywhere. Tap and hold to bring up the select tool.

Tap and hold the highlighted text.

This will bring up handles so you can drag to select more text. A floating toolbar will also appear with a number of options, including "Copy."

"Copy" from the toolbar.

Once you've copied the text, it can be pasted anywhere just like you regularly would. That's all there is to it! This is a nifty little feature to know about and it can save you some time when transferring text from the real world.

Related: How to Scan Documents with the iPhone's Notes App