From 6866a449832573dbe4029eaa574a7ad76eacb172 Mon Sep 17 00:00:00 2001 From: Yadhu567 <84367906+Yadhu567@users.noreply.github.com> Date: Wed, 21 Feb 2024 16:40:03 +0530 Subject: [PATCH] Add files via upload --- .../animaldetection/__init__.py | 0 .../__pycache__/__init__.cpython-310.pyc | Bin 0 -> 175 bytes .../__pycache__/admin.cpython-310.pyc | Bin 0 -> 216 bytes .../__pycache__/apps.cpython-310.pyc | Bin 0 -> 472 bytes .../__pycache__/models.cpython-310.pyc | Bin 0 -> 641 bytes .../__pycache__/urls.cpython-310.pyc | Bin 0 -> 635 bytes .../__pycache__/views.cpython-310.pyc | Bin 0 -> 3187 bytes .../animaldetection/admin.py | 3 + .../animaldetection/apps.py | 6 + .../animaldetection/migrations/__init__.py | 0 .../__pycache__/__init__.cpython-310.pyc | Bin 0 -> 186 bytes .../animaldetection/models.py | 14 ++ .../static/css/alldocuments.css | 55 +++++++ .../animaldetection/static/css/home.css | 30 ++++ .../static/css/lastdocument.css | 59 ++++++++ .../animaldetection/static/css/login.css | 98 ++++++++++++ .../static/css/registration.css | 65 ++++++++ .../animaldetection/static/css/reset.css | 71 +++++++++ .../animaldetection/tests.py | 3 + .../animaldetection/urls.py | 16 ++ .../animaldetection/views.py | 105 +++++++++++++ .../animaldetectionwebsite/__init__.py | 0 .../__pycache__/__init__.cpython-310.pyc | Bin 0 -> 182 bytes .../__pycache__/settings.cpython-310.pyc | Bin 0 -> 2451 bytes .../__pycache__/urls.cpython-310.pyc | Bin 0 -> 371 bytes .../__pycache__/wsgi.cpython-310.pyc | Bin 0 -> 615 bytes .../animaldetectionwebsite/asgi.py | 16 ++ .../animaldetectionwebsite/settings.py | 141 ++++++++++++++++++ .../animaldetectionwebsite/urls.py | 8 + .../animaldetectionwebsite/wsgi.py | 16 ++ animaldetectionwebsite/manage.py | 22 +++ animaldetectionwebsite/package.json | 12 ++ animaldetectionwebsite/templates/Home.html | 23 +++ animaldetectionwebsite/templates/Login.html | 39 +++++ .../templates/Registration.html | 57 +++++++ animaldetectionwebsite/templates/Reset.html | 30 ++++ .../templates/alldocuments.html | 40 +++++ .../templates/lastdocument.html | 60 ++++++++ 38 files changed, 989 insertions(+) create mode 100644 animaldetectionwebsite/animaldetection/__init__.py create mode 100644 animaldetectionwebsite/animaldetection/__pycache__/__init__.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetection/__pycache__/admin.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetection/__pycache__/apps.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetection/__pycache__/models.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetection/__pycache__/urls.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetection/__pycache__/views.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetection/admin.py create mode 100644 animaldetectionwebsite/animaldetection/apps.py create mode 100644 animaldetectionwebsite/animaldetection/migrations/__init__.py create mode 100644 animaldetectionwebsite/animaldetection/migrations/__pycache__/__init__.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetection/models.py create mode 100644 animaldetectionwebsite/animaldetection/static/css/alldocuments.css create mode 100644 animaldetectionwebsite/animaldetection/static/css/home.css create mode 100644 animaldetectionwebsite/animaldetection/static/css/lastdocument.css create mode 100644 animaldetectionwebsite/animaldetection/static/css/login.css create mode 100644 animaldetectionwebsite/animaldetection/static/css/registration.css create mode 100644 animaldetectionwebsite/animaldetection/static/css/reset.css create mode 100644 animaldetectionwebsite/animaldetection/tests.py create mode 100644 animaldetectionwebsite/animaldetection/urls.py create mode 100644 animaldetectionwebsite/animaldetection/views.py create mode 100644 animaldetectionwebsite/animaldetectionwebsite/__init__.py create mode 100644 animaldetectionwebsite/animaldetectionwebsite/__pycache__/__init__.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetectionwebsite/__pycache__/settings.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetectionwebsite/__pycache__/urls.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetectionwebsite/__pycache__/wsgi.cpython-310.pyc create mode 100644 animaldetectionwebsite/animaldetectionwebsite/asgi.py create mode 100644 animaldetectionwebsite/animaldetectionwebsite/settings.py create mode 100644 animaldetectionwebsite/animaldetectionwebsite/urls.py create mode 100644 animaldetectionwebsite/animaldetectionwebsite/wsgi.py create mode 100644 animaldetectionwebsite/manage.py create mode 100644 animaldetectionwebsite/package.json create mode 100644 animaldetectionwebsite/templates/Home.html create mode 100644 animaldetectionwebsite/templates/Login.html create mode 100644 animaldetectionwebsite/templates/Registration.html create mode 100644 animaldetectionwebsite/templates/Reset.html create mode 100644 animaldetectionwebsite/templates/alldocuments.html create mode 100644 animaldetectionwebsite/templates/lastdocument.html diff --git a/animaldetectionwebsite/animaldetection/__init__.py b/animaldetectionwebsite/animaldetection/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/animaldetectionwebsite/animaldetection/__pycache__/__init__.cpython-310.pyc b/animaldetectionwebsite/animaldetection/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3d32ded34ad059d5552c8e8e0804fd6ec6f6aa36 GIT binary patch literal 175 zcmd1j<>g`kf|ebpQ$X}%5P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;x_evsFxJacWU< zOkzn!X-COKNd;Nq#|0VqRu$VopkGNosOQW`16IYEp4#Nh-Q&ryk0@&Ee@O9{FKt1R6CGe#Y{kgg#iE}(k?at literal 0 HcmV?d00001 diff --git a/animaldetectionwebsite/animaldetection/__pycache__/admin.cpython-310.pyc b/animaldetectionwebsite/animaldetection/__pycache__/admin.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e8a4e99631a989ac9a01949363e49e5c61722333 GIT binary patch literal 216 zcmd1j<>g`kf|ebpQ=EYGV-N=!FabFZKwK;UBvKes7;_kM8KW2(8B&;n88n$+0!0}# z8E>&BrsQVk`Drpm@ug%X=B4NBCFkdr6lEqAfecv5P{a(Rz{D?qXRDad;?$zzn8cEd z(wrFoyi}K>%(B!Nm(=3ylKg_0#JtSh#GI7WlGNmq%>2Ca)TH9fl2mlz7_g0c1(mlr VY;yBcN^?@}7=d;agX|Mv002@NIgbDU literal 0 HcmV?d00001 diff --git a/animaldetectionwebsite/animaldetection/__pycache__/apps.cpython-310.pyc b/animaldetectionwebsite/animaldetection/__pycache__/apps.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9f6d92dbfa3bcce2757f791d88b4dc5ed3f8db75 GIT binary patch literal 472 zcmZ8dOHRWu5VhkJg?@yD$`XlfHaP%7sHGL`$^x;8B3Y*6mVgt7*a5+o9tLi}9k_wF zthfRz#%(1^N1EsPKF^Hq_1Xkw@$m_7_$G2n4_u1em0+ zEDa#MB5~^*t4K`U?y#yxx}4?nsgG<5MQ4C&`UsMw6bN?HltGY&z>p<$2g5QigaT>h z)aJTeQN0|(ohauzft#ezAeBkZ^7*i_`aG8k+@AQ~HHlj;;=B}vSguQK4c3H}Coj=NKEX}>uRkro} zle{sxmD}M=RFz4p=b9n2zpmLqh)75yx{OU?<~r*|eQh215q$OEFe|HrF&CYzwmS89 KHJ-3b`s^2sjeLv% literal 0 HcmV?d00001 diff --git a/animaldetectionwebsite/animaldetection/__pycache__/models.cpython-310.pyc b/animaldetectionwebsite/animaldetection/__pycache__/models.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..05d258f4a7619c213206a9f84b6ad80d54cf3b0d GIT binary patch literal 641 zcmZ8fO>WdM6tircOej{?T-1POg<-x_9?$9q2PyLeMfns-U9V9T&UOamMXgCOR>Gfq{ABGe zmG9ld>CwyTqr=u!%5OSdy*IdQ>n~U>(S7pvvKn&!4Zgy2S9|<_yBg+oaQU^3BZ_l( zd*pIf@{;GY;T6kmA^u?X)7>uG#Pxd<%bI zcChLfRAR+-GQ8@@$LCz#SMHUoRYCB4`~DRk2Za3a;@?xEc!Ae^MgRholYusr5(psV z!4Nhf@~DXzg_wmGF(iaFikr{0!(@SAGp97`YC zFGpAZS$E3CbG0V_Q_PiE0moyR7Um1lM?TEM&(oJr+nr(Bv^czxx32{|(fuWBPnh{& xrE2dC@QS@Ny=8aJt^b2#_0eU|1_>i)&;1_E6NHLXGz#jlrZp|_dh}m*`wLc+wLJg; literal 0 HcmV?d00001 diff --git a/animaldetectionwebsite/animaldetection/__pycache__/views.cpython-310.pyc b/animaldetectionwebsite/animaldetection/__pycache__/views.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d4b791c499269dcde1dc0980a0051b5afef34eb2 GIT binary patch literal 3187 zcma)8O;a4l8J@45nO&AI2_z$bXt3ir8(UalVPr~i1w$-hWaNNlm!_!N8n&Bd#O%zf zyBEaNa#H?7E;+!_x7_nj=IWEqxukS)p0@|kg5^qfYu^5x?swkj>F4cic(`WZ_xIU< z@o(ye@iR3Be^oU8j7Rk6P`IvZvq|L{Yfd&gDopO|5d*N%ryjIfS!809bDuqk!}OgVHQK*W@$THPGX*_mnOYq7NbjP+=-GEt}rLgQgr#$Mz5JFRv}lF3mRYt|gz(J-fZM!++RYxgY=K$+!83kzR$Jt#a$m zXVH9XW(PadLQ%In)5<#e#u9`U#xw#G5_F)!f5!R8+GF~ei+uGp4wf> zI#Ha4)vm~%A^@u_9F{5*QJa6&Ywd9rj(50}Q9DlCn>x6dQGsJLvBM+T6TE|HqB+DO z7175&-gwxe;GX?lR2)3Zc;r181%kaWkIcTwtSRHj>RZf4Y4`18^Tar|n8PY3){(>9 zz7v~A6=nAg=JhKtY=G^rznbb0jBI=H(@&GE6(zfwREu*9w`UiMu`-g)b0CV^c~us6 zGiEP;!LO*YtkomOWj-Dy$$4vLS9OwxBgo&v*@;tDI5HDTSmA+DkQ>e2Gz)?>+q+=|q0FWGvO@)Z&9^Q{#w_f*#1 zx`aRAl(FKMySMgZejsPMhedtR=eMwhqx0uTg>jfa5vHwl6= z5Loktg|J%duWAo7z^o(ilc_%##W<$vk0{M`Gz(Y8?Q}K$JuO3VshQ$k6c_d)(0x1_ z^c0o8@zgjrnR!CMmvswuEB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ScZf0|1wsF)#oC literal 0 HcmV?d00001 diff --git a/animaldetectionwebsite/animaldetectionwebsite/__pycache__/settings.cpython-310.pyc b/animaldetectionwebsite/animaldetectionwebsite/__pycache__/settings.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..19d2a8e80db0a747a32068c72cfdaa3ed87e9f98 GIT binary patch literal 2451 zcmb7GTXWM!6qanoc1#jN!mXqi%`gKoG;*8*NuW>^O9>tv+Y`y8XfmUby=!}eE=Ie; zM6dk={Q*3*y!ExerB8b8Q~y98I_=OS*$EyeOjF5PY0u?5XV0E<*52%Fo`dVrkH2Ae zj^lohC*xNJCQsp^zruhxgF`$@*}Ri7Qap!KIQ;|vlkhWlICVH>WKi13BEiU^DU|7^ zjOi|ivhR5#5APhjFQ92-2IX-EU0C9}JQC0haAx20ghzAlgf4H)qKn2Hnn#z=0$N0u zfqvy(n()R&bQN8L*;RBs89z(L8-(u)#ynawE}_qj1+csb&t>$5aRq&8Tt#1LTtT!R z@f?>|4lTFqi4-$N+%6S6o-bN1aV#5QhTDvI?f|zaVOZ?@-XTz=e0~SJ*tZx)V(Un} zjS`3z3pvCUDYJYwlDsVj6hOt1jeAl_+63)wFyVMU7Ksbi94odV!jJU`*e5pr8r;G8 z9%Fs_uvkQ1n@U3)#~!pjr-Stnp+8{XxdI;v4U6@{tx*(+OL05!@yhxpx#e_LAN$LNo8;EU-NIw@ z?Hy*l?%byoKWzmY{pGj#o^{yUbO(XAJlMFehcl(kHL3JqLt0yv?uXN*wRLF~?ouHe zULN90ZO>&sX-P@6!^KHz0In=e5MveWGIrF*G`u#!q?l5O|7nH;466$oHzqY0>{vVA zCu&@rNEL8&WhCwpgls&pd@LmqA?!%f;?Tgy?g=lvH;F#-M;g=DhO{xQ!f7Lr6OQLf z<>d7rqSWt5Wf)!%JQx#QpYX+kXpZ|K!yE!h+DXceDNZipICkU8yTf>nX+1b&5jJVR zI<(raplqb?w|&dO^?qC*bWCq)BIu*~lmg$TVQ~b?u+z7pM5Pv>VHX{jkfbEls*l(- znm(4K(L$0bZ58ILK zb(BT8V+A&YR(|L~!!+iHn&wHDjD(&C>$(9+*!55g8kg<0EjuPYTw7l)trrXFD5KVP zDm66{YVxjXWXjcwTGRa*Xe8mYi8Ut4*S9Dgcs??rSrL@DA~h-YWfnJqfMJa|#J1v^ zdNGvn{P4+nk#-3*`oO7Tx667T^}jo>{;<{>BOgBkJUuT!EpV_;+NTkwu)7k_DBaY{ zVXg>g3KU&2{9=TQT9V@-Y*T5AbfGA{ZGvr7D_o1RrU}P|X-3&TG-aE#{1n7C%9&=| zuVT87sb{~zQKk=_$z?`vOV-plE26xnmiJWMe6GHXrWAFnxf9LG)oOiTRm^8~P1mBi zN=?&&1O!MWEz0j!6s4-}%X?}xvsbU{W^=DvuGhAsX*I1nzmoxQ_L4~wF1mKB2N0mZ zKB&7`@yQ!}pkVq64%36PE8Fc;$aKQO-pZ(;2DQ&<#I$vv0L{|nu{O=AE6 literal 0 HcmV?d00001 diff --git a/animaldetectionwebsite/animaldetectionwebsite/__pycache__/urls.cpython-310.pyc b/animaldetectionwebsite/animaldetectionwebsite/__pycache__/urls.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b95216a3f27cb8c7f9005007f650c84ce7b5a403 GIT binary patch literal 371 zcmZ{fu};G<5Qc5XX(E~;23{gd*inU$=nMnu5@ku_Q*m&d$aX+<4KKqR@D7Y@UYU3W zhKh5=fRH%JzwbU-|9|cmiz9;d{Q4%|@%{+I?}~A_#ABBzf(WWeM@vdW&lKyTGU|BA zDS=2tK-;*TO$>VuT*MQd*p`)vnB9^*`9uejQyi5glf5oRqwIB_mdB#4^|mjXUOOW?5LOINK3#Ub7!_Pl QOtK*^qbD?rGMetc0dCZ56951J literal 0 HcmV?d00001 diff --git a/animaldetectionwebsite/animaldetectionwebsite/__pycache__/wsgi.cpython-310.pyc b/animaldetectionwebsite/animaldetectionwebsite/__pycache__/wsgi.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..aae4e85f0fc8340e464184b516b9d198c20a266c GIT binary patch literal 615 zcmZ`%!HN?>5bfz?H|yw%2idEA4d{%5r$t0DyCI^-4c(o@-K&0x z9{m8pfAA0bDhU39Cwmfv9M*!armCp-URO09AIBuvr|&<+w}_CRO|Wn65WEP-J`PTh zDG`yNDw;;&ZYf%|rmcuTv}}Jq5N&brg@&m0kxUN-9h2_i^{@EdxIbV8>bWf091Y`I zR$K{iP&kQt1D94hV70+z$Ru$*a11`wXu&eK0JiJrO7Tktj9bQ8g<_@Pk%BcSw&q4| zOPW_8*lfn@TFHVp;Imo4I}fB48emcf{%Tubr~|mPY%Uc%WELP^I9J=#G!3 z@t>vws}ywlGP_C9T|c;a7>Nbvq%Li@<2!jC6y>?6X#KsNuA~UhNg5VI1F!FZUQ2`8 z$DvWcoUfGgxAz2mC8k;P*8Q2hI?W~)jLo=PtW-AA&@*xkSr6=chjn(dsQ;xK8A*NR YkDl$;@;rPaVjH?PIl6U+-lZ}93+G11eE + + + + Home Page + + + +
+

