Skip to content

GOWTHAMI-GURRAM/android-opencv-opengl-web-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§ͺ Android + OpenCV (C++) + OpenGL + TypeScript Web Viewer β€” RnD Intern Assessment

This project skeleton contains the minimal files and structure to help you start the assignment. You still need to open the project in Android Studio, provide proper Gradle files, add OpenCV SDK, and configure NDK.

Project structure (skeleton)

android-opencv-opengl-assignment/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   └── main/
β”‚   β”‚       β”œβ”€β”€ java/com/example/app/MainActivity.kt
β”‚   β”‚       └── java/com/example/app/NativeLib.kt
β”œβ”€β”€ jni/
β”‚   └── native-lib.cpp
β”œβ”€β”€ CMakeLists.txt
β”œβ”€β”€ web/
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ index.ts
β”‚   β”œβ”€β”€ package.json
β”‚   └── tsconfig.json
β”œβ”€β”€ .gitignore
└── README.md

What this ZIP includes

  • Minimal Kotlin files showing how to call JNI.
  • Minimal C++ native file (OpenCV calls are stubbed; include OpenCV in your CMake when available).
  • A CMakeLists.txt that is a placeholder β€” adjust paths for OpenCV SDK on your machine.
  • A tiny TypeScript web viewer skeleton.
  • README with instructions and next steps.

Important next steps (you must do these locally)

  1. Open Android Studio and create a proper Android project (or import this folder into a full project).
  2. Add Gradle (build.gradle, settings.gradle) and Android manifest β€” not included in this skeleton.
  3. Download OpenCV Android SDK and point CMakeLists.txt to the OpenCV SDK path.
  4. Configure app/build.gradle to enable externalNativeBuild (CMake) and set the NDK version.
  5. Build and run on an Android device with USB debugging enabled.
  6. Place sample processed images into /web to preview the web viewer.

Author: Gurram Gowthami

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages