LBP feature extraction for Android