Commit 99894a3a authored by ranthilina99's avatar ranthilina99

add python and update layout

parent 8a99eea5
......@@ -2,7 +2,17 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.eketha">
<uses-permission android:name="android.permission.CAMERA"/>
<uses-feature
android:name="android.hardware.Camera.any"
android:required="true" />
<uses-feature
android:name="android.hardware.Camera"
android:required="true" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
......@@ -11,24 +21,33 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.EKetha">
<activity android:name=".pdHome" />
<activity android:name=".GrowthHeight"></activity>
<activity android:name=".GrowthThreatment" />
<activity android:name=".GrowthDetect" />
<activity android:name=".Admin" />
<activity android:name=".growthHome" />
<activity android:name=".weedHome" />
<activity android:name=".fertilizerHome" />
<activity android:name=".Growth" />
<activity android:name=".Fertilizer" />
<activity android:name=".Weeds" />
<activity android:name=".PetsAndDiseases" />
<activity android:name=".Register" />
<activity android:name=".Login" />
<activity
android:name=".MainActivity"
android:name=".Login"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".MainActivity" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
</application>
</manifest>
\ No newline at end of file
from scipy.spatial.distance import euclidean
from imutils import perspective
from imutils import contours
import argparse
import numpy as np
import imutils
import cv2
import base64
import io
from PIL import Image
import os
def show_images(images):
for i, img in enumerate(images):
cv2.imshow("image_" + str(i), img)
def main(data):
#decode the image
decoded_data = base64.b64decode(data)
np_data = np.fromstring(decoded_data, np.uint8)
in_img = cv2.imdecode(np_data, cv2.IMREAD_UNCHANGED)
out_img = in_img.copy()
if len(out_img.shape) < 3:
out_img.resize(*out_img.shape,1)
gray = cv2.cvtColor(out_img, cv2.COLOR_BGR2GRAY)
blur = cv2.GaussianBlur(gray, (9, 9), 0)
edged = cv2.Canny(blur, 50, 100)
edged = cv2.dilate(edged, None, iterations=1)
edged = cv2.erode(edged, None, iterations=1)
cnts = cv2.findContours(edged.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
cnts = imutils.grab_contours(cnts)
(cnts, _) = contours.sort_contours(cnts)
cnts = [x for x in cnts if cv2.contourArea(x) >2000]
ref_object = cnts[0]
box = cv2.minAreaRect(ref_object)
box = cv2.boxPoints(box)
box = np.array(box, dtype="int")
box = perspective.order_points(box)
(tl, tr, br, bl) = box
dist_in_pixel = euclidean(tl, tr)
dist_in_cm =10
pixel_per_cm = dist_in_pixel/dist_in_cm
for cnt in cnts:
box = cv2.minAreaRect(cnt)
box = cv2.boxPoints(box)
box = np.array(box, dtype="int")
box = perspective.order_points(box)
(tl, tr, br, bl) = box
cv2.drawContours(out_img, [box.astype("int")], -1, (0, 0, 255), 2)
mid_pt_horizontal = (tl[0] + int(abs(tr[0] - tl[0])/2), tl[1] + int(abs(tr[1] - tl[1])/2))
mid_pt_verticle = (tr[0] + int(abs(tr[0] - br[0])/2), tr[1] + int(abs(tr[1] - br[1])/2))
wid = euclidean(tl, tr)/pixel_per_cm
ht = euclidean(tr, br)/pixel_per_cm
cv2.putText(out_img, "{:.1f}cm".format(ht), (int(mid_pt_verticle[0] + 10), int(mid_pt_verticle[1])),
cv2.FONT_HERSHEY_SIMPLEX, 0.5, (0, 0, 5), 2)
pil_img = Image.fromarray(out_img)
buff = io.BytesIO()
pil_img.save(buff, format="JPEG")
#encode the image
img_str = base64.b64encode(buff.getvalue())
return ""+str(img_str, 'utf-8')
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Admin">
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
tools:context=".Growth">
<TextView
android:id="@+id/text"
android:layout_margin="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="IDENTIFICATION OF RICE RELATED PlANTS"
android:textAlignment="center"
android:textColor="#009688"
android:textSize="20dp" />
<ImageView
android:id="@+id/image"
android:layout_width="370sp"
android:layout_height="370sp"
android:layout_centerHorizontal="true"
android:layout_marginTop="10sp" />
<Button
android:id="@+id/btnTakePic"
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="@drawable/round_bg"
android:textAllCaps="false"
android:layout_above="@id/button2"
android:textSize="21sp"
android:textStyle="bold"
android:text="Open Camera"/>
<Button
android:id="@+id/btnOpenCam"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="@drawable/round_bg"
android:text="Launch Gallery"
android:textAllCaps="false"
android:layout_marginBottom="20dp"
android:layout_marginTop="20dp"
android:layout_alignParentBottom="true"
android:textSize="21sp"
android:textStyle="bold"/>
<Button
android:id="@+id/btnConfirm"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:textColor="#FFFFFF"
android:background="@drawable/round_bg"
android:text="Rice Identification"
/>
<TextView
android:id="@+id/classitext"
android:layout_marginTop="2dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAlignment="center"
android:textColor="#FFFFFF"
android:textSize="20dp" />
<!-- <TextView-->
<!-- android:id="@+id/treattext"-->
<!-- android:layout_marginTop="5dp"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="Result"-->
<!-- android:textAlignment="center"-->
<!-- android:textColor="#D32F2F"-->
<!-- android:textSize="20dp" />-->
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
tools:context=".GrowthDetect">
<TextView
android:id="@+id/text2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RICE PLANT RESULT"
android:textAlignment="center"
android:textColor="#009688"
android:textSize="20dp" />
<TextView
android:id="@+id/resulttext"
android:layout_marginTop="5dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Result"
android:textAlignment="center"
android:textColor="#D32F2F"
android:textSize="20dp" />
<ImageView
android:id="@+id/image2"
android:layout_width="370sp"
android:layout_height="370sp"
android:layout_centerHorizontal="true"
/>
<TextView
android:id="@+id/resulttext2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:text="Growth Details"
android:textAlignment="textStart"
android:textColor="#212121"
android:textSize="15dp"
android:textStyle="bold" />
<Button
android:id="@+id/btnTreatment"
android:layout_width="200dp"
android:background="@drawable/round_bg"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:textColor="#FFFFFF"
android:text="TREATMENTS"/>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".GrowthHeight">
<Button
android:id="@+id/button3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerVertical="true"
android:layout_marginTop="20dp"
android:layout_marginBottom="116dp"
android:background="@drawable/round_bg"
android:onClick="heightImage"
android:text="Height Measurement"
android:textAllCaps="false"
android:textSize="21sp"
android:textStyle="bold" />
<Button
android:id="@+id/button2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerVertical="true"
android:layout_marginTop="20dp"
android:layout_marginBottom="42dp"
android:background="@drawable/round_bg"
android:text="Growth Threatment"
android:textAllCaps="false"
android:textSize="21sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:textColor="#009688"
android:text="Height Measurement"
android:textStyle="bold"
android:textSize="30sp"
android:id="@+id/height"
android:layout_marginTop="20sp"
/>
<ImageView
android:id="@+id/imageHeightView"
android:layout_width="370sp"
android:src="@drawable/a"
android:layout_height="370sp"
android:layout_below="@+id/height"
android:layout_centerHorizontal="true"
android:layout_marginTop="10sp"
android:onClick="heightImage" />
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".growthHome">
<LinearLayout
android:id="@+id/layer1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_marginLeft="120dp"
android:layout_marginTop="30dp"
app:srcCompat="@drawable/logo" />
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="Growth Management"
android:textStyle="italic"
android:textColor="@color/black"
android:layout_marginTop="10dp"
android:layout_marginLeft="60dp"
android:textSize="30dp"/>
</LinearLayout>
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="173dp"
android:layout_marginRight="30dp"
app:cardCornerRadius="8dp"
android:layout_marginTop="30dp"
android:layout_marginLeft="30dp">
<LinearLayout
android:id="@+id/layer2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/black">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginLeft="30dp"
android:layout_marginTop="20dp"
android:layout_marginRight="30dp">
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
app:srcCompat="@drawable/rice" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="24dp"
android:layout_marginLeft="20dp"
android:layout_marginTop="36dp"
android:textColor="@color/white"
android:text="Rice Plant Identification"/>
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".GrowthThreatment">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center">
<TextView
android:id="@+id/treatText1"
android:layout_margin="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="GROWTH TREATMENTS"
android:textAlignment="center"
android:textColor="#009688"
android:textSize="20dp" />
<TextView
android:id="@+id/treatText2"
android:layout_marginTop="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Growth"
android:textAlignment="center"
android:textColor="#D32F2F"
android:textSize="20dp">
</TextView>
<ImageView
android:id="@+id/treatImg"
android:layout_width="196dp"
android:layout_height="226dp"
android:layout_marginTop="5dp">
</ImageView>
<TextView
android:id="@+id/treatText3"
android:layout_marginTop="5dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Treatments"
android:textAlignment="viewStart"
android:textColor="#00BCD4"
android:textSize="20dp">
</TextView>
<TextView
android:id="@+id/treatText4"
android:layout_marginTop="10dp"
android:layout_marginBottom="20dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Treatment Details"
android:textAlignment="viewStart"
android:textColor="#212121"
android:textStyle="bold"
android:textSize="15dp">
</TextView>
</LinearLayout>
</ScrollView>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".Login">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginTop="50dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/textView16"
android:layout_width="wrap_content"
android:layout_height="62dp"
android:layout_marginLeft="20dp"
android:layout_marginTop="40dp"
android:fontFamily="sans-serif-black"
android:text="@string/login"
android:textColor="#006400"
android:textSize="50dp" />
<ImageView
android:id="@+id/imageView4"
android:layout_width="129dp"
android:layout_height="122dp"
android:layout_marginLeft="40dp"
app:srcCompat="@drawable/logo" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:orientation="vertical">
<TextView
android:id="@+id/textView3"
android:layout_width="376dp"
android:layout_height="29dp"
android:layout_margin="10dp"
android:text="@string/email"
android:textColor="@color/black"
android:textColorHint="#FFFBFB"
android:textSize="24sp" />
<EditText
android:id="@+id/loginemail"
android:layout_width="match_parent"
android:layout_height="68dp"
android:hint="@string/email"
android:inputType="textPersonName"
android:padding="16dp"
android:textColorHint="#AFA4A4"/>
<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_marginTop="10dp"
android:layout_height="36dp"
android:text="@string/password"
android:textColor="@color/black"
android:textSize="24sp" />
<EditText
android:id="@+id/loginpassword"
android:layout_width="match_parent"
android:layout_height="68dp"
android:layout_marginTop="10dp"
android:hint="@string/password"
android:inputType="textPassword"
android:padding="16dp"
android:textColorHint="#AFA4A4" />
<CheckBox
android:id="@+id/rememmber_me"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:textColor="@color/black"
android:text="@string/rememberme"
android:textColorHint="#FFFBFB"
android:textSize="18sp" />
<Button
android:id="@+id/btnlogin"
android:layout_width="match_parent"
android:layout_height="68dp"
android:layout_marginTop="10dp"
android:text="@string/login"
android:textColor="#EDE8E8"
android:textSize="18sp"/>
<TextView
android:id="@+id/txtdonthaveacc"
android:layout_width="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginLeft="60dp"
android:layout_height="wrap_content"
android:text="Don't Have Account? Register"
android:textColor="@color/black"
android:textSize="18sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".Register">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="50dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:orientation="horizontal">
<TextView
android:id="@+id/textView20"
android:layout_width="178dp"
android:layout_height="62dp"
android:layout_marginTop="40dp"
android:fontFamily="sans-serif-black"
android:text="@string/signup"
android:textColor="#006400"
android:textSize="50dp"/>
<ImageView
android:id="@+id/imageView2"
android:layout_width="129dp"
android:layout_height="122dp"
android:layout_marginTop="4dp"
android:layout_marginLeft="40dp"
app:srcCompat="@drawable/logo" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginTop="30dp"
android:orientation="vertical"
android:layout_marginRight="20dp">
<EditText
android:id="@+id/registerfullName"
android:layout_width="match_parent"
android:layout_height="68dp"
android:hint="@string/fullName"
android:inputType="textPersonName"
android:padding="16dp"
android:textColor="#100E0E"
android:textColorHint="#817B7B"/>
<EditText
android:id="@+id/registeremail"
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="68dp"
android:drawableLeft="@drawable/ic_email"
android:hint="@string/email"
android:inputType="textEmailAddress"
android:padding="16dp"
android:textColor="#1E1818"
android:textColorHint="#958E8E"/>
<EditText
android:id="@+id/registermobile"
android:layout_width="match_parent"
android:layout_height="68dp"
android:layout_marginTop="10dp"
android:drawableLeft="@drawable/black_phone"
android:hint="@string/mobile"
android:inputType="phone"
android:padding="16dp"
android:textColor="#000000"
android:textColorHint="#7C7676" />
<EditText
android:id="@+id/registerpassword"
android:layout_width="match_parent"
android:layout_height="68dp"
android:layout_marginTop="10dp"
android:drawableLeft="@drawable/ic_lock"
android:hint="@string/password"
android:inputType="textPassword"
android:padding="16dp"
android:textColor="#0B0909"
android:textColorHint="#8E8282"/>
<EditText
android:id="@+id/registerretypepassowrd"
android:layout_width="match_parent"
android:layout_height="68dp"
android:layout_marginTop="10dp"
android:drawableLeft="@drawable/ic_lock"
android:hint="@string/retypepassword"
android:inputType="textPassword"
android:padding="16dp"
android:textColor="#100F0F"
android:textColorHint="#8A8080" />
<Button
android:id="@+id/btnregcreateaccount"
android:layout_width="match_parent"
android:layout_height="59dp"
android:layout_marginTop="10dp"
android:text="Create Account"
android:textColor="#E8DCDC"
android:textColorHint="#F1ECEC"
android:textSize="16dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginLeft="40dp"
android:orientation="horizontal">
<TextView
android:id="@+id/btnforgot"
android:layout_width="wrap_content"
android:layout_height="35dp"
android:layout_marginLeft="1dp"
android:layout_weight="1"
android:text="Already Have An Account?"
android:textColor="@color/black"
android:textSize="18sp" />
<TextView
android:id="@+id/txtsigiin"
android:layout_width="wrap_content"
android:layout_height="32dp"
android:text="@string/signin"
android:textColor="@color/green"
android:textSize="18sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
......@@ -9,7 +9,7 @@
<string name="login">Login</string>
<string name="forgotpassword">Forgot Password</string>
<string name="signup">Sign Up</string>
<string name="firstname">First Name</string>
<string name="fullName">Full Name</string>
<string name="lastName">Last Name</string>
<string name="mobile">Mobile</string>
<string name="retypepassword">Retype Password</string>
......@@ -25,4 +25,75 @@
<string name="changepassowrd">Change password</string>
<string name="confirmpassword">ConfirmPassowrd</string>
<string name="resetpassword">Reset Password</string>
</resources>
\ No newline at end of file
<string name="detail1">
Leaf margins turn brown, beginning with the older leaves and moving outward, spreading to leaves toward the branch tip.
The browned leaves may drop from the tree.
Symptoms become progressively worse over a period of 3 to 8 years, until the entire tree turns brown prematurely.
Infected leafhoppers and spittlebugs feed on the succulent, terminal shoots of susceptible host trees, transmitting the bacteria.
There are no viable control options for the insect vectors.
</string>
<string name="treatment1">
• Maintain plant vigor. Keeping susceptible trees healthy and thriving can help them resist infection and survive longer once they are infected.\n\n
• Practice good sanitation. Branches that have died due to bacterial leaf scorch should be routinely removed. Infected trees that are in a severe state of decline should also be removed.\n\n
• Plant resistant species. In areas where bacterial leaf scorch has occurred, avoid planting highly susceptible trees.\n\n
• Antibiotic injections. Oxytetracycline root flare injections applied in spring can reduce bacterium levels and delay symptoms by a couple of weeks.
</string>
<string name="detail2">
Late blight (Phytophthora infestans) is among the most destructive plant disease.
Late blight is caused by a fungus, and it creates irregularly shaped splotches that are slimy and water-soaked.
The spores of this disease are fast-spreading, moving on the wind for miles. Plant only locally grown plants to help keep the pathogen out of your area.
</string>
<string name="treatment2">
• Once late blight strikes, there is little you can do.\n\n
• Tear out the plants, put them in a garbage bag, and throw them out to keep the disease from spreading.\n\n
• Organic fungicides based on Bacillus subtilis are somewhat effective in preventing this tea plant disease when it’s first discovered in your area.
</string>
<string name="detail3">
Bacterial spot is a widespread disease of tea in Sri Lanka, where rainfall and humidity levels promote disease development.
Bacterial spot reduces tea yield and quality by defoliation. The bacteria enter plants through natural openings or wounds.
The leaf spots produced in bacterial spot are nearly identical to those of bacterial speck, and are similar to the initial symptoms of the fungal disease Septoria leaf spot.
A general yellowing of heavily spotted areas on leaves occurs, followed by leaf scorch.
Blighting (rapid death) of foliage progresses upward from the lower leaves on heavily infected plants.
</string>
<string name="treatment3">
• Control of bacterial spot is difficult once it becomes established in the field. Therefore, it is imperative to start with clean seed and transplants.\n\n
• Transplants should be started from clean seed produced in an area where the disease does not occur, or from seed that is disinfested with hot water or chlorine bleach treatment.\n\n
• Remove and destroy diseased crop debris or incorporate it into soil soon after harvest is complete.\n\n
• A weekly spray program with bactericides (mixtures of copper and fungicide) reduces disease development and increases yield.
</string>
<string name="detail4">
Appearing as tiny, round splotches on the leaves, this disease typically starts on the lowest leaves first.
After the plants begin to develop, the lower leaves break out in yellow spots. Within the yellow spots, dark gray centers with dark borders appear.
Black dots appear in the center of the spots. Foliage dies and falls off.
</string>
<string name="treatment4">
• Cut off and destroy infected leaves as soon as you spot them and disinfect pruning equipment before moving from one plant to another.\n\n
• Avoid watering from the top, as the spray can force the spores developing on the leaves back into the soil and continue the disease cycle.\n\n
• Organic fungicides based on copper or Bacillus subtilis are effective against septoria leaf spot, especially when used as a preventative measure.
</string>
<string name="detail5">
The disease starts on the older leaves and spreads upwards.
The first signs are irregular-shaped spots (less than 1 mm) with a yellow margin.
Spread to all leaflets and to other leaves is rapid, causing the leaves to turn yellow, collapse and die. Spots also occur on the stems.
The spores are spread by wind-blown rain, and if windy wet weather continues for a few days, spread is fast and plants lose their leaves quickly.
Look for the disease on the bottom leaves. Look for tiny brown spots with yellow margins. Look for larger spots up to 10 mm that have ring patterns. Spots may be present on the stems and on the fruit.
</string>
<string name="treatment5">
• Do not plant new crops next to older ones that have the disease.\n\n
• Check all seedlings in the nursery, and throw away any with leaf spots.\n\n
• Remove a few branches from the lower part of the plants to allow better airflow at the base.\n\n
• Remove and burn the lower leaves as soon as the disease is seen.\n\n
• The fungicides products to use are chlorothalonil, copper oxychloride or mancozeb.\n\n
• Treatment should start when the first spots are seen and continue at 10-14-day intervals until 3-4 weeks before last harvest. It is important to spray both sides of the leaves.
</string>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path
name="project_images"
path="Pictures/"/>
</paths>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment