build.gradle files.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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
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.
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.
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.
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.
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.
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.
Supports both Light and Dark mode.
The app is structured around modern Android development practices, utilizing Kotlin for its development. It features:
CameraFrameAnalyzer class that handles frame analysis and object detection logic.DataStore preference for storing user settings, including the confidence threshold for detections.OnBoardingPage and OnBoardingPageIndicator for an intuitive user experience, introducing the app’s features.ImageScalingUtils object that ensures detected bounding boxes are scaled appropriately to the size of the display.With these features and its careful implementation, InstaLens stands out as a robust and user-friendly object detection app for Android users.