instaLens

InstaLens: Real-Time Object Detection Android App

Getting Started

Steps to Build and Run the App

  1. Clone the repository to your local machine using your preferred Git client or via command line.
  2. Open the project with Android Studio (version Bumblebee or newer recommended).
  3. Make sure all dependencies are synced properly with the project by checking the build.gradle files.
  4. Connect an Android device or set up an emulator through Android Studio’s AVD Manager.
  5. Build the project by selecting ‘Build -> Make Project’ in the Android Studio menu.
  6. Run the application by clicking on the ‘Run -> Run ‘app’’ option and select the connected device or an emulator.

Assumptions Made

InstaLens: Real-Time Object Detection Android App

InstaLens is an advanced object detection mobile application that leverages the power of TensorFlow Lite to identify objects in real-time through the device’s camera. It’s built for Android and includes several features and customizations that provide users with a seamless and interactive object detection experience.

Screenshots

Features

Object Detection Setup

InstaLens is equipped with a state-of-the-art object detection model, integrated into an Android project. It utilizes TensorFlow Lite for accurate and efficient detection of objects within the camera’s viewfinder.

Camera Rotation Support

The application supports both the front and back cameras, giving users the flexibility to switch between different perspectives for object detection. This feature enhances the app’s versatility in various scenarios.

Dynamic Detection Threshold

A user-friendly UI slider is available to adjust the confidence threshold for object detection. This allows users to filter out detections that fall below a certain confidence level. The threshold level is displayed in a percentage format next to the slider for clear visibility.

Real-Time Detection Counter

A counter is prominently displayed at the top-right corner of the screen, showing the number of objects detected in the current frame. This feature helps users to keep track of the detection activities in real time.

Snapshot Capture and Save

With a simple button tap, users can capture and save a snapshot of the current frame, complete with detection boxes and labels. These images can be stored in the device’s gallery or a specific folder designated by the app.

Customized Detection Categories

InstaLens adds a layer of customization by categorizing detected objects (such as people, vehicles, animals) and assigning unique colors to each category. This not only makes the detections more visually appealing but also helps in quick identification of object types.

High Performance

The app is optimized to run smoothly, ensuring that object detection is performed in real time without any significant lag, providing users with a fluid and responsive experience.

Dark and Light Node Support

Supports both Light and Dark mode.

Implementation Details

The app is structured around modern Android development practices, utilizing Kotlin for its development. It features:

With these features and its careful implementation, InstaLens stands out as a robust and user-friendly object detection app for Android users.