Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Cameradar | 3,047 | 6 months ago | 7 | November 08, 2021 | 22 | mit | Go | |||
Cameradar hacks its way into RTSP videosurveillance cameras | ||||||||||
Awesome Iot Hacks | 1,208 | 4 years ago | 1 | mit | ||||||
A Collection of Hacks in IoT Space so that we can address them (hopefully). | ||||||||||
Homebridge Unifi Protect | 1,014 | 13 days ago | 58 | June 06, 2022 | 4 | other | TypeScript | |||
:video_camera: Complete HomeKit integration for UniFi Protect with full support for most features including autoconfiguration, motion detection, and multiple controllers: https://homebridge.io | ||||||||||
Pi Timolo | 494 | 5 months ago | 8 | mit | Python | |||||
Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software. | ||||||||||
Eufy_security | 488 | 13 days ago | 42 | Python | ||||||
Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors. | ||||||||||
Smart Security Camera | 487 | 4 years ago | 30 | Python | ||||||
IoT security camera running open-cv for object detection 📹 | ||||||||||
Wherearetheeyes | 204 | 4 years ago | 25 | bsd-3-clause | Java | |||||
Surveillance Detection and Mapping App | ||||||||||
Camerattack | 201 | 2 years ago | 5 | apache-2.0 | Go | |||||
An attack tool designed to remotely disable CCTV camera streams (like in spy movies) | ||||||||||
Surveillance Card | 177 | 5 months ago | 8 | apache-2.0 | JavaScript | |||||
A custom component for displaying camera feeds in the style of a surveillance system. | ||||||||||
Python Eufy Security | 170 | 5 months ago | 6 | February 11, 2020 | 5 | mit | Python | |||
Python library for Eufy Security cameras |
Security Cameras API is one of the best Security Camera API you will get, featuring many options for developers who like coding around security cameras. Features include a well formatted readable code friendly for developers to work around, an active Github which has commits often being pushed, and a discord for support if you require assistance. The code is open source and can be located here, which contains both the API and the example plugin we have provided to point users to the right direction. To use the API, download the jar provided in the Spigot resource and shade it inside your plugin. Do not minimizeJar
or anything of the like, as it loads some version-specific classes dynamically with Reflection.
What do Security Cameras look like: Security Cameras API relies on the idea of using Armorstands which are invisible and have a "Camera" as its head.
Security Cameras API also uses another one of our libraries, Simple NPC Framework
which can be located here. You may ask, why do we must include npc's in this library? Well the answer is that when a player uses a Camera, a fake NPC with the same exact look as the player is placed at the same location the player was originally in. The actual player is tped to the camera and put into spectator mode, so it looks like on their screen they are viewing the camera, but on other player's screens they just see the NPC. We have originally used Citizens, but because the library is very heavy and bulky for an API like this, we have proceeded to create our own NPC library which would be used for our plugins. You do not have to add this other API into your workspace, it has already been shaded into the Security Camera API.
The class which is needed for the API to be useful is the CameraManager
class, which can be defined using a constructor that accepts a Plugin
which you pass in (for your own plugin) and a File
which is needed to store the necessary configurations the camera requires.
Once you are done defining your CameraManager
class, adding a camera is as convienant as CameraManager#addCamera(Location loc, String name)
and removing a camera is as simple as CameraManager#removeCamera(Location loc, String name)
.
Cameras are saved in the indicated file in YAML
format, which gets updated as cameras are created and deleted asynchronously to not block the main server thread with IO operations.
Camera data load is also made asynchronously, and will be cached upon CameraManager creation.
To use a camera, you would use the CameraManager#addWatcher(Player player, Camera camera)
to add a watcher to a camera. Cameras by default support multiple watchers at once. In order to remove a watcher from a Camera, use the CameraManager#removeWatcher(Player player, boolean forceRemove)
method which will either force remove or normally remove a player from a camera view. By default, sneaking will let the player out of the Camera, and teleport the player to it's original location.
In addition from methods, there are also events as well such as the CameraSetEvent
, CameraDestroyEvent
, CameraEnterEvent
, and CameraExitEvent
.
And that's pretty much it. We will be adding more features as we go on, but check out our organization's website located at https://ponclure.github.io, which contains all of our projects and source code made by collaborative developers. I hope this API is useful!