Giter VIP home page Giter VIP logo

8ff / firescrew Goto Github PK

View Code? Open in Web Editor NEW
142.0 3.0 11.0 353.91 MB

Firescrew - Spotting moving objects on your RTSP network cameras faster than a caffeinated cat!

Home Page: https://firescrew.com

License: GNU Affero General Public License v3.0

Python 9.46% Go 73.61% Shell 5.21% HTML 1.86% CSS 2.12% JavaScript 6.87% Dockerfile 0.87%
nvr object-detection rtsp security-camera yolov8 camera mqtt object-detection-model rtsp-stream homeassistant

firescrew's Issues

curl: Remote file name has no length!

Hi, when i want to execute download firescrew i get error:

root@ubuntu:/home/ubuntu# curl -O firescrew -L https://github.com/8ff/firescrew/releases/download/latest/firescrew.linux.amd64 && chmod +x firescrew
curl: Remote file name has no length!
curl: (23) Failed writing received data to disk/application
root@ubuntu:/home/ubuntu#

Fast moving person or vehicle is left out

Hello !,
Great Work here. I just found out firescrew and I love it and Im adding stuff to it too.

While I was testing, There was two times a bike crossed my camera and It got screenshotted by firescrew and recognized by yolo as person but The video starts after like the bike or car left the camera view.
Why is it?

I did the same with frigate but It captures video from way before they enter the screen and to after they leave.

How to fix this?
Thanks!

No HI res streams found at rtsp://...

Version: 2023-08-17_02:50:01

Docker Command: docker run --rm -v /Volumes/Data/firescrew/media:/media -v /Volumes/Data/firescrew/config.json:/config.json -it 8fforg/firescrew:latest /config.json

Error: No HI res streams found at rtsp://username:[email protected]:554/h264Preview_01_main

Config:
{
"cameraName": "Driveway",
"deviceUrl": "rtsp://username:[email protected]:554/h264Preview_01_sub",
"hiResDeviceUrl": "rtsp://username:[email protected]:554/h264Preview_01_main",
"printDebug": true,
"video": {
"hiResPath": "Data/firescrew/rec/hi",
"recodeTsToMp4": false
},
"motion": {
"confidenceMinThreshold": 0.3,
"lookForClasses": ["car", "truck", "person", "bicycle", "motorcycle", "bus", "cat", "dog", "boat"],
"embeddedObjectScript": "objectDetectServerYolo.py",
"networkObjectDetectServer": "",
"prebufferSeconds": 10,
"eventGap": 30
},
"pixelMotionAreaThreshold": 50.00,
"objectCenterMovementThreshold": 50.0,
"objectAreaThreshold": 500.0,
"streamDrawIgnoredAreas": true,
"enableOutputStream": true,
"outputStreamAddr": ":8040",
"events": {
"webhookUrl": "",
"scriptPath": "",
"slack": {
"url": "" },
"mqtt": {
"host": "",
"port": 0,
"user": "",
"password": "",
"topic": ""
}
}
}

I did confirm via VLC that the url to the stream is functional. Any thoughts on what I need to change on my end?

Audio Detection

Are there any plans to add other types of detection besides video. For instance audio detection for detecting a car horn, or TTS to convert a streams video to text, etc..

[ERROR] Error getting stream info: ffprobe: exit status 1

hi, i cannot launch firescrew, i had error:

root@ubuntu:/home/ubuntu# ./firescrew config.json
11:55:30 [INFO] ******************** CONFIG ********************
11:55:30 [INFO] Print Debug: false
11:55:30 [INFO] Device URL: 
11:55:30 [INFO] Lo-Res Param Bypass: Res: 0x0 FPS: 0.00
11:55:30 [INFO] Hi-Res Param Bypass: Res: 0x0 FPS: 0.00
11:55:30 [INFO] Hi-Res Device URL: 
11:55:30 [INFO] Video HiResPath: rec/hi
11:55:30 [INFO] Video RecodeTsToMp4: true
11:55:30 [INFO] Video OnlyRemuxMp4: true
11:55:30 [INFO] Motion Embedded Object Script: objectDetectServerYolo.py
11:55:30 [INFO] Motion Object Min Threshold: 0.300000
11:55:30 [INFO] Motion LookForClasses: [car truck person bicycle motorcycle bus cat dog boat]
11:55:30 [INFO] Motion Network Object Detect Server: 
11:55:30 [INFO] Motion PrebufferSeconds: 10
11:55:30 [INFO] Motion EventGap: 30
11:55:30 [INFO] Pixel Motion Area Threshold: 50.000000
11:55:30 [INFO] Object Center Movement Threshold: 50.000000
11:55:30 [INFO] Object Area Threshold: 2000.000000
11:55:30 [INFO] Ignore Areas Classes:
11:55:30 [INFO]   Class: [template], Coordinates: 0,0,0,0
11:55:30 [INFO]   Class: [car truck train suitcase], Coordinates: 133,356,114,397
11:55:30 [INFO]   Class: [car truck train suitcase], Coordinates: 93,274,290,547
11:55:30 [INFO] Draw Ignored Areas: false
11:55:30 [INFO] Enable Output Stream: false
11:55:30 [INFO] Output Stream Address: :8040
11:55:30 [INFO] ************* EVENTS CONFIG *************
11:55:30 [INFO] Events MQTT Host: 
11:55:30 [INFO] Events MQTT Port: 1883
11:55:30 [INFO] Events MQTT Topic: 
11:55:30 [INFO] Events Slack URL: 
11:55:30 [INFO] Events Script Path: 
11:55:30 [INFO] Events Webhook URL: 
11:55:30 [INFO] ************************************************
11:55:31 [ERROR] Error getting stream info: ffprobe: exit status 1
root@ubuntu:/home/ubuntu# ffmpeg -version
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil      56. 70.100 / 56. 70.100
libavcodec     58.134.100 / 58.134.100
libavformat    58. 76.100 / 58. 76.100
libavdevice    58. 13.100 / 58. 13.100
libavfilter     7.110.100 /  7.110.100
libswscale      5.  9.100 /  5.  9.100
libswresample   3.  9.100 /  3.  9.100
libpostproc    55.  9.100 / 55.  9.100

i don't change anything in default config.json

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.