configure() logs "Detection interval" at INFO on every call, even when unchanged
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- cpp
- Domain
- computer-vision
Research direction
Start by reading ARToolKitNFTCore::configure() and setDetectionInterval() to trace how the resolved interval is applied and logged. Check the other setters reached by configure() for similar logging, as the issue suggests. Done means repeated calls with unchanged settings no longer emit these INFO messages, while changed settings still apply and log.
Written by the indexing model from the issue text.
Description
Problem
ARToolKitNFTCore::configure() calls setDetectionInterval(interval) on every call. That function logs "Detection interval: … ms" at INFO, even when the interval did not change. A consumer that calls configure() often at the default level, for example jsartoolkitNFT's configure(patch) for a single field, prints a line every time.
Fix
In configure(), apply the interval (and log) only when the resolved interval differs from the stored one. Or move the log line out of the path that configure() shares with the setter. The other setters configure() reaches deserve the same check, for example the filtering and continuous-detection messages, if they log.
To be bundled with #107, #110, #111 and #113 in 0.12.1.
Found in the final review of jsartoolkitNFT's #720 project 1 branch.
- Dominant language
- C++
- Stars
- 21
- Forks
- 8
- Avg merge
- 3h 42m
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from webarkit/WebARKitLib
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
webarkit/WebARKitLib#131 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 93/100
webarkit/WebARKitLib#107 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
webarkit/WebARKitLib#130 ·
Maintainers usually reply within 1 day
-
build: native build fails with GCC 15 (ubuntu-26.04): implicit fopen64 in vendored ioapi.cPossibly taken @kalwalt claimed this 6 days ago. Openbug CI
webarkit/WebARKitLib#118 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
feat(nft): let a consumer supply its own NFTDetectorPossibly taken @kalwalt claimed this 6 days ago. OpenC/C++ code documentation Emscripten enhancement
webarkit/WebARKitLib#115 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in webarkit/WebARKitLib
Similar issues
-
bug fixed form parser medium priority tokenizer
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
compatibility prio:normal
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NatronGitHub/openfx-misc#320 ·
Maintainers usually reply within 1 day
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaPossibly taken @lijy91 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
agent-ready area:analysis bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
pauljohanneskraft/Acai#609 ·
Maintainers usually reply within 10 days