現在、アプリケーション内にAndroidカメラを作成していますが、画像を見る直前(画像を撮影する直前)の画像と撮影した画像はわずかに異なります。でる。ここでカメラプレビューとビットマップが異なる
は、画像プレビューは、画像を撮影する前に、次のとおりです。 https://drive.google.com/file/d/0B4vL9wnJulKocGF1ejJxX1c5Qms/view?usp=sharing
、ここでは、撮影した画像です: https://drive.google.com/file/d/0B4vL9wnJulKoUWREYngxWFk3aXc/view?usp=sharing
はここでここでカメラのプレビューのためのXMLファイル
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:id="@+id/camera_preview"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true">
</RelativeLayout>
されますキャプチャされたイメージのXMLファイルです。
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:id="@+id/capturedImageHolder"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
誰も助けることができますか? ありがとう
私はあなたが言ったことを考慮に入れて、いくつかの提案を実装しました。キャプチャされた画像への私の画像のプレビューは今かなり正確です。ありがとうございました – BadCodersHub