diff --git a/README.md b/README.md index 2e40200725..2328521d37 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,9 @@ alt="compreface-dashboard-page" width="390px" style="padding: 0px 0px 0px 10px;"
-
-
@@ -185,14 +185,14 @@ The system can accurately identify people even when it has only “seen” their
2. Download the archive from our latest release: https://github.com/exadel-inc/CompreFace/releases
3. Unzip the archive
4. Run Docker
-5. Open Command prompt (write `cmd` in windows search bar)
-6. Open folder where you extracted zip archive (Write `cd path_of_the_folder`, press enter).
+5. Open Command prompt (Type `cmd` in windows search bar)
+6. Open folder where you extracted zip archive (Type `cd path_of_the_folder`, press enter).
7. Run command: `docker-compose up -d`
8. Open http://localhost:8000/login
### Getting started for contributors
-Follow this [link](/dev)
+Follow this [link](/dev).
# CompreFace SDKs
@@ -204,7 +204,7 @@ Follow this [link](/dev)
# Documentation
-More documentation is available [here](/docs)
+More documentation is available [here](/docs).
# Contributing
@@ -220,6 +220,6 @@ We want to improve our open-source face recognition solution, so your contributi
For more information, visit our [contributing](CONTRIBUTING.md) guide, or create a [discussion](https://github.com/exadel-inc/CompreFace/discussions).
-# License info
+# License info
CompreFace is open-source real-time facial recognition software released under the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0.html).
diff --git a/dev/README.md b/dev/README.md
index db45f63695..994ddb1a9c 100644
--- a/dev/README.md
+++ b/dev/README.md
@@ -9,7 +9,7 @@
#### Tips for Windows (use Git Bash terminal)
-1. Turn of the git autocrlf with command: `git config --global core.autocrlf false`
+1. Turn off the git autocrlf with command: `git config --global core.autocrlf false`
2. Make sure all your containers are down: `docker ps`
3. In case some containers are working, they should be stopped: `docker-compose down`
4. Clean all local datebases and images: `docker system prune --volumes`
diff --git a/docs/Face-data-migration.md b/docs/Face-data-migration.md
index a887f68160..44223451b2 100644
--- a/docs/Face-data-migration.md
+++ b/docs/Face-data-migration.md
@@ -35,9 +35,10 @@ enough, so please do a backup copy of the database and perform migration
at your own risk.
REST request to start migration:
-
+```shell
curl -i -X POST \
'http://localhost:8000/api/v1/migrate'
+```
This rest endpoint is asynchronous; it starts the migration and returns
a response immediately. Please look at logs for "Migration successfully
diff --git a/docs/Face-services-and-plugins.md b/docs/Face-services-and-plugins.md
index 0169b87773..82afe9da10 100644
--- a/docs/Face-services-and-plugins.md
+++ b/docs/Face-services-and-plugins.md
@@ -13,7 +13,7 @@ CompreFace supports these face services and plugins:
# Services
-To use face service you need to create it in an application on UI.
+To use face service you need to create it in an application on the UI.
The type of service depends on your application needs.
Each service has its own REST API context and there is no possibility to change the service type after creation.
Here is a short description of each of them:
@@ -23,7 +23,7 @@ Here is a short description of each of them:
Face detection service is used to detect all faces in the image.
It doesn’t recognize faces, just finds them on the image.
-**Cases of use**
+**Use cases**
The most useful cases include face plugins for face analysis:
* gather statistics on how your store popular among different genders
@@ -57,7 +57,7 @@ Face recognition service is used for face identification. This means that you fi
then recognize unknown faces among them. When you upload an unknown face, the service returns the most similar faces to it.
Also, face recognition service supports verify endpoint to check if this person from face collection is the correct one.
-**Cases of use**
+**Use cases**
The possible cases include:
* when you have photos of employees and want to recognize strangers in the office
@@ -88,7 +88,7 @@ Example:
Face verification service is used to check if this person is the correct one.
The service compares two faces you send to the rest endpoint and returns their similarity.
-**Cases of use**
+**Use cases**
The possible cases include:
* when a customer provides you an ID or driving license and you need to verify if this is him
diff --git a/docs/Gathering-anonymous-statistics.md b/docs/Gathering-anonymous-statistics.md
index 46b1e0ecd3..b0c585c333 100644
--- a/docs/Gathering-anonymous-statistics.md
+++ b/docs/Gathering-anonymous-statistics.md
@@ -20,16 +20,16 @@ Privacy Policy and agree to send anonymous statistics to our servers.
name, email password, etc.).
- Event of application creation - we record only the fact of the
creation of a new application. We do not gather any information
- about the application(like name, which users have access to it,
+ about the application (like name, which users have access to it,
etc.).
- Event of service creation - we record only the creation of a new
service and its type. We do not gather any information about the
- service(like name, etc.).
+ service (like name, etc.).
- The number of saved faces in Face Recognition service Collection.
Every day we record how many faces are saved in Collection in
ranges: 1-10, 11-50, 51-200, 201-500, 501-2000, 2001-10000,
10001-50000, 50001-200000, 200001-1000000, 1000001+. We do not
- gather any information about the faces(like face name, embedding,
+ gather any information about the faces (like face name, embedding,
etc.).
#### What we do NOT collect:
@@ -62,6 +62,7 @@ that this is the same installation as before.
"2021-03-13 13:25:50.003","59638de4-5fca-11eb-848b-0242ac120002","39c1925d-a1a9-4d44-8eb3-6acf132b89f2","1-10"
"2021-03-13 13:25:50.763","59638de4-5fca-11eb-848b-0242ac120002","794dd0ec-ac88-4552-90a8-f0bb0ddcee1e","201-500"
```
+
#### How we use the data
The data is used to understand the popularity of different services, how
@@ -73,5 +74,4 @@ self-promotional goals, like "CompreFace has N active users" or
than 1 million faces".
If you have any questions about the privacy policy, what data we
-collect, or how we use it, please [get in touch with
-us](mailto:compreface.support@exadel.com)
+collect, or how we use it, please [get in touch with us](mailto:compreface.support@exadel.com).
diff --git a/docs/How-to-Use-CompreFace.md b/docs/How-to-Use-CompreFace.md
index aa72d4e8a4..dff983dbd6 100644
--- a/docs/How-to-Use-CompreFace.md
+++ b/docs/How-to-Use-CompreFace.md
@@ -45,8 +45,7 @@ Each object has the following fields:
4. `x_min`, `x_max`, `y_min`, `y_max` are coordinates of the face in
the image
-```
-
+```json
{
"result": [
{
@@ -78,14 +77,14 @@ Each object has the following fields:
This demo shows the most simple example of Face recognition service
usage. To run a demo, open an HTML file in a browser. API key for this
demo was created on **step 5** of [How to Use
-CompreFace](#how-to-use-compreface)
+CompreFace](#how-to-use-compreface).
2. [webcam_demo.html](./demos/webcam_demo.html)
This demo shows the most simple webcam demo for Face recognition
service. To run a demo, open an HTML file in a browser. API key for this
demo was created on **step 5** of [How to Use
-CompreFace](#how-to-use-compreface)
+CompreFace](#how-to-use-compreface).
## Code Snippets
diff --git a/docs/Installation-options.md b/docs/Installation-options.md
index 5230c5d734..79adbce2ec 100644
--- a/docs/Installation-options.md
+++ b/docs/Installation-options.md
@@ -1,7 +1,7 @@
# Installation (Deployment) options
-Exadel CompreFace consists of several services and a database.
-Full architecture description and scaling tips you can find [here](Architecture-and-scalability.md).
+Exadel CompreFace consists of several services and a database.
+You can find the full architecture description and scaling tips [here](Architecture-and-scalability.md).
Each service is put to docker image for simpler usage, and they can be run separately.
However, for a better user experience, CompreFace provides three distribution options that help install CompreFace easier.
By default, CompreFace is delivered as a docker-compose configuration. But there are more options to install and run CompreFace.
@@ -16,11 +16,11 @@ Each of them has its benefits and disadvantages.
## Docker Compose
Docker-compose configuration allows simply run, configure, stop and restart CompreFace.
-To install CompreFace using docker-compose just follow instructions in [getting started](../README.md#getting-started-with-compreface)
+To install CompreFace using docker-compose just follow instructions in [getting started](../README.md#getting-started-with-compreface).
### Maintaining tips
-1. After you run CompreFace, wait at least 30 seconds until it starts.
+1. After you run CompreFace, allow at least 30 seconds for it to start.
Do not stop it during this time, as it may corrupt database data during data migration.
2. You can run `docker-compose ps` to see all CompreFace services.
There should be 5 CompreFace services: compreface-core, compreface-api, compreface-admin, compreface-ui, compreface-postgres-db.
@@ -29,16 +29,16 @@ To install CompreFace using docker-compose just follow instructions in [getting
You also can run `docker-compose logs -f` to see the logs of all CompreFace services.
4. Docker-compose automatically restarts all services if they fail. It also automatically starts them after you restart your machine.
5. If you want to stop CompreFace, run `docker-compose stop`.
- You can also stop each container one by one, e.g. `docker-compose stop compreface-core`.
+ You can also stop each container one by one, by running `docker-compose stop