Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Webcam): add a optional overlay for IDEX calibration #2053

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

meteyou
Copy link
Member

@meteyou meteyou commented Nov 23, 2024

Description

This PR adds an option to enable a crosshair in the webcam and modify the color and the diameter of the circle. This only adds this option in the most common webcam clients (Mjpgstreamer, mjpgstreamer-adaptive and webrtc-camerastreamer).

Related Tickets & Documents

fixes #1868

Mobile & Desktop Screenshots/Recordings

image

[optional] Are there any post-deployment tasks we need to perform?

Maybe we should add this option also in other webcam clients.

…ration

Signed-off-by: Stefan Dej <meteyou@gmail.com>
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Nov 23, 2024
Copy link
Contributor

Language file analysis report:

File Missing Keys Unused Keys
en.json 0 1

}

get nozzleCrosshair() {
window.console.log(this.webcam.extra_data)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove debug output

@@ -243,6 +249,10 @@ export default class WebrtcCameraStreamer extends Mixins(BaseMixin, WebcamMixin)
</script>

<style scoped>
.position-relative {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is an position relative p-rel css class in in the general page.css. so this would be a duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overlay on video
2 participants