DrawNote AI is an iOS app that scans whiteboard/chalkboard writings and drawings, transferring them to the user's OneNote account seamlessly.
- User Authentication: Log in using your Outlook email with MSAL authentication.
- Image Capture: Take a picture of the board to capture writings and drawings.
- Azure Integration: Uploads images to Azure Storage and triggers a Python function for processing.
- AI-Powered Recognition: Uses a PyTorch pretrained model to extract and convert board content to InkML.
- OneNote Sync: Creates a new OneNote page with the extracted content in the user's specified section.
- iOS App: Developed in Swift.
- Authentication: MSAL (Microsoft Authentication Library).
- Cloud Storage: Azure Storage Container.
- Machine Learning: PyTorch pretrained model from LectureMath.
- Markup Language: InkML.
- Serverless Functions: Azure Functions (Python and C#).
User Authentication:
- Users log into the app using their Outlook email via MSAL authentication.
Image Capture:
- Users take a picture of the board within the app.
Image Upload:
- The image is uploaded to an Azure Storage container.
Python Processing:
- Upload triggers a Python function that processes the image with a PyTorch model.
- Extracted writings and drawings are converted into InkML.
InkML Upload:
- The generated InkML is uploaded to an Azure container, triggering another function.
C# Processing:
- This function reads the InkML content and creates a new OneNote page in the user's specified section with the InkML content.
- Xcode and Swift installed on your macOS.
- Azure account for storage and function deployment.
- OneNote account for syncing notes.
- MSAL library for authentication.
Clone the repository:
git clone https://github.com/yourusername/DrawNoteAI.git cd DrawNoteAIInstall dependencies:
pod install
Configure Azure and OneNote:
- Set up your Azure Storage container and functions.
- Update the configuration files with your Azure and OneNote details.
Build and Run:
- Open the project in Xcode.
- Build and run the app on your IPhone or IPad.
- Log in using your Outlook email.
- Capture the board writings and drawings.
- The app processes and uploads the content.
- Check your OneNote account for the new page with the captured content.
- LectureMath for the pretrained model.
- Microsoft for the MSAL library and OneNote integration.
Happy Note Taking with DrawNote AI!