Skip to content

vasu-here/byteverse_TeamAgora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot 2023-04-16 153839

LIVE DEMO| RENDOR LINK

Demo Video | TEAM AGORA

Demo Video | DRIVE LINK

Overview

Krishi Kiran provides a complete interface for the farmers as well as consumers for buying and selling crops in the web app. In this web app we are integrating AI CHATBOT for the farmers through which the farmers can ask any desired questions they want. Also through our ML model the farmers can check whether the crop has been been affected by disease or not. For the consumers we have added 'Compare crops' feature so that they can compare the prices of the crops uploaded by farmers. This makes Krishi Kiran a complete web-app which acts as a e-commerce platform with seller as farmers themselves and most importantly it acts a complete tool and all in 1 web-app for farmers.

Working of Disease Recognisition system

1)Upload Image: Go to the Disease Recognition page and upload an image of a plant with suspected diseases.

2)Analysis: Our system will process the image using advanced algorithms to identify potential diseases.

3)Results: View the results and recommendations for further action.

Installation

Pre-requisites :

  1. Node.JS
  2. MySQL

Make sure to add the path of MySQL

  1. NPM

Terminal

Open a new folder in VS code and in the terminal enter the following :

Initializing the git

git int

Cloning the git-repo

git clone https://github.com/VasuOOCh/byteverse_TeamAgora

installing node modules

npm install

Usage

const connection = mysql.createConnection({
  host: 'hostname',
  user: 'user',
  database: 'agora_byte',
  password : process.env.MYSQL_PASS //Enter MySQL password
});

const anthropic = new Anthropic({
    apiKey: process.env.API_KEY // Enter your API key here
    });

async function answer(ques) {
    const message = await anthropic.messages.create({
    max_tokens: 1024,
    messages: [{ role: 'user', content: ques }],
    model: 'claude-3-opus-20240229',
});


return message.content[0].text;
    
}

Setting up MySQL local server

create database agora_byte;
use agora_byte;
create table farmer_info (
	farm_id varchar(100) PRIMARY KEY,
    farm_name varchar(100),
    mobile bigint,
    amount int default 0,
    complete int default 0,
    pending int default 0
);

Dependencies

  1. "@anthropic-ai/sdk": "^0.20.1",
  2. "axios": "^1.6.8",
  3. "dotenv": "^16.4.5",
  4. "ejs": "^3.1.9",
  5. "express": "^4.19.2", 6)"method-override": "^3.0.0",
  6. "mysql2": "^3.9.4",
  7. "uuidv4": "^6.2.13"

Please make sure to update tests as appropriate.

Python Module use for Disease Prediction

we have used Python 3.12.3.

  1. matplotlib==3.8.4
  2. numpy==1.26.4
  3. pandas==2.2.1
  4. scikit-learn==1.4.2
  5. seaborn==0.13.2
  6. streamlit==1.33.0
  7. tensorflow==2.16.1

WEB INTERAFCE

HOME PAGE

Screenshot 2023-04-16 153839

CONSUMER

Screenshot 2023-04-16 153839

FEATURES

Screenshot 2023-04-16 153839

ABOUT US

Screenshot 2023-04-16 153839

CONTACT US

Screenshot 2023-04-16 153839

DISEASE RECOGNITION

Screenshot 2023-04-16 153839

Screenshot 2023-04-16 153839

Screenshot 2023-04-16 153839

FARMER LOGIN

Screenshot 2023-04-16 153839

FARMER PORTAL

Screenshot 2023-04-16 153839

## FARMER PORTAL IN HINDI

Screenshot 2023-04-16 153839

MY CROP SECTION

Screenshot 2023-04-16 153839

SELL CROP

Screenshot 2023-04-16 153839

BUYER PROTAL

Screenshot 2023-04-16 153839

COMPARE CROP

Screenshot 2023-04-16 153839

RESPONSIVENESS

Screenshot 2023-04-16 153839

Screenshot 2023-04-16 153839

Screenshot 2023-04-16 153839

Screenshot 2023-04-16 153839

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors