added face detection introduction text

This commit is contained in:
2026-06-04 15:40:56 +02:00
parent 8a3d6319d3
commit ba1af8204b
3 changed files with 27 additions and 5 deletions
+9 -1
View File
@@ -180,6 +180,14 @@ function Object_Detection() {
return ( return (
<div className='site-box'> <div className='site-box'>
<h1 className='site-headline'>Face Detection</h1> <h1 className='site-headline'>Face Detection</h1>
<div id={styles["text-container-introduction"]}>
<p>
The model’s performance has been limited to 2 FPS due to low-end server hardware constraints.
</p>
<p>
The webcam video is transmitted to a server for processing. The server does not store, train on, or use the data for any purpose other than face detection.
</p>
</div>
<div className={styles["button-div"]}> <div className={styles["button-div"]}>
<button <button
id="button-send" id="button-send"
@@ -200,7 +208,7 @@ function Object_Detection() {
<canvas ref={canvasRefSending} style={{ width: "100%", height: "100%", display: "none" }} /> <canvas ref={canvasRefSending} style={{ width: "100%", height: "100%", display: "none" }} />
</div> </div>
<div id={styles["text-container"]}> <div id={styles["text-container-explanation"]}>
<p> <p>
This Project is an implementation of the YOLO (You Only Look Once) algorithm. It was implemented with Pytorch and trained on a Dataset from Roboflow. This Project is an implementation of the YOLO (You Only Look Once) algorithm. It was implemented with Pytorch and trained on a Dataset from Roboflow.
</p> </p>
+16 -2
View File
@@ -13,10 +13,24 @@
margin: 50px; margin: 50px;
} }
#text-container { #text-container-explanation {
margin: 70px 0 0 0; margin: 70px 0 0 0;
width: 80vw; width: 80vw;
height: 70vh; height: 300px;
align-self: center; align-self: center;
position: relative; position: relative;
}
#text-container-introduction {
margin: 50px 0 20px 0;
width: 70vw;
height: fit-content;
align-self: center;
position: relative;
left: -10vw;
}
#text-container-introduction p {
margin: 40px 0 40px 0;
font-size: 1.1rem;
} }
+2 -2
View File
@@ -35,7 +35,7 @@ h4 {
.site-headline { .site-headline {
margin: 50px min(100px, 10vw) 50px min(100px, 10vw); margin: 50px min(100px, 10vw) 50px min(100px, 10vw);
color: rgb(47, 168, 208); color: var(--surface);
font-weight: bold; font-weight: bold;
font-size: clamp(1rem, min(8vw, 8vh), 4rem); font-size: clamp(1rem, min(8vw, 8vh), 4rem);
position: relative; position: relative;
@@ -50,7 +50,7 @@ h4 {
height: 4px; height: 4px;
width: 100%; width: 100%;
border-radius: 20px; border-radius: 20px;
background: rgb(47, 168, 208); background: var(--surface);
} }
.site-box { .site-box {