Tensor Hub is a versatile AI-powered web application that allows users to analyze data using various machine learning models powered by TensorFlow.js. The current version supports image analysis using the MobileNet model, but the app is designed to incorporate additional models in the future. Tensor Hub provides predictions with confidence scores and allows users to download the analysis results. It’s built using Next.js and Tailwind CSS for a fast, responsive front-end experience.
Features
• Upload a file (e.g., images) for analysis
• Analyze data using the MobileNet model
• View detailed predictions with confidence percentages
• Download the analysis results as a text file
• Responsive design with full mobile and tablet support
• Built with Next.js and Tailwind CSS for performance and scalability
• Planned future support for all TensorFlow.js models (e.g., text, object detection)
Demo
Check out the live demo here: https://nisalrenuja.github.io/tensor-hub/
Table of Contents
• Getting Started
• Installation
• Usage
• Build for Production
• Deploying
• Technologies Used
• Contributing
• License
Getting Started
Follow the instructions below to set up the project on your local machine for development and testing purposes.
Prerequisites
Ensure you have the following installed on your system:
• Node.js (v14 or higher)
• npm or yarn
Installation
-
Clone the repository: git clone https://github.com/your-username/tensor-hub.git
-
Navigate into the project directory: cd tensor-hub
-
Install dependencies: npm install or, if you prefer yarn: yarn install
Usage
-
Run the development server: npm run dev or yarn dev
-
Open http://localhost:3000 in your browser to see Tensor Hub in action. Build for Production To create an optimized production build, run: npm run build or yarn build
The production-ready files will be output to the .next directory.
Deploying
You can easily deploy Tensor Hub to platforms like Vercel or Netlify by following their documentation for deploying Next.js applications.
Technologies Used
• Next.js - React framework for server-side rendering and static site generation
• Tailwind CSS - Utility-first CSS framework for styling
• TensorFlow.js - Machine learning in the browser
• MobileNet - Pre-trained image classification model for analyzing images
• Lucide Icons - Simple and beautiful SVG icons
• React - Front-end JavaScript library
Contributing
If you’d like to contribute to this project, please follow the steps below:
1. Fork the repository.
2. Create a new branch for your feature/bugfix.
3. Make your changes and test them thoroughly.
4. Submit a pull request explaining your changes.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to modify the project details or deployment link when you’re ready to share it publicly. Let me know if you need any further changes or additions!