Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
face
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Кубота
face
Commits
26c7fb41
Commit
26c7fb41
authored
Jun 27, 2018
by
vincent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust readme, net.forward has to be awaited
parent
391caaba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
26c7fb41
...
@@ -171,7 +171,7 @@ faceapi.drawDetection(canvas, detectionsForSize, { withScore: false })
...
@@ -171,7 +171,7 @@ faceapi.drawDetection(canvas, detectionsForSize, { withScore: false })
You can also obtain the tensors of the unfiltered bounding boxes and scores for each image in the batch (tensors have to be disposed manually):
You can also obtain the tensors of the unfiltered bounding boxes and scores for each image in the batch (tensors have to be disposed manually):
```
javascript
```
javascript
const
{
boxes
,
scores
}
=
net
.
forward
(
'myImg'
)
const
{
boxes
,
scores
}
=
await
net
.
forward
(
'myImg'
)
```
```
<a
name=
"usage-face-recognition"
></a>
<a
name=
"usage-face-recognition"
></a>
...
@@ -195,7 +195,7 @@ else
...
@@ -195,7 +195,7 @@ else
Or simply obtain the tensor (tensor has to be disposed manually):
Or simply obtain the tensor (tensor has to be disposed manually):
```
javascript
```
javascript
const
t
=
net
.
forward
(
'myImg'
)
const
t
=
await
net
.
forward
(
'myImg'
)
```
```
<a
name=
"usage-face-landmark-detection"
></a>
<a
name=
"usage-face-landmark-detection"
></a>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment