An intelligent marine conservation platform that empowers users to explore, identify, and protect ocean ecosystems through advanced AI technology and comprehensive marine databases.
🔍 AI-Powered Species Identification
- Upload photos to identify marine species using Google Vision AI
- Get detailed information about conservation status, habitat, and ecological role
- Learn about threats and conservation efforts for each species
🗄️ Marine Database Search
- Comprehensive database of marine species with detailed profiles
- Search by common name, scientific name, or characteristics
- Conservation status tracking and threat assessments
🌐 Interactive Ocean Explorer
- Virtual exploration of different ocean ecosystems
- Real-time marine species observations from iNaturalist API
- Learn about ocean conditions, depths, and marine environments
📊 Environmental Impact Calculator
- Calculate your environmental footprint's impact on marine ecosystems
- Track plastic reduction, CO2 emissions, and conservation contributions
- Get personalized recommendations for ocean-friendly actions
🌱 Conservation Action Hub
- Discover actionable steps to protect marine environments
- Community-driven conservation initiatives
- Track your contribution to marine protection efforts
- Node.js (v18 or higher)
- npm or yarn package manager
- Google Cloud Platform account with Vision AI API enabled
-
Clone the repository
git clone <YOUR_GIT_URL> cd ocean-vision-ai-main
-
Set up environment variables
cp .env.example .env
Then edit the
.envfile and add your Google Vision AI API keys:VITE_GOOGLE_API_KEY=your_google_api_key_here VITE_GOOGLE_VISION_API_KEY=your_google_vision_api_key_here
-
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173to view the application
npm run dev- Start development server with hot reloadnpm run build- Build for productionnpm run build:dev- Build in development modenpm run lint- Run ESLint for code qualitynpm run preview- Preview production build locally
- React 18 - Modern React with hooks and concurrent features
- TypeScript - Type-safe development
- Vite - Fast build tool and development server
- shadcn/ui - High-quality React components
- Tailwind CSS - Utility-first CSS framework
- Radix UI - Accessible component primitives
- Lucide React - Beautiful icon library
- React Query (TanStack Query) - Server state management
- React Hook Form - Performant form handling
- Zod - Schema validation
- Google Vision AI - Image analysis for species identification
- iNaturalist API - Real marine species observation data
- Custom Marine Database - Curated species information
- ESLint - Code linting and formatting
- TypeScript ESLint - TypeScript-specific linting rules
- PostCSS - CSS processing
- Autoprefixer - CSS vendor prefixing
src/
├── components/ # React components
│ ├── ui/ # shadcn/ui components
│ ├── ConservationActions.tsx
│ ├── HeroSection.tsx
│ ├── ImpactCalculator.tsx
│ ├── MarineDatabaseSearch.tsx
│ ├── Navbar.tsx
│ ├── OceanExplorer.tsx
│ ├── ParticleBackground.tsx
│ └── SpeciesIdentification.tsx
├── hooks/ # Custom React hooks
├── lib/ # Utility libraries
├── pages/ # Page components
│ ├── Index.tsx
│ └── NotFound.tsx
├── types/ # TypeScript type definitions
└── utils/ # Utility functions
├── iNaturalistAPI.ts
└── marineDatabase.ts
Used for marine species identification from user-uploaded images. Provides detailed analysis of marine life with conservation context.
Setup:
- Go to the Google Cloud Console
- Create a new project or select an existing one
- Enable the Vision AI API and Generative Language API
- Create API credentials and add them to your
.envfile
Integrated for real-time marine species observations worldwide, providing authentic data about marine biodiversity and distribution.
Curated database of marine species with conservation status, threats, and ecological information.
We welcome contributions to Ocean Vision AI! Whether you're interested in:
- Adding new marine species data
- Improving AI identification accuracy
- Enhancing the user interface
- Fixing bugs or adding features
- Updating conservation information
Please feel free to submit issues and pull requests.
Ocean Vision AI is committed to marine conservation through:
- Education: Raising awareness about marine biodiversity
- Action: Providing tools to reduce environmental impact
- Data: Contributing to marine species research and conservation
- Community: Building a network of ocean conservation advocates
This project is built with modern web technologies and is designed to support marine conservation efforts worldwide.
🐢 Together, We Protect Our Oceans 🐢
Every action counts in marine conservation. Thank you for being part of the solution and helping protect the incredible biodiversity of our planet's oceans.