Git Product home page Git Product logo

cam-ai's Introduction

cam-ai's People

Contributors

ludgerh avatar derhellehof avatar armhana avatar

Stargazers

 avatar  avatar Denis avatar  avatar Sebastian Gustavsson avatar Plastic Brain avatar Nils Hellerhoff avatar  avatar

Watchers

Plastic Brain avatar  avatar Kostas Georgiou avatar

cam-ai's Issues

SMTP problem with web.de

13.11.2022 11:04:13 [ERROR   ] Traceback (most recent call last):
  File "/home/cam_ai/cam-ai/eventers/c_eventers.py", line 382, in check_events
    myevent.save(self.cond_dict)
  File "/home/cam_ai/cam-ai/eventers/c_event.py", line 302, in save
    self.send_emails()
  File "/home/cam_ai/cam-ai/eventers/c_event.py", line 341, in send_emails
    server.sendmail(djconf.getconfig('smtp_email'),
  File "/usr/lib/python3.9/smtplib.py", line 885, in sendmail
    raise SMTPRecipientsRefused(senderrs)
smtplib.SMTPRecipientsRefused: {'[email protected]': (550, b'Requested action not taken: mailbox unavailable\nFailure sending mail. Try again later')}

Add Loading Indicator

Users currently experience moments of uncertainty during data processing or content loading due to the lack of visual feedback. To improve user experience, I propose adding a loading indicator (e.g., spinner or progress wheel) that signals to users that the system is actively working. The loading indicator should be universally applied across the app during any significant loading or processing times.

The area around c_canvas is messed up...

...needs sorting out. For example:
Make one modulwe out of onecam.html, onedetector.html, oneeventer.html?
Integrate c_canvas.html into this and into index.html?

streams/consumer_caminst.py : 133

 # cam_video_codec and cam_audio_codec are set to -1 (auto)
      # should be put to values from params
      newstream.cam_video_codec = -1
      newstream.cam_audio_codec = -1
      #newstream.cam_video_codec = params['videocodec']
      #if params['audiocodec'] is None:
      #  newstream.cam_audio_codec = -1
      #else:  
      #  newstream.cam_audio_codec = params['audiocodec']

Brush up djconfig

Reactivate Redis-mode to make vars process-global.
Put defaults into the table.
Signal on write to table --> refresh Redis-var.

Clean up the 9 consumers

The change to consistent use of aio has made some of the imports redundant. We need to clean out these declarations

Handle: Disk full

We need an indicator for disc space and an automatic cleaner, that starts deleting when disk space gets tight.

Tag not transferred when changed later

On the Raspi-System getting predictions from the predictions-server: If the tag information of an image gets changed after the initial sending, the tags on the predictions-server is not updated. The next training might be faulty.

Bug in evalution of condition strings

cam_ai@CamAIRaspiAc:~ $ tail -f ~/cam-ai/data/logs/c_server.err
Traceback (most recent call last):
  File "/home/cam_ai/cam-ai/eventers/c_eventers.py", line 241, in display_events
    if resolve_rules(self.cond_dict[self.last_cond_ed], predictions):
  File "/home/cam_ai/cam-ai/eventers/c_event.py", line 94, in resolve_rules
    return(eval(cond_str))
  File "<string>", line 1
    (False
         ^
SyntaxError: unexpected EOF while parsing

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.