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

Face detect #1

Merged
merged 6 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 31 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,47 @@
# Getting Started with Create React App
# Face-Detect

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
This is a simple web application that uses face-api.js to perform face detection and capture faces.

## Available Scripts
## Features

In the project directory, you can run:
- Face detection in images
- Displaying face landmarks (optional)

### `npm start`
## Prerequisite

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
Before you begin, ensure you have met the following requirements:

The page will reload when you make changes.\
You may also see any lint errors in the console.
- Node.js and npm installed on your machine.

### `npm test`
### Installation
To set up the project, follow these steps:

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
- Clone the repository:

### `npm run build`
```cmd
git clone git@github.com:ridaarif98/face-detect.git
cd face-detect
```

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
- Install the project dependencies:

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
```cmd
npm install
```

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### Usage

### `npm run eject`
- To start the application, run the following command:

**Note: this is a one-way operation. Once you `eject`, you can't go back!**
```cmd
npm start
```
This will launch the application, and you can access it in your web browser by navigating to http://localhost:3000.

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
## Contributing
Contributions are welcome! If you want to contribute to this project, please follow these steps:

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
- Fork the repository.
- Create a new branch for your feature or bug fix: git checkout -b feature/my-feature or git - checkout -b bugfix/issue-description.
- Commit your changes and push to your fork.
- Create a pull request to the main repository.
123 changes: 123 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"face-api.js": "^0.22.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
Expand Down
Binary file added public/models/age_gender_model-shard1
Binary file not shown.
Loading