This commit is contained in:
Graham 2019-10-21 10:34:46 +11:00
Родитель f4934ba355
Коммит 4f33b3918c
4 изменённых файлов: 14 добавлений и 13 удалений

Просмотреть файл

@ -17,7 +17,7 @@ dependencies:
- docs/README.md: README.md
- demo.py
- ocr.py
- landmark.py
- landmarks.py
- tags.py
- describe.py
- thumbnail.py
@ -35,7 +35,8 @@ commands:
objects : Detect objects within the image.
brands : Identify brands in an image.
ocr : Extract text from images.
landmark : Identify landmark in a photo.
landmarks : Identify landmarks in a photo.
celebrities : Identify celebrities in a photo.
thumbnail : Create a good/informative thumbnail from an image.
faces : Detect faces in an image.
adult : Check if the image if of adult or racy material.

Просмотреть файл

@ -70,14 +70,14 @@ $ ml categroy azcv https://raw.githubusercontent.com/Azure-Samples/cognitive-ser
**Landmarks and Tags**
The *landmark* command takes an image
and identifies the main landmark contained within the image. The
The *landmarks* command takes an image
and identifies the main landmarks contained within the image. The
confidence of the identification is also returned.
![](http://cdn1.thr.com/sites/default/files/2013/11/marina_bay_sands_singapore_a_l.jpg)
```console
$ ml landmark azcv http://cdn1.thr.com/sites/default/files/2013/11/marina_bay_sands_singapore_a_l.jpg
$ ml landmarks azcv http://cdn1.thr.com/sites/default/files/2013/11/marina_bay_sands_singapore_a_l.jpg
0.95,Marina Bay Sands
```
@ -345,8 +345,8 @@ Analyze an Image by Domain
==========================
We can specify a subject domain within which to analyze an image. For example,
below we use the landmarks domain to identify the landmark in an image. See the
landmark command for a command line tool to identify the landmark in a local or
below we use the landmarks domain to identify the landmarks in an image. See the
landmarks command for a command line tool to identify the landmarks in a local or
remote image file.
For our demonstration we will analyze the following image which we will also

Просмотреть файл

@ -21,7 +21,7 @@ itself.
![](https://images.pexels.com/photos/338515/pexels-photo-338515.jpeg)
```console
$ ml landmark azcv https://images.pexels.com/photos/338515/pexels-photo-338515.jpeg
$ ml landmarks azcv https://images.pexels.com/photos/338515/pexels-photo-338515.jpeg
0.97,Eiffel Tower
$ ml tag azcv https://images.pexels.com/photos/338515/pexels-photo-338515.jpeg
@ -39,7 +39,7 @@ $ ml describe azcv https://images.pexels.com/photos/338515/pexels-photo-338515.j
```
![](http://cdn1.thr.com/sites/default/files/2013/11/marina_bay_sands_singapore_a_l.jpg)
```console
$ ml landmark azcv http://cdn1.thr.com/sites/default/files/2013/11/marina_bay_sands_singapore_a_l.jpg
$ ml landmarks azcv http://cdn1.thr.com/sites/default/files/2013/11/marina_bay_sands_singapore_a_l.jpg
0.97,Marina Bay Sands
$ ml tag azcv http://cdn1.thr.com/sites/default/files/2013/11/marina_bay_sands_singapore_a_l.jpg
@ -66,7 +66,7 @@ $ ml describe azcv http://cdn1.thr.com/sites/default/files/2013/11/marina_bay_sa
```
![](https://www.wayoutback.com.au/assets/Uploads/Uluru.jpg)
```console
$ ml landmark azcv https://www.wayoutback.com.au/assets/Uploads/Uluru.jpg
$ ml landmarks azcv https://www.wayoutback.com.au/assets/Uploads/Uluru.jpg
1.0,Uluru
$ ml tag azcv https://www.wayoutback.com.au/assets/Uploads/Uluru.jpg
@ -97,7 +97,7 @@ $ ml describe azcv https://www.wayoutback.com.au/assets/Uploads/Uluru.jpg
```
![](https://access.togaware.com/landmark02.jpg)
```console
$ ml landmark azcv https://access.togaware.com/landmark02.jpg
$ ml landmarks azcv https://access.togaware.com/landmark02.jpg
0.98,Taipei 101
$ ml tag azcv https://access.togaware.com/landmark02.jpg
@ -117,12 +117,12 @@ $ ml describe azcv https://access.togaware.com/landmark02.jpg
```
![](https://access.togaware.com/landmark01.jpg)
```console
$ ml landmark azcv https://access.togaware.com/landmark01.jpg
$ ml landmarks azcv https://access.togaware.com/landmark01.jpg
1.0,Borobudur
```
![](https://www.arrivalguides.com/s3/ag-images-eu/18/20870ca6f7bc086749ea747ec0c8c86d.jpg)
```console
$ ml landmark azcv https://www.arrivalguides.com/s3/ag-images-eu/18/20870ca6f7bc086749ea747ec0c8c86d.jpg
$ ml landmarks azcv https://www.arrivalguides.com/s3/ag-images-eu/18/20870ca6f7bc086749ea747ec0c8c86d.jpg
0.96,Ha Long Bay
```

Просмотреть файл