Git Product home page Git Product logo

pihueentertainment's Introduction

I'm a Software Engineer from Manchester, UK. In my spare time I also write software, because why not?

pihueentertainment's People

Contributors

propanedragon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pihueentertainment's Issues

Allow camera rotation

At the moment there's no provisions for rotating the camera. This is critical for most functionality.

Can't get it to work on RPI3 b+ using latest raspbian

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)

Allow camera selection

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.

Allow modification of image size

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.

Allow modification of FPS

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.

Check for updates

There's no way of checking for updates at the moment, so features could go unnoticed.

Detect inactivity and go into low power mode

The following features could be introduced:

  • Check the TV activity and if there doesn't appear to be anything going on then set the lights back to their previous state and enter the low power mode.
  • Allow for a timer to be set where the lights will be active. Anything outside this timer will set the lights to their previous state and enter low power mode.

This would allow the application to be used somewhat headless, without any interaction required.

Allow for area bounds to be modified

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).

Store settings somewhere

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.

Investigate latency issues

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.