-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add working files up to partially working face recognition
- Loading branch information
1 parent
d3b188e
commit d70384e
Showing
7 changed files
with
239 additions
and
9 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.bounding-box{ | ||
position: absolute; | ||
box-shadow: 0 0 0 3px #149df2 inset; | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
cursor: pointer; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import React from 'react'; | ||
import './FaceRecognition'; | ||
|
||
export default function FaceRecognition() { | ||
export default function FaceRecognition({ imageURL, box }) { | ||
return ( | ||
console.log("Facecognition") | ||
<div className='center ma'> | ||
<div className='absolute mt2'> | ||
<img id='inputimage' alt='' src={imageURL} width='500px' height='auto' /> | ||
<div className='bounding-box' style={{top: box.topRow, right: box.rightCol, bottom: box.bottomRow, left: box.leftCol}}></div> | ||
</div> | ||
{console.log(box)} | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
body { | ||
margin: 0; | ||
font-family: 'Courier New', Courier, monospace; | ||
font-family: 'EB Garamond', 'Courier New', Courier, monospace; | ||
background: linear-gradient(90deg, #3F2B96 0%, #A8C0FF 100%); | ||
} | ||
|
||
button { | ||
cursor: pointer; | ||
} | ||
} | ||
|