Camera and Camera2 preview is rendered via OpenGL textures and can be modified on CPU via C++ code. No OpenCL yet.
This commit is contained in:
BIN
samples/android/tutorial-4-opencl/res/drawable/icon.png
Normal file
BIN
samples/android/tutorial-4-opencl/res/drawable/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
12
samples/android/tutorial-4-opencl/res/layout/activity.xml
Normal file
12
samples/android/tutorial-4-opencl/res/layout/activity.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context="${relativePackage}.${activityClass}" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/app_name" />
|
||||
|
||||
</RelativeLayout>
|
6
samples/android/tutorial-4-opencl/res/values/strings.xml
Normal file
6
samples/android/tutorial-4-opencl/res/values/strings.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string name="app_name">OpenCV Tutorial 4 - Use OpenCL</string>
|
||||
|
||||
</resources>
|
Reference in New Issue
Block a user