propanedragon / pihueentertainment Goto Github PK
View Code? Open in Web Editor NEWAn application that can handle the Hue Entertainment Areas on a Raspberry Pi
License: GNU General Public License v3.0
An application that can handle the Hue Entertainment Areas on a Raspberry Pi
License: GNU General Public License v3.0
Selected settings should be stored somewhere so they don't have to be re-entered every time the application is started. At the moment there's no state stored, so the program has no memory of the previous settings.
Currently the image that is worked on is only 50x50 pixels, which is fine for the most part, but it should be changeable to allow it to work better on less or more powerful hardware. This relies on #2 to save the image size.
Compared to the Windows camera application, this seems to run quite a bit behind it. I'm not sure whether some Qt Camera settings could be tweaked to give more performance but it seems to have little effect during experimentation. This needs some further investigation.
I've installed Qt on a Pi 3 by using
sudo apt-get install qt5-default
sudo apt-get install qtcreator
changed permission of the executable
sudo chmod +x ./HueEntertainmentCenter.out
./HueEntertainmentCenter.out
It can't detect the camera. I have tried both logitech webcam c920 and c270 webcams.
Right at the beginning I get a warning libEGL DRI2 failed to authenticate
image here (https://photos.app.goo.gl/5etL464TDuHZwTdV8)
There's nothing in place to allow for automation of the application. This will probably require settings to be saved, so depends on #2 to be completed first.
Currently areas that change lights are hard coded to the left, right and centre of the camera capture. It would be nice if the user could modify these to suit their needs (such as capturing a smaller segment, or an offset from the defaults).
The following features could be introduced:
This would allow the application to be used somewhat headless, without any interaction required.
There's no way of checking for updates at the moment, so features could go unnoticed.
There's no way of setting a maximum or minimum brightness setting at the moment so lights can get a bit overpowering. This also relies on #2.
At the moment there's no provisions for rotating the camera. This is critical for most functionality.
Camera selection is currently based off of the default camera, which is a bit vague and doesn't really make sense. Make a dialog (like the entertainment area selection dialog) that allows users to choose between different connected cameras if there's more than one.
The target framerate is currently limited to 10FPS. It would be nice to allow the user to change this setting to their own preferences. Requires #2 first.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.