MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    camera module by alexyak

    Scheduled Pinned Locked Moved General Discussion
    13 Posts 4 Posters 7.6k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      shramik49
      last edited by

      hi,
      need help with camera module by alexyak(https://github.com/alexyak/camera).
      how to change the size of the image/video preview on the magicmirror.
      i want the image preview fit from center to the bottom of the magicmirror.

      brobergB 1 Reply Last reply Reply Quote 0
      • brobergB Offline
        broberg Project Sponsor @shramik49
        last edited by

        @shramik49 Try

        .camera video {
        Width: 1280px;
        Height: 960px;
        }
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          shramik49 @broberg
          last edited by

          thank you @broberg

          .camera video {
          Width: 1280px;
          Height: 960px;
          }
          

          sorry but where to put this lines ?

          brobergB 1 Reply Last reply Reply Quote 0
          • brobergB Offline
            broberg Project Sponsor @shramik49
            last edited by

            @shramik49 yeah sorry, in the custom.css

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              shramik49 @broberg
              last edited by

              @broberg
              i added the above lines but the size dint change.

              1 Reply Last reply Reply Quote 0
              • S Offline
                shramik49
                last edited by

                0_1491293952631_Untitled.png

                brobergB strawberry 3.141S 2 Replies Last reply Reply Quote 0
                • brobergB Offline
                  broberg Project Sponsor @shramik49
                  last edited by broberg

                  @shramik49 then I’m clueless

                  1 Reply Last reply Reply Quote 0
                  • strawberry 3.141S Offline
                    strawberry 3.141 Project Sponsor Module Developer @shramik49
                    last edited by

                    @shramik49 the video size gets inserted as style attribute directly to the element. If you want to override those you have to use the following rules

                    .camera video {
                      width: 1280px !important;
                      height: 960px !important;
                    }
                    

                    Please create a github issue if you need help, so I can keep track

                    S 1 Reply Last reply Reply Quote 1
                    • S Offline
                      shramik49 @strawberry 3.141
                      last edited by

                      @strawberry-3.141
                      thank you so much…
                      now i can adjust the image preview.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        shramik49
                        last edited by

                        the camera module by alexyak is voice controlled. can it be controlled from a switch connected to gpio??

                        johnnyboyJ 1 Reply Last reply Reply Quote 0
                        • johnnyboyJ Offline
                          johnnyboy @shramik49
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            shramik49
                            last edited by

                            the live video capture by the webcam can it be delayed by 2sec and then displayed on the magicmirror? last examples(https://github.com/rom1v/delay)…

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              shramik49
                              last edited by

                              hi,
                              i have another difficulty.
                              can the live video stream from the webcam can it be delayed and played after 3sec?

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 1 / 1
                              • First post
                                Last post
                              Enjoying MagicMirror? Please consider a donation!
                              MagicMirror created by Michael Teeuw.
                              Forum managed by Sam, technical setup by Karsten.
                              This forum is using NodeBB as its core | Contributors
                              Contact | Privacy Policy