Version: 1.0
Short Description StoryLens is an Android application designed to encourage creative writing in children. It helps young writers build their own stories, generate colorful comic-style illustrations using artificial intelligence, and even capture handwritten or printed text with the camera to include in their digital storybooks.
- Motivates young writers: Children choose characters, settings, and plot twists to build their own unique stories.
- Visual and interactive learning: AI-generated illustrations bring their words to life, supporting imagination and comprehension.
- Active participation: Kids can take pictures of their own handwriting or text and place them directly into their comic panels.
- Step-by-step story builder with multiple choices for characters, settings, and actions.
- Live preview of the story as the child makes choices.
- Includes 8 narrative steps from introduction to resolution, helping children understand story structure.
- Uses DALL·E 3 to create vivid, comic-style images from story descriptions.
- Comic book aesthetic with bold lines and dynamic compositions.
- Generates one image at a time for a smoother, interactive experience.
-
Kids can snap pictures of handwritten notes or printed sentences.
-
Image processing pipeline powered by OpenCV:
- Contrast enhancement (CLAHE)
- Edge sharpening (unsharp mask)
- Smoothing (bilateral filter)
-
Add playful text bubble shapes like speech balloons, clouds, and rounded boxes.
- Drag and scale interface to position text bubbles over generated images.
- Accurate coordinate mapping for correct placement.
- Real-time preview of layout changes.
- Export full stories as PDFs.
- Save and manage stories in the child’s personal library.
- Firebase cloud storage allows safe and easy access to saved stories.
- Android SDK (using CameraX for capturing images)
- OpenCV (C++ based image enhancement)
- Firebase (Authentication, Firestore Database, Cloud Storage)
- OpenAI API for image generation with DALL·E 3
- Retrofit for API calls
MainActivity: Interface for story buildingImageGenerator: Manages AI-generated illustrationsCameraActivity: Captures and processes text imagesComposeActivity: Final story page editor and composition tool
- Android 7.0 (API level 24) or higher
- Camera access for text capture
- Internet connection for AI-based image generation
CAMERA: Capture handwritten/printed textINTERNET: Access to OpenAI APIACCESS_NETWORK_STATE: Check network connectivityREAD_EXTERNAL_STORAGE: Process saved image files
- Add your OpenAI API key to the project configuration.
- Set up a Firebase project, including Authentication, Firestore, and Cloud Storage.
- Download and link OpenCV native libraries with NDK support.
- Open the project in Android Studio (latest version recommended).
- Build and run the app on an Android device.
- Create a Story: The child selects options for each part of the narrative.
- Generate Art: AI illustrations are generated based on story events.
- Capture Text (Optional): Use the camera to include handwritten or book text.
- Add Text Bubbles: Choose a fun shape and attach it to the image.
- Arrange Elements: Drag and position bubbles on the scene.
- Export to PDF: Save the comic and add it to the child’s digital story library.
- Promotes creative writing and story structure understanding.
- Encourages reading and visual learning through image and text integration.
- Builds confidence by allowing children to author and illustrate their own books.
StoryLens turns imagination into illustrated stories — helping kids become authors, artists, and creators of their own worlds. 🧒✨📖