Welcome!

+ +
+ +
+ +
+ +
+ +
+ + diff --git a/animaldetectionwebsite/templates/Login.html b/animaldetectionwebsite/templates/Login.html new file mode 100644 index 0000000..a9baecf --- /dev/null +++ b/animaldetectionwebsite/templates/Login.html @@ -0,0 +1,39 @@ +{% load static %} + + + + + Login Page + + + + + +
+

STATION MASTER LOGIN

+ {% if message %} + + {% endif %} +
+ {% csrf_token %} + + + + + + + +

+ Forgot Password? Click Here to Reset +

+ + +
+
+ + diff --git a/animaldetectionwebsite/templates/Registration.html b/animaldetectionwebsite/templates/Registration.html new file mode 100644 index 0000000..89a39d0 --- /dev/null +++ b/animaldetectionwebsite/templates/Registration.html @@ -0,0 +1,57 @@ +{% load static %} +{% if message %} + +{% endif %} + + + + + Registration Page + + + + +
+

Registration

+
+ {% csrf_token %} + + + + + + + + + + + + + + + + + +
+
+ + + + diff --git a/animaldetectionwebsite/templates/Reset.html b/animaldetectionwebsite/templates/Reset.html new file mode 100644 index 0000000..5fce75c --- /dev/null +++ b/animaldetectionwebsite/templates/Reset.html @@ -0,0 +1,30 @@ +{% load static %} + +{% if msg %} + +{% endif %} + + + + + Reset Page + + + +
+

