Use Camera for QR code reading on Tablet

I want to write a game that uses QR codes printed on cards at a physical interaction for the game. Does codea now support camera ? The quick search I did had an article from 2012 that said no. It’s 2024 now…

I believe it can but I don’t know how to do QR reading. One of the example projects uses the camera.

@DrTrav @Dinoball901 - intrigued by this post so did a little reading - rapidly put me off. See the link below -

QR Code reading

Looks like a nightmare, probably better to look for a module which you can feed an image of the QR code to which then returns the translation.

Good luck with that one !!!

With some hard work I guess you could use CIDetector with the objc bridge.

@tnlogy - looks like they have been all over this in Swift and iOS has a module to read the codes. Could be an add-on to Codea later but not at the top of the list for implementation I would have thought

Good find .