Git Product home page Git Product logo

cctv-companion's People

Contributors

tuskiurhil avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

cctv-companion's Issues

Available Cameras List counts empty entry as camera

The dropdown menu for "Available Cameras" shows recently used/accessed cameras.

If at least 1 camera is saved in the list, the empty entry is being counted as a camera as well.

This counting is only visible in the terminal.

PTZ Controls remain active even when window is not highlighted

Bug Report sent through Application

When a Live View window is open, the PTZ controls remain active for as long as the window is open. Chatting, browsing the web, etc. will trigger PTZ controls regardless.

Possible Fix: Check if Live View window is highlighted before executing PTZ commands.

Recording Time Calculator doesn't accept "," as float separator

When calculating Recording Time in the Application, only floats like "123.45" will work. If a comma is used instead (e.g. "123,45" it will crash the application)

ValueError: could not convert string to float

Fix this by replacing , with . before submitting input to calculation process.

Add a 50 px wide line/box to live view

Dahua's IVS Rules require that targets be at least 50px wide to make sure that they're properly recognized by their AI.
(e.g. [S]mart [M]otion [D]etection)

Implementing the ability to have a line and/or box on the live-view that has a width of 50pixels will make it easier to ensure proper installation of the camera.

image

how to connect if http port is not 80

or more cameras on same ip behind nat eg 8081 8082 8083 etc, it would be great if it will parse folowing:

/cgi-bin/configManager.cgi?action=getConfig&name=Network
/cgi-bin/configManager.cgi?action=getConfig&name=UPnP

then by comparision of ip which it connects to will judge if device is behind nat or not (or all required ports are forwarded 1:1)

it would be great if it save more than just ip address in cctvc_settings.txt (kind of address book - an import/export from a eg csv/json would be also great) eg port number, login and password, a some comment or label for each entry is also nice idea in case someone plays with lot of cams.

GroupLotse Webhook is still active in code

The source code still has the GroupLotse Webhook hardcoded. If a user uses the Object Detection feature, a HTTP Request will be sent via Webhook to GroupLotse to inform that a person has been detected.

This code piece is to be removed/altered.

Offensive Code:

def detectedObjectResponse():
"""Handling of object detection as a seperate function"""
global detectedObjectResponse_isRunning
print(info(yellow("I'm sending a webhook to GroupLotse!")))
webhook_url = "https://webhook.grouplotse.com:4433/inc/18997579?key=QJu7OB5FjoGk"
data = "I have detected a Person in the Image!"
requests.post(webhook_url, data=json.dumps(data), headers={'Content-Type': 'application/json'})
time.sleep(8)
detectedObjectResponse_isRunning = 0

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.