Tutorial 1 renamed
This commit is contained in:
parent
076941bb07
commit
33502c86ac
@ -11,7 +11,7 @@ add_subdirectory(face-detection)
|
|||||||
add_subdirectory(image-manipulations)
|
add_subdirectory(image-manipulations)
|
||||||
add_subdirectory(color-blob-detection)
|
add_subdirectory(color-blob-detection)
|
||||||
|
|
||||||
add_subdirectory(tutorial-1-addopencv)
|
add_subdirectory(tutorial-1-camerapreview)
|
||||||
add_subdirectory(tutorial-2-opencvcamera)
|
add_subdirectory(tutorial-2-opencvcamera)
|
||||||
add_subdirectory(tutorial-3-native)
|
add_subdirectory(tutorial-3-native)
|
||||||
add_subdirectory(tutorial-4-mixed)
|
add_subdirectory(tutorial-4-mixed)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
set(sample example-tutorial-1-addopencv)
|
set(sample example-tutorial-1-camerapreview)
|
||||||
|
|
||||||
add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" LIBRARY_DEPS ${OpenCV_BINARY_DIR} SDK_TARGET 11 ${ANDROID_SDK_TARGET})
|
add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" LIBRARY_DEPS ${OpenCV_BINARY_DIR} SDK_TARGET 11 ${ANDROID_SDK_TARGET})
|
||||||
if(TARGET ${sample})
|
if(TARGET ${sample})
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">OCV T1 Add OpenCV</string>
|
<string name="app_name">OCV T1 Camera Preview</string>
|
||||||
</resources>
|
</resources>
|
@ -88,7 +88,7 @@ public class Sample1Java extends Activity implements CvCameraViewListener2 {
|
|||||||
@Override
|
@Override
|
||||||
public boolean onCreateOptionsMenu(Menu menu) {
|
public boolean onCreateOptionsMenu(Menu menu) {
|
||||||
Log.i(TAG, "called onCreateOptionsMenu");
|
Log.i(TAG, "called onCreateOptionsMenu");
|
||||||
mItemSwitchCamera = menu.add("Switch camera");
|
mItemSwitchCamera = menu.add("Toggle Native/Java camera");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user