Raspberry Pi and AR

Hello, all!
I have a Raspberry Pi kit and I want to run an AR application on it using the Raspberry Pi camera as an input.
Can Processing do such an application like this?
Is there any resource can help me with that?

What kind of AR? Do you mean like contextual projection, or do you mean like a headset or glasses with a heads-up display / overlay…?

Is there a specific library / toolkit you are looking to use – like ARToolkitX / NyARToolkit?

If you want Android instead, there is Google Cardboard for Processing