Skip to content

Commit c72794f

Browse files
committed
feat(coral-tpu): sync skill files — codesign-aware libedgetpu patching, non-fatal install, ask_sudo command transparency
1 parent 829cc14 commit c72794f

9 files changed

Lines changed: 830 additions & 0 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# ─── Python ───────────────────────────────────────────
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
*.egg-info/
7+
*.egg
8+
dist/
9+
.eggs/
10+
.venv/
11+
venv/
12+
env/
13+
14+
# ─── ML Models & Data ────────────────────────────────
15+
*.pt
16+
*.pth
17+
*.onnx
18+
*.tflite
19+
*.pb
20+
*.h5
21+
*.safetensors
22+
model/
23+
model.tgz
24+
*.tgz
25+
weights/
26+
runs/
27+
28+
# ─── Build ────────────────────────────────────────────
29+
build/build/*
30+
build/dist/*
31+
build/runtime_arch
32+
build/*
33+
runtime
34+
35+
# ─── Node ─────────────────────────────────────────────
36+
node_modules/
37+
38+
# ─── Docker ───────────────────────────────────────────
39+
docker/db
40+
volumes
41+
42+
# ─── IDE & OS ─────────────────────────────────────────
43+
.DS_Store
44+
.vscode/
45+
.idea/
46+
*.swp
47+
*.swo
48+
*~
49+
.env.local
50+
51+
# ─── Project Specific ────────────────────────────────
52+
src/yolov7_reid/src/models/mgn_R50-ibn.onnx
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
arch:
2+
- arm64
3+
os: linux
4+
dist: xenial
5+
language: shell
6+
services:
7+
- docker
8+
env:
9+
global:
10+
- DOCKER_CACHE_FILE=/home/travis/docker/cache.tar.gz
11+
before_script:
12+
# Every 30 seconds, look for the build log file. If it exists, then
13+
# start watching its contents and printing them to stdout as they
14+
# change. This has two effects:
15+
# 1. it avoids Travis timing out because the build outputs nothing
16+
# 2. it makes it more obvious what part of the build, if any, gets stuck
17+
- while sleep 30; do tail $TRAVIS_BUILD_DIR/log -f ; done &
18+
script:
19+
#- cd $TRAVIS_BUILD_DIR/docker/build/tensorflow && docker build -f Dockerfile.arm64v8 -t shareai/tensorflow:arm64v8_latest .
20+
#- cd $TRAVIS_BUILD_DIR/docker/build/od && docker build -f Dockerfile.arm64v8 -t shareai/od:arm64v8_latest .
21+
- "travis_wait 50 sleep 3000 &"
22+
- docker-compose -f $TRAVIS_BUILD_DIR/docker/build/docker-compose-arm64v8.yml build > $TRAVIS_BUILD_DIR/log
23+
after_success:
24+
- docker login --username shareai --password $DOCKER_HUB_TOKEN
25+
- docker push shareai/tensorflow:arm64v8_latest
26+
#- docker push shareai/od:arm64v8_latest
27+
- cd $TRAVIS_BUILD_DIR/docker/build && docker-compose -f docker-compose-arm64v8.yml push
28+
cache:
29+
directories:
30+
- /home/travis/docker/
31+
before_install:
32+
- if [ -f ${DOCKER_CACHE_FILE} ]; then gunzip -c ${DOCKER_CACHE_FILE} | docker load; fi
33+
before_cache:
34+
- if [[ ${TRAVIS_BRANCH} == "master" ]] && [[ ${TRAVIS_PULL_REQUEST} == "false" ]]; then docker save $(docker images -a -q) | gzip > ${DOCKER_CACHE_FILE}; fi
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, caste, color, religion, or sexual
10+
identity and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the overall
26+
community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or advances of
31+
any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or electronic
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement
40+
41+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
42+
reported to the project maintainers. All complaints will be reviewed and
43+
investigated promptly and fairly.
44+
45+
## Attribution
46+
47+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org),
48+
version 2.1, available at
49+
https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Contributing to DeepCamera
2+
3+
Thank you for your interest in contributing to DeepCamera! This project is evolving into an open-source AI skill platform for [SharpAI Aegis](https://sharpai.org).
4+
5+
## How to Contribute
6+
7+
### 🛠️ Build a New Skill
8+
9+
The best way to contribute is by building a new skill. Each skill is a self-contained folder under `skills/` with:
10+
11+
1. **`SKILL.md`** — declares parameters (rendered as UI in Aegis) and capabilities
12+
2. **`requirements.txt`** — Python dependencies
13+
3. **`scripts/`** — entry point using JSON-lines stdin/stdout protocol
14+
15+
See [`skills/detection/yolo-detection-2026/`](skills/detection/yolo-detection-2026/) for a complete reference implementation.
16+
17+
### 📋 Skill Ideas We Need
18+
19+
- Camera providers: Eufy, Reolink, Tapo, Ring
20+
- Messaging channels: Matrix, LINE, Signal
21+
- Automation triggers: MQTT, webhooks
22+
- AI models: VLM scene analysis, SAM2 segmentation, depth estimation
23+
24+
### 🐛 Report Issues
25+
26+
- Use [GitHub Issues](https://github.com/SharpAI/DeepCamera/issues)
27+
- Include your platform, Python version, and steps to reproduce
28+
29+
### 📝 Improve Documentation
30+
31+
- Fix typos, improve clarity, add examples
32+
- Add platform-specific setup guides under `docs/`
33+
34+
## Development Setup
35+
36+
```bash
37+
git clone https://github.com/SharpAI/DeepCamera.git
38+
cd DeepCamera
39+
40+
# Work on a skill
41+
cd skills/detection/yolo-detection-2026
42+
python3 -m venv .venv && source .venv/bin/activate
43+
pip install -r requirements.txt
44+
```
45+
46+
## Code Style
47+
48+
- Python: follow PEP 8
49+
- Use type hints where practical
50+
- Add docstrings to public functions
51+
52+
## License
53+
54+
By contributing, you agree that your contributions will be licensed under the [MIT License](LICENSE).
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Third-Party Licenses & Acknowledgments
2+
3+
This project uses or was inspired by the following open-source projects:
4+
5+
## AI & ML Frameworks
6+
* [Ultralytics](https://github.com/ultralytics/ultralytics) — YOLOv8/v10/v11 (AGPL-3.0)
7+
* [Insightface](https://github.com/deepinsight/insightface) — Face recognition (MIT)
8+
* [FastReID](https://github.com/JDAI-CV/fast-reid) — Person re-identification (Apache-2.0)
9+
10+
## Legacy Dependencies (src/)
11+
* [TensorFlow](https://github.com/tensorflow/tensorflow) — Apache License 2.0
12+
* [MXNet](https://github.com/apache/incubator-mxnet) — Apache License 2.0
13+
* [TVM](https://github.com/dmlc/tvm) — Apache License 2.0
14+
15+
## Infrastructure
16+
* [Milvus](https://github.com/milvus-io/milvus) — Vector database (Apache-2.0)
17+
* [go2rtc](https://github.com/AlexxIT/go2rtc) — RTSP/WebRTC streaming (MIT)
18+
* [Node.js](https://nodejs.org) — MIT
19+
* [Python](https://www.python.org) — PSF License
20+
21+
## Historical
22+
* Shinobi — https://gitlab.com/Shinobi-Systems/Shinobi/
23+
* Termux — https://github.com/termux/termux-app (GPLv3)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 SharpAI Dev Team
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)