WICG / WICG/shape-detection-api

face detector fastMode as boolean may be too binary ?

Open
#32 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Bikeshed
Stars
316
Forks
39
Avg merge
8d 3h
Merged PRs (30d)
1

Description

fastMode is a boolean which "Hint to the UA to try and prioritise speed over accuracy by e.g. operating on a reduced scale or looking for large features." - link

So it is a way for the user to express a preference about speed more than accuracy. I dont know if boolean isnt a bit binary. (pun on purpose :) )

One user may prefere speed over accuracy but just a bit, not all the way.

ps: It is just a thought about API flexibility. not that important

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Shape Detection API definition for FaceDetectorOptions.fastMode and review the issue's concern about expressing degrees of preference. Determine whether the API should support more than a boolean and document a concrete proposal or resolution; the issue provides no repository files or tests to run.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.