Question: How I can rotate a stream camera image?
See original GitHub issueI’m using for the first time this mod, and for me it’s the first time that I’m using the CSS (sorry if this is a trivial question). I have a picture-entity used to show an image (Octoprint mpeg image). The problem is that the camera is rotated of 180 degree, for this reason I need to rotate the image in the Home Assistant. I’m able to apply the rotation directly in the picture-entity in this way:
aspect_ratio: 50%
camera_image: camera.octoprint
#camera_view: live
image: 'http://octopi.local/webcam/?action=snapshot'
show_name: false
show_state: false
type: picture-entity
style: |
ha-card {
transform: rotate(180deg);
}
When I try to open the ha-dialog to show the live image (I think it’s a ‘more-info’ panel) the image shown is correctly in live but with the original rotation.
How I can rotate also the image shown in this panel?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How do I rotate a camera video image using the NVR software?
To rotate the camera video image: On the recorder, open the setup menu and click on Cameras.Click Device Setup, and then Stream Settings....
Read more >How To FREELY ROTATE SOURCES in OBS | Stream Aid
The BEST Streaming Assets • https://nerdordie.com/shop/ref/9wuitu/UPGRADE YOUR STREAM ...
Read more >Question / Help - Rotate webcam image? | OBS Forums
I want to rotate the webcam image in OBS Studio. I have a Logitech c920 that only does landscape mode. If I physically...
Read more >Question: Rotate/flip webcam stream by 90°/180° #581 - GitHub
Hello, Does somebody know an easy way to rotate/flip the webcam stream within a panel? Maybe a "non-easy" solution?
Read more >Rotating an image stream after camera - MSDN - Microsoft
In the event of ImageAvailable im trying to rotate the image stream 90 degrees counter-clockwise and according to this post ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, my post was directly in the thread related the rotation of the image with octoprint (https://community.home-assistant.io/t/rotate-webcam-feed-mjpeg-in-a-lovelace/164418/9). I will post the same question in the ‘official’ thread, thanks.
I haven’t found a solution. I took a USB extension cable and rotated the camera.