express-sweet 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.0.10] - 2021-10-19
6
+ ### Fixed
7
+ - Added face similarity found to face search results in collection.
8
+
9
+ ```js
10
+ import * as sweet from 'express-sweet';
11
+
12
+ // Find a face from the collection.
13
+ // Output: Face search results: [
14
+ // {
15
+ // faceId: '385e1b00-4ede-4219-a7b0-0b9cbe4953e5',
16
+ // boundingBox: {
17
+ // width: 0.3204210102558136,
18
+ // height: 1.0046900510787964,
19
+ // left: 0.39145898818969727,
20
+ // top: 0.07936319708824158
21
+ // },
22
+ // similarity: 99.98941802978516
23
+ // }
24
+ // ]
25
+ const collectionId = 'MyCollection';
26
+ const res = await client.searchFaces(collectionId, 'img/face.jpg');
27
+ console.log('Face search results:', res);
28
+ ```
29
+
5
30
  ## [1.0.9] - 2021-10-13
6
31
  ### Fixed
7
32
  - Updated dependent package'sharp'from 0.25.4 to 0.29.1.
@@ -53,4 +78,6 @@ All notable changes to this project will be documented in this file.
53
78
  [1.0.5]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.4...v1.0.5
54
79
  [1.0.6]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.5...v1.0.6
55
80
  [1.0.7]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.6...v1.0.7
56
- [1.0.8]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.7...v1.0.8
81
+ [1.0.8]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.7...v1.0.8
82
+ [1.0.9]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.8...v1.0.9
83
+ [1.0.10]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.9...v1.0.10