Yes, just turn on the gravity setting. This will work fine with the front camera. If you want to use a back camera then you need a gyroscope sensor for correct results.