Skip to content

Commit

Permalink
Removed Java API 1.0 (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov authored Jan 16, 2024
1 parent 2a1d055 commit 19495fd
Show file tree
Hide file tree
Showing 50 changed files with 2 additions and 4,051 deletions.
2 changes: 1 addition & 1 deletion modules/java_api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ gradle build

## Import

Use `import org.intel.openvino.*;` for OpenVINO Java API 2.0 or `import org.intel.openvino.compatibility.*;` for deprecated API.
Use `import org.intel.openvino.*;` for OpenVINO Java API.

## Set up the development environment

Expand Down
2 changes: 1 addition & 1 deletion modules/java_api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sourceSets {
test {
java {
srcDirs = ["src/test/java"]
include "org/intel/openvino/compatibility/*.java", "org/intel/openvino/*.java"
include "org/intel/openvino/*.java"
}
}
}
Expand Down
8 changes: 0 additions & 8 deletions modules/java_api/samples/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Samples

The OpenVINO samples are simple console applications that show how to utilize specific OpenVINO API capabilities within an application. The following samples are available
- [Benchmark Application](#benchmark-application)
- [Face Detection Java samples](#face-detection-java-samples)
- [Face Detection Kotlin sample](./face_detection_kotlin_sample/README.md)
- [Hello Query Device](#hello-query-device-sample)
Expand Down Expand Up @@ -141,10 +140,6 @@ To run these samples, you need to specify a model and image. To perform inferenc
```bash
:samples:face_detection_java_sample:run --args='-m <path-to-model> -i <path-to-image>' -Pbuild_java_samples=true
```
For **face_detection_sample_async**, use the following command:
```bash
:samples:face_detection_sample_async:run --args='-m <path-to-model> -i <path-to-image>' -Pbuild_java_samples=true
```
- Under **Environment Variables**, select **Edit environment variables** and add the following environment variables:

`INTEL_OPENVINO_DIR=<path-to-openvino_install>`
Expand All @@ -159,9 +154,6 @@ To run these samples, you need to specify a model and image. To perform inferenc
### For ```face_detection_java_sample```
The application will show the image with detected objects enclosed in rectangles in new window. It outputs the confidence value and the coordinates of the rectangle to the standard output stream.

### For ```face_detection_sample_async```
The application will show the video with detected objects enclosed in rectangles in new window.


# Hello Query Device Sample

Expand Down
17 changes: 0 additions & 17 deletions modules/java_api/samples/benchmark_app/build.gradle

This file was deleted.

1 change: 0 additions & 1 deletion modules/java_api/samples/benchmark_app/settings.gradle

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 19495fd

Please sign in to comment.