Skip to content

Commit 18edb6f

Browse files
committed
change paths; updates readme
1 parent 3245ee7 commit 18edb6f

37 files changed

+150
-153
lines changed

FaceTracker/app/jni/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ cmake_minimum_required(VERSION 3.4.1)
1818

1919
set(CMAKE_VERBOSE_MAKEFILE on)
2020

21-
get_filename_component(TF_SRC_ROOT /home/irina/tensorflow ABSOLUTE)
2221
get_filename_component(SAMPLE_SRC_DIR ${CMAKE_SOURCE_DIR}/ ABSOLUTE)
2322

2423
if (ANDROID_ABI MATCHES "^armeabi-v7a$")
@@ -46,7 +45,6 @@ find_library( # Sets the name of the path variable.
4645
add_library(tensorflow_detector SHARED
4746
${tensorflow_detector_sources})
4847
target_include_directories(tensorflow_detector PRIVATE
49-
${TF_SRC_ROOT}
5048
${CMAKE_SOURCE_DIR})
5149

5250
target_link_libraries(tensorflow_detector
@@ -55,4 +53,4 @@ target_link_libraries(tensorflow_detector
5553
jnigraphics
5654
m
5755
atomic
58-
z)
56+
z)

FaceTracker/app/jni/imageutils_jni.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ limitations under the License.
2020
#include <stdio.h>
2121
#include <stdlib.h>
2222

23-
#include "tensorflow/examples/android/jni/rgb2yuv.h"
24-
#include "tensorflow/examples/android/jni/yuv2rgb.h"
23+
#include "rgb2yuv.h"
24+
#include "yuv2rgb.h"
2525

2626
#define IMAGEUTILS_METHOD(METHOD_NAME) \
2727
Java_tensorflow_detector_spc_env_ImageUtils_##METHOD_NAME // NOLINT

FaceTracker/app/jni/object_tracking/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818

1919
#include <math.h>
2020

21-
#include "tensorflow/examples/android/jni/object_tracking/geom.h"
21+
#include "geom.h"
2222

2323
namespace tf_tracking {
2424

FaceTracker/app/jni/object_tracking/flow_cache.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ limitations under the License.
1616
#ifndef TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_FLOW_CACHE_H_
1717
#define TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_FLOW_CACHE_H_
1818

19-
#include "tensorflow/examples/android/jni/object_tracking/geom.h"
20-
#include "tensorflow/examples/android/jni/object_tracking/utils.h"
19+
#include "geom.h"
20+
#include "utils.h"
2121

22-
#include "tensorflow/examples/android/jni/object_tracking/config.h"
23-
#include "tensorflow/examples/android/jni/object_tracking/optical_flow.h"
22+
#include "config.h"
23+
#include "optical_flow.h"
2424

2525
namespace tf_tracking {
2626

FaceTracker/app/jni/object_tracking/frame_pair.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ limitations under the License.
1515

1616
#include <float.h>
1717

18-
#include "tensorflow/examples/android/jni/object_tracking/config.h"
19-
#include "tensorflow/examples/android/jni/object_tracking/frame_pair.h"
18+
#include "config.h"
19+
#include "frame_pair.h"
2020

2121
namespace tf_tracking {
2222

FaceTracker/app/jni/object_tracking/frame_pair.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616
#ifndef TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_FRAME_PAIR_H_
1717
#define TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_FRAME_PAIR_H_
1818

19-
#include "tensorflow/examples/android/jni/object_tracking/keypoint.h"
19+
#include "keypoint.h"
2020

2121
namespace tf_tracking {
2222

FaceTracker/app/jni/object_tracking/geom.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ limitations under the License.
1616
#ifndef TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_GEOM_H_
1717
#define TENSORFLOW_EXAMPLES_ANDROID_JNI_OBJECT_TRACKING_GEOM_H_
1818

19-
#include "tensorflow/examples/android/jni/object_tracking/logging.h"
20-
#include "tensorflow/examples/android/jni/object_tracking/utils.h"
19+
#include "logging.h"
20+
#include "utils.h"
2121

2222
namespace tf_tracking {
2323

FaceTracker/app/jni/object_tracking/gl_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ limitations under the License.
1919
#include <GLES/gl.h>
2020
#include <GLES/glext.h>
2121

22-
#include "tensorflow/examples/android/jni/object_tracking/geom.h"
22+
#include "geom.h"
2323

2424
namespace tf_tracking {
2525

FaceTracker/app/jni/object_tracking/image-inl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ limitations under the License.
1818

1919
#include <stdint.h>
2020

21-
#include "tensorflow/examples/android/jni/object_tracking/geom.h"
22-
#include "tensorflow/examples/android/jni/object_tracking/image.h"
23-
#include "tensorflow/examples/android/jni/object_tracking/utils.h"
21+
#include "geom.h"
22+
#include "image.h"
23+
#include "utils.h"
2424

2525
namespace tf_tracking {
2626

FaceTracker/app/jni/object_tracking/image.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ limitations under the License.
1818

1919
#include <stdint.h>
2020

21-
#include "tensorflow/examples/android/jni/object_tracking/geom.h"
22-
#include "tensorflow/examples/android/jni/object_tracking/utils.h"
21+
#include "geom.h"
22+
#include "utils.h"
2323

2424
// TODO(andrewharp): Make this a cast to uint32_t if/when we go unsigned for
2525
// operations.

0 commit comments

Comments
 (0)