Skip to content

roryclear/clearcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clearcam

Turn your RTSP enabled camera or old iPhone into a state of the art AI Security Camera

Now on the Apple App Store

https://apps.apple.com/app/clearcam/id6743237694

Front     Server

run NVR + inference in python

  1. pip install -r requirements.txt
  2. python3 clearcam.py
  3. (optional) enter your Clearam premium userID (viewable in iOS app) to receive streams and notifications
  4. add your rtsp cameras
  • use BEAM=2 python3 clearcam.py for extra performance (wait time on first run)
  • use --yolo_size={s, m, l, or x for larger yolov8 variants}

install ios from source

  1. git clone https://github.com/roryclear/clearcam.git
  2. open ios/clearcam.xcodeproj

python requirements

  • ffmpeg
  • tinygrad
  • numpy
  • cv2
  • scipy
  • lap
  • cython_bbox

iOS requirements

  • iOS 15 or newer
  • iPhone SE (1st gen) or newer (older iPhones might work)
  • dependencies: NONE!

Screenshot Screenshot

Screenshot

Signing Up for Clearcam Premium

Features

  • View your live camera feeds remotely.
  • Receive notifications on events (objects/people detected).
  • View event clips remotely.
  • End-to-end encryption on all data.

How to Sign Up on Android

Sign ups on android are not yet supported.
In the meantime, please refer to the How to Sign Up on iOS section and use the user ID on android.

How to Sign Up on iOS

  1. Install Clearcam from the App Store.
  2. Open the app and go to Settings.
  3. Tap Upgrade to Premium.
  4. Complete the payment using the App Store’s secure checkout.
  5. After upgrading, return to Settings in Clearcam.
  6. Locate your User ID — you’ll use this to log in on any device, including Android.

experimental features

own notification server

On an event (change in number of detected objects), clearcam will send the video to an IP address of your choice.

own inference server

Use an external computer to perform object detection over Wi-Fi.

requirements:

  • python
  • tinygrad
  • uvicorn
  • Shared Wi-Fi network between your phone and computer
  1. run yolov8.py on your computer
  2. optional: use "nohup python yolo.py &" to prevent sleeping)
  3. optional: add s, m, l, x to command to change yolov8 model size from nano.
  4. on your phone, turn on "Use Own Inference Server"
  5. enter your computer's IP address + port (:6667) e.g http://192.168.1.23:6667