|
|
|
@ -1,5 +1,6 @@ |
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
|
xmlns:opencv="http://schemas.android.com/apk/res-auto" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" > |
|
|
|
|
|
|
|
|
@ -7,12 +8,16 @@ |
|
|
|
|
android:layout_width="fill_parent" |
|
|
|
|
android:layout_height="fill_parent" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
android:id="@+id/tutorial1_activity_java_surface_view" /> |
|
|
|
|
android:id="@+id/tutorial1_activity_java_surface_view" |
|
|
|
|
opencv:show_fps="true" |
|
|
|
|
opencv:camera_id="any" /> |
|
|
|
|
|
|
|
|
|
<org.opencv.android.NativeCameraView |
|
|
|
|
android:layout_width="fill_parent" |
|
|
|
|
android:layout_height="fill_parent" |
|
|
|
|
android:visibility="gone" |
|
|
|
|
android:id="@+id/tutorial1_activity_native_surface_view" /> |
|
|
|
|
android:id="@+id/tutorial1_activity_native_surface_view" |
|
|
|
|
opencv:show_fps="true" |
|
|
|
|
opencv:camera_id="any" /> |
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|