小编jae*_*anx的帖子

Android OpenCV:在包中找不到属性"camera_id"的资源标识符

我在Eclipse中设置了OpenCV和Android.以下是我的布局文件之一:

<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="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="vertical" >

    <org.opencv.android.JavaCameraView
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:visibility="gone"
        android:id="@+id/hello"
        opencv:show_fps="true"
        opencv:camera_id="any" />
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)

Eclipse编译器抱怨:

No resource identifier found for attribute 'show_fps' in package 
No resource identifier found for attribute 'camera_id' in package 
Run Code Online (Sandbox Code Playgroud)

java eclipse android opencv

6
推荐指数
2
解决办法
3731
查看次数

标签 统计

android ×1

eclipse ×1

java ×1

opencv ×1