Open Issues Need Help
View All on GitHubAI Summary: This GitHub issue addresses a medium-security vulnerability where RTSP URLs containing username and password are created and subsequently logged or exposed in error messages. This flaw could lead to sensitive credential leakage. The proposed solution involves implementing a custom log filter to redact credentials from logs and sanitizing exception messages to prevent exposure.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue requires a comprehensive review of the web UI to ensure it meets accessibility standards. Key areas to address include implementing keyboard navigation for all interactive elements, adding ARIA labels for better screen reader support, ensuring sufficient color contrast ratios, and managing focus appropriately, especially within modals.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue identifies a risk of runtime crashes due to division by zero in rate and percentage calculations within the FPS and queue utilization logic. The proposed solution involves implementing a `safe_divide` helper function or using a minimum threshold to prevent these errors, ensuring more robust error handling.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes enhancing the project's logging by migrating from basic string formatting to structured JSON logging. This change will significantly improve log aggregation, parsing, and analysis by tools like ELK, Loki, and Splunk, leading to better observability and easier debugging in production environments.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This enhancement proposes adding a `config_version` field to configuration files to enable backward compatibility and automatic migration scripts. This will improve future-proofing, simplify upgrades, and provide clearer deprecation paths for outdated configurations.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue identifies a bug where the `cv2.VideoCapture` object is not explicitly released in error paths within the `connect()` method of `stream_capture.py`. This can lead to file handle exhaustion and camera device lock. The proposed solutions involve adding explicit `release()` calls in error scenarios and suggest using a context manager for more robust resource management.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes integrating existing performance and latency tests into the CI pipeline. The goal is to automatically detect performance regressions by establishing benchmarks with defined thresholds and storing baseline results for comparison. This will improve the reliability of performance and reduce manual testing efforts.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes adding comprehensive tests for the `reload_config()` method, which currently lacks coverage for critical aspects like atomic updates, rollback on failure, and thread safety. The goal is to ensure the reliability and integrity of configuration reloads, preventing potential data corruption and thread safety issues.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue addresses technical debt by removing deprecated GroundingDINO code that coexists with a faster YOLOX inference engine. The goal is to reduce code confusion and maintenance burden by archiving the old code and cleaning up related configurations and imports.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue requests the addition of comprehensive architecture diagrams to the project's documentation. Specifically, it calls for diagrams illustrating system overview, data flow, threading models, and component lifecycles to improve understanding for new contributors and document key architectural decisions.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue highlights a critical lack of log rotation for the telescope-detection service, which can lead to disk space exhaustion and system instability. The proposed solutions involve configuring `logrotate`, implementing Python's built-in logging handlers, or utilizing Docker's logging driver for containerized environments.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: The current Docker health check only verifies an HTTP 200 status code, which is insufficient for proper health validation. The issue proposes improvements to check for a specific JSON response content, like `"status": "ok"`, or to use more robust methods like `jq` or a Python script for more comprehensive checks.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue requests the creation of a troubleshooting guide in the documentation to address common errors encountered by users. It provides specific error messages, potential solutions, and diagnostic commands for issues like CUDA out of memory, camera connection failures, missing model files, queue overflows, and port conflicts.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue requests improvements to the OpenAPI documentation for FastAPI endpoints. Specifically, it aims to add detailed descriptions, request/response examples, and error codes to the auto-generated documentation, which is currently minimal. This will make the API easier for integrators to understand and use.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue addresses the lack of schema validation for YAML configuration files, which leads to cryptic errors when typos occur. The proposed solution involves implementing JSON Schema validation to catch these errors early and provide user-friendly feedback, improving the overall user experience and maintainability.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue identifies a widespread code quality problem where broad `except Exception:` blocks are used, which can hide critical errors and make debugging difficult. The proposed solution involves auditing these instances, replacing them with specific exception handling, and ensuring that general exceptions are only caught as a last resort with re-raising.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes refactoring manual, error-prone configuration validation logic in `main.py` to use a schema-based library like Pydantic. This will improve maintainability, reduce errors, and provide clearer error messages.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue highlights the lack of automated dependency vulnerability scanning in the project. It proposes several solutions, including `pip-audit`, `safety`, and GitHub Dependabot, to detect and alert on known CVEs in dependencies, thereby mitigating security risks.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: The project uses unpinned dependency version specifiers (e.g., `>=2.1.0`), which can lead to unexpected breaking changes and inconsistent behavior across deployments. The suggested solution is to use compatible release specifiers (`~=`) or pin exact versions in `requirements.txt` to ensure reproducible builds.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue highlights a critical lack of security-focused tests for authentication and input validation within the project. It outlines specific test cases needed to address vulnerabilities like bearer token validation, path traversal, XSS, and SQL injection, aiming to prevent security risks before production deployment.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue highlights the lack of integration tests for the multi-camera initialization and failure handling mechanism. It requires the implementation of tests for various failure scenarios, including complete or partial camera failures, connection timeouts, and recovery processes, to ensure system reliability and prevent regressions.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes a security enhancement for the default web server configuration. Currently, it binds to all network interfaces (0.0.0.0), which can unintentionally expose the web UI to the network. The suggested solution is to change the default to localhost (127.0.0.1) for increased security, requiring explicit configuration for external access and adding warnings for users who choose to bind to all interfaces.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue identifies a security vulnerability in FastAPI POST endpoints where CSRF tokens are not validated. This allows for Cross-Site Request Forgery attacks, enabling malicious sites to trigger actions like restarting cameras or reloading configurations on behalf of authenticated users. The suggested solution involves implementing CSRF token generation and validation, requiring an `X-CSRF-Token` header, or utilizing a SameSite cookie policy.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue describes a security vulnerability where bearer token validation in `web_server.py` is susceptible to timing attacks due to the use of the `!=` operator. An attacker could potentially brute-force tokens by measuring response times. The suggested solution is to replace the `!=` comparison with `secrets.compare_digest()` for constant-time comparison.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue describes a potential security vulnerability in the clips serving endpoint where unsanitized user-provided filenames could lead to directory traversal attacks. Attackers might exploit this to access sensitive files on the system. The suggested solution involves robust path validation, including stripping directory components and verifying the resolved path remains within the designated clips directory.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: The motion filter currently reinitializes its background subtractor every time its parameters are updated, leading to significant performance degradation and false positives as it relearns the background. The proposed solution is to selectively reinitialize the background subtractor only when critical parameters like 'history' change, while allowing other parameters to be updated dynamically.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes optimizing YOLOX inference for multiple cameras by implementing GPU batch processing. Currently, each camera's inference runs independently, leading to underutilized GPUs. By batching frames from different cameras, the system can significantly improve GPU utilization and throughput, potentially supporting more cameras.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: The current configuration hot-reloading mechanism performs a deep comparison of the entire configuration tree on every reload, which is inefficient when only a few values have changed. The proposed solution involves optimizing this by first performing a shallow comparison using hashes to quickly detect identical configurations, and then using a more targeted comparison for differing sections.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes optimizing WebSocket communication by preventing unnecessary serialization and transmission of detection messages. The current implementation sends every detection result, including empty frames or frames with no significant changes, leading to performance overhead. The recommended solution is to initially skip empty detection frames and send periodic status updates, with potential for more advanced delta encoding or client-controlled update rates in the future.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes adding automated performance regression tests to catch performance degradation. It outlines specific test cases for inference latency, throughput, and GPU memory stability, referencing past performance issues as motivation. The goal is to prevent future performance regressions through continuous testing.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes standardizing error handling patterns across the codebase to improve consistency and reliability. It addresses several existing problems like improper exception catching, missing validation, resource leaks, and insufficient error context, providing specific code examples for exception handling, resource cleanup, validation, and retries.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes adding integration tests to cover various error recovery and reliability scenarios for a wildlife detection system. The tests aim to ensure proper thread lifecycle management, FFmpeg process cleanup, resource leak prevention (GPU memory, file handles), graceful handling of partial startup failures, and robustness during configuration reloads under high load.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30
AI Summary: This issue proposes adding comprehensive type hints to the codebase to improve code readability, enable static type checking with mypy, and enhance developer experience. The implementation involves adding mypy to dependencies, configuring it, gradually adding type hints starting with public APIs, and integrating mypy checks into CI/CD. This is a low-priority enhancement.
Real-time wildlife detection and telescope collision prevention system using RT-DETR + iNaturalist on NVIDIA A30