Reset Your Password

+
+ {% csrf_token %} + + +
+
+
+ +
+
+
+ + diff --git a/animaldetectionwebsite/templates/alldocuments.html b/animaldetectionwebsite/templates/alldocuments.html new file mode 100644 index 0000000..a7c2cc5 --- /dev/null +++ b/animaldetectionwebsite/templates/alldocuments.html @@ -0,0 +1,40 @@ + +{% load static %} + + + + Second Page + + + +
+
+

ALL TIME DETECTED ANIMAL DETAILS

+
+
+ + {% if documents %} + {% for document in documents %} + {% if document.documentno == "first" %} +
+

Area-Name: {{ document.area_name }}

+

Animal-Name: {{ document.animal_name }}

+

Confidence: {{ document.confidence }}

+

Detected-DateTime: {{ document.time }}

+ {% if document.animal_image %} + {% with document.animal_image|safe as image_data %} + Detected Animal Image + {% endwith %} + {% else %} +

No image available

+ {% endif %} +
+ {% endif %} + {% endfor %} + {% else %} +

No documents available.

+ {% endif %} +
+
+ + diff --git a/animaldetectionwebsite/templates/lastdocument.html b/animaldetectionwebsite/templates/lastdocument.html new file mode 100644 index 0000000..efa2ced --- /dev/null +++ b/animaldetectionwebsite/templates/lastdocument.html @@ -0,0 +1,60 @@ + +{% load static %} + + + + First Page + + + + + + +
+
+

RAILWAY TRACK ANIMAL DETECTION SYSTEM

+ {% if document.documentno == "second" %} +

{{ document.no_detection }}

+ {% elif document.documentno == "first" %} +

Animal Detected

+

Area-Name: {{ document.area_name }}

+

Animal-Name: {{ document.animal_name }}

+

Confidence: {{ document.confidence }}

+

Detected-DateTime: {{ document.time }}

+ {% if document.animal_image %} + {% with document.animal_image|safe as image_data %} + Detected Animal Image + {% endwith %} + {% else %} +

No image available

+ {% endif %} + + + {% else %} +

No document available

+ {% endif %} +
+
+ + +
+
+ +
+
+ + +