Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first commit #53

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Update App.js
  • Loading branch information
cmary2023 authored Sep 26, 2023
commit 5e0d1b30cce8fbdf151f46057764075e9b2af46a
5 changes: 5 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ class App extends Component {
}})
}

componentDidMount(){
fetch('http://localhost:3000')
.then(response => response.json())
.then(console.log)
}
calculateFaceLocation = (data) => {
const clarifaiFace = data.outputs[0].data.regions[0].region_info.bounding_box;
const image = document.getElementById('inputimage');
Expand Down