Overview
Tangkapin connects CCTV weapon detection with reporting, evidence, verification, officer assignment, and field tracking. I built the backend API and its integration with the Python/PyTorch detection service.
The important product distinction is that a model prediction is only evidence. A human-operated incident workflow still decides what happens next.
Detection feeds the report
The Python service returns a bounded detection response over HTTP. The Node.js API can use that result to create or enrich report evidence.
A confidence score does not automatically mark an incident as confirmed or completed. Verification and assignment still happen through authenticated application actions.
Detection can fail independently
Inference runs in a separate process/container.
If the detection service is unavailable, automatic detection stops, but manual reporting and the rest of the incident workflow can continue. Timeouts and bounded retry keep a slow inference request from blocking unrelated API work indefinitely.
Realtime updates
Pusher sends updates to owner, officer, and police clients. Current report state remains available through the API/database if a client misses an event.
Location tracking also has practical limits: update frequency affects privacy, battery, bandwidth, and storage. The project does not implement a production dispatch/ETA system around those concerns.
Current limits
Model-version/confidence provenance, role/transition regression tests, inference latency telemetry, and a dedicated high-throughput frame-ingestion design are the main gaps if this were pushed toward real CCTV scale.
Gambaran umum
Tangkapin menghubungkan deteksi senjata dari CCTV dengan pelaporan, bukti, verifikasi, penugasan petugas, dan pelacakan di lapangan. Saya membangun backend API beserta integrasinya dengan layanan deteksi Python/PyTorch.
Perbedaan produk yang penting adalah prediksi model hanya menjadi bukti. Workflow insiden yang dioperasikan manusia tetap menentukan tindakan selanjutnya.
Hasil deteksi menjadi bukti laporan
Service Python mengembalikan respons deteksi yang dibatasi melalui HTTP. API Node.js menggunakan hasil tersebut untuk membuat atau memperkaya bukti laporan.
Confidence score tidak otomatis mengubah status insiden menjadi terverifikasi atau selesai. Verifikasi dan penugasan tetap melalui tindakan aplikasi yang terautentikasi.
Deteksi dapat gagal secara terpisah
Inference berjalan dalam process/container terpisah.
Jika detection service tidak tersedia, deteksi otomatis berhenti, tetapi pelaporan manual dan workflow insiden tetap berjalan. Timeout dan retry terbatas mencegah request inference lambat menghambat pekerjaan API lain tanpa batas.
Realtime updates
Pusher mengirim update ke client pemilik laporan, petugas, dan polisi. State laporan saat ini tetap tersedia lewat API/database jika event terlewat.
Location tracking juga punya batas praktis: frekuensi update memengaruhi privasi, baterai, bandwidth, dan storage. Proyek ini belum menerapkan sistem dispatch/ETA production untuk masalah tersebut.
Keterbatasan saat ini
Provenance versi model dan confidence, regression tests untuk role/transisi, telemetry latency inference, dan desain frame ingestion ber-throughput tinggi adalah kekurangan utama jika sistem dikembangkan ke skala CCTV nyata.
Resumen
Tangkapin conecta detección de armas en CCTV con informes, evidencia, verificación, asignación de agentes y seguimiento en campo. Construí el backend API y su integración con el servicio de detección Python/PyTorch.
La distinción clave es que la predicción del modelo solo constituye evidencia. Un workflow de incidentes operado por personas determina los pasos posteriores.
La detección alimenta el informe
El servicio Python devuelve una respuesta de detección delimitada por HTTP. La API Node.js utiliza el resultado para crear o enriquecer la evidencia del informe.
Un confidence score no marca automáticamente un incidente como confirmado o resuelto. Verificación y asignación siguen requiriendo acciones autenticadas.
La detección puede fallar independientemente
Inference corre en un proceso/container separado.
Si falla el detection service, la detección automática se detiene, pero los informes manuales y el resto del workflow continúan. Timeouts y retry limitados evitan que una petición lenta bloquee otras operaciones de la API.
Actualizaciones realtime
Pusher comunica cambios a usuarios, agentes y policía. El estado actual del informe sigue accesible por API/database cuando un cliente pierde un evento.
Location tracking presenta límites reales: la frecuencia influye en privacidad, batería, bandwidth y storage. El proyecto todavía no implementa un sistema de dispatch/ETA de production.
Límites actuales
Las principales carencias para escalar a CCTV real son provenance de versiones del modelo y confidence, regression tests de roles y transiciones, telemetry de latencia inference y diseño de frame ingestion de alto throughput.
Présentation
Tangkapin relie la détection d’armes par CCTV aux signalements, preuves, vérifications, affectations d’agents et suivi sur le terrain. J’ai développé le backend API et son intégration avec le service Python/PyTorch de détection.
La distinction essentielle est qu’une prédiction du modèle constitue seulement une preuve. Un workflow d’incident géré par des humains décide de la suite.
La détection enrichit le signalement
Le service Python renvoie une réponse de détection bornée via HTTP. L’API Node.js l’utilise pour créer ou enrichir les éléments de preuve.
Un confidence score ne confirme ni ne clôt automatiquement un incident. La vérification et l’affectation passent toujours par des actions authentifiées.
La détection peut échouer séparément
L’Inference tourne dans un process/container distinct.
Si le detection service est indisponible, la détection automatique s’arrête, mais les signalements manuels et le workflow continuent. Des timeouts et retries limités empêchent un appel lent de bloquer indéfiniment l’API.
Mises à jour realtime
Pusher notifie les clients du propriétaire, des agents et de la police. L’état courant du rapport reste accessible via API/database si un événement est manqué.
Le Location tracking a des limites pratiques : la fréquence des updates affecte vie privée, batterie, bandwidth et storage. Aucun système dispatch/ETA de production ne couvre encore ces enjeux.
Limites actuelles
Pour viser l’échelle réelle du CCTV, il faudrait améliorer la provenance des versions et confidence du modèle, les regression tests de rôles/transitions, la telemetry de latence Inference et la conception de frame ingestion à haut throughput.
Überblick
Tangkapin verbindet CCTV-Waffenerkennung mit Meldungen, Beweissicherung, Verifizierung, Zuweisung von Beamten und Außendienst-Tracking. Ich entwickelte die Backend API und ihre Integration mit dem Python/PyTorch-Erkennungsdienst.
Die entscheidende Unterscheidung: Eine Modellvorhersage ist nur ein Beweisstück. Der von Menschen gesteuerte Incident Workflow entscheidet über weitere Schritte.
Erkennung ergänzt die Meldung
Der Python-Service liefert über HTTP eine begrenzte Detection Response. Die Node.js API nutzt sie zum Erstellen oder Ergänzen von Report-Evidence.
Ein Confidence Score bestätigt oder schließt keinen Vorfall automatisch. Verifizierung und Zuweisung erfolgen weiterhin durch authentifizierte Aktionen.
Erkennung kann unabhängig ausfallen
Inference läuft in einem getrennten Process/Container.
Wenn der Detection Service ausfällt, stoppt die automatische Erkennung. Manuelle Meldungen und der übrige Workflow funktionieren weiter. Timeouts und begrenzte Retries verhindern dauerhaft blockierende Requests.
Realtime-Updates
Pusher sendet Updates an Melder, Beamte und Polizei. Der aktuelle Report State bleibt über API/Database abrufbar, auch wenn ein Event verpasst wird.
Location Tracking hat praktische Grenzen: Die Update-Frequenz beeinflusst Datenschutz, Akku, Bandwidth und Storage. Das Projekt enthält dafür noch kein Production-Dispatch/ETA-System.
Aktuelle Grenzen
Für echte CCTV-Skalierung fehlen vor allem Provenance von Modellversion und Confidence, Regression Tests für Rollen/Transitionen, Inference-Latenz-Telemetrie und ein High-Throughput-Frame-Ingestion-Design.
概要
TangkapinはCCTVによる武器検出を、通報、証拠、確認、担当者の割り当て、現場追跡とつなぐシステムです。私はBackend APIとPython/PyTorch Detection ServiceのIntegrationを開発しました。
重要なのはModel Predictionを証拠として扱う点です。その後の処理は人が運用するIncident Workflowで判断します。
検出結果を通報の証拠にする
Python ServiceはHTTP経由で制限されたDetection Responseを返します。Node.js APIはその結果からReport Evidenceを作成または補強します。
Confidence Scoreが高くてもIncidentを自動確定・完了にはしません。検証と担当者の割り当ては認証されたApplication Actionで行います。
検出処理は独立して失敗できる
Inferenceは独立したProcess/Containerで実行されます。
Detection Serviceが利用できなくても、手動通報と他のIncident Workflowは継続できます。Timeoutと制限付きRetryによって、遅いInference Requestが無関係なAPI処理を長時間止めることを防ぎます。
Realtime Update
Pusherは通報者、担当者、警察のClientへUpdateを送ります。Eventを受信できなくても、最新のReport StateをAPI/Databaseから取得できます。
Location Trackingにはプライバシー、バッテリー、Bandwidth、Storageの制約があります。現在はこれらを扱うProduction Dispatch/ETA Systemは実装していません。
現在の制約
実際のCCTV規模を目指すなら、Model VersionとConfidenceのProvenance、Role/TransitionのRegression Tests、Inference Latency Telemetry、高ThroughputのFrame Ingestion設計が主要な課題です。