- Chat GPT
- V0(by vercel)
- YouTube
- Shadcn documentation
- TenserFlow documentation
This project is an Ai/Ml - web based project where one can upload and image and will get the data on that image.
Check the video for the brief of the project without running here -> Link ⭐
- Upload: Users can uplod their image.
- View: User can see their uploaded image and check the data that the model displays.
- Responsive Design: Optimized for various screen sizes, providing a seamless experience on both mobile and desktop devices.
- Frontend: React+TypeScript+vite
- Api: Tenser Flow Api
- Styling: Shadcn Ui and custom Tailwind CSS for responsive design
- Version Control: Git & GitHub
Ensure you have the following installed on your machine:
- Node.js (v14 or later)
- npm (Node Package Manager)
git clone https://github.com/Neel-max-cpu/ImagePrediction.git
Change into the project directory:
cd [the folder name]
Run the following command to install the necessary dependencies for the frontend:
npm install
After setting up, you can start the application.
In a new terminal window, navigate to the root directory and start the React application:
npm run dev
Open your web browser and go to http://localhost:5173/ to access the App.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptions
property like this:
export default tseslint.config({
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
})
- Replace
tseslint.configs.recommended
totseslint.configs.recommendedTypeChecked
ortseslint.configs.strictTypeChecked
- Optionally add
...tseslint.configs.stylisticTypeChecked
- Install eslint-plugin-react and update the config:
// eslint.config.js
import react from 'eslint-plugin-react'
export default tseslint.config({
// Set the react version
settings: { react: { version: '18.3' } },
plugins: {
// Add the react plugin
react,
},
rules: {
// other rules...
// Enable its recommended rules
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
},
})