All Projects → gen2brain → Cam2ip

gen2brain / Cam2ip

Licence: gpl-3.0
Turn any webcam into an IP camera

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Cam2ip

Iot camera
IoT Camera with Wi-Fi, RT-Thread
Stars: ✭ 62 (-89.44%)
Mutual labels:  camera, mjpeg
Unitybarcodescanner
Simple Unity Barcode Scanner
Stars: ✭ 180 (-69.34%)
Mutual labels:  camera, webcam
Picam
Elixir library used to capture MJPEG video on a Raspberry Pi using the camera module.
Stars: ✭ 96 (-83.65%)
Mutual labels:  camera, mjpeg
Instacam
Instant canvas video
Stars: ✭ 106 (-81.94%)
Mutual labels:  camera, webcam
Showmewebcam
Raspberry Pi + High Quality Camera = High-quality USB Webcam!
Stars: ✭ 531 (-9.54%)
Mutual labels:  camera, webcam
Ros openpose
ROS wrapper for OpenPose
Stars: ✭ 39 (-93.36%)
Mutual labels:  camera, webcam
Ngx Webcam
A simple Angular webcam component / pure & minimal, no flash-fallback
Stars: ✭ 148 (-74.79%)
Mutual labels:  camera, webcam
Pi Webcam
Automation to configure a Raspberry Pi as a USB OTG webcam
Stars: ✭ 990 (+68.65%)
Mutual labels:  camera, webcam
Instascan
HTML5 QR code scanner using your webcam
Stars: ✭ 2,657 (+352.64%)
Mutual labels:  camera, webcam
Esp32 Cam Webserver
Expanded version of the Espressif ESP webcam
Stars: ✭ 200 (-65.93%)
Mutual labels:  camera, webcam
Live Video Magnification
An OpenCV/Qt based realtime application for Eulerian Video Magnification / Motion Magnification. Works with multiple videos and cameras at the same time and let's you export the magnified videos.
Stars: ✭ 187 (-68.14%)
Mutual labels:  camera, webcam
jeelizPupillometry
Real-time pupillometry in the web browser using a 4K webcam video feed processed by this WebGL/Javascript library. 2 demo experiments are included.
Stars: ✭ 78 (-86.71%)
Mutual labels:  camera, webcam
Nager.VideoStream
Get images from a network camera stream or webcam
Stars: ✭ 27 (-95.4%)
Mutual labels:  camera, webcam
getting-started
List of ideas for getting started with TimVideos projects
Stars: ✭ 50 (-91.48%)
Mutual labels:  mjpeg, webcam
Lolcommits
📷 git-based selfies for software developers
Stars: ✭ 4,468 (+661.16%)
Mutual labels:  webcam
Cordova Plugin Camera Preview
Cordova plugin that allows camera interaction from HTML code
Stars: ✭ 528 (-10.05%)
Mutual labels:  camera
Rxpaparazzo
RxJava extension for Android to take images using camera and gallery and pick files up
Stars: ✭ 467 (-20.44%)
Mutual labels:  camera
Yasea
RTMP live streaming client for Android
Stars: ✭ 4,557 (+676.32%)
Mutual labels:  camera
Scanner
二维码/条码识别、身份证识别、银行卡识别、车牌识别、图片文字识别、黄图识别、驾驶证(驾照)识别
Stars: ✭ 547 (-6.81%)
Mutual labels:  camera
What the thing
📷 Point your camera at things to learn how to say them in a different language. Android app built with React Native.
Stars: ✭ 526 (-10.39%)
Mutual labels:  camera

cam2ip

Turn any webcam into an IP camera.

Example (in web browser):

http://localhost:56000/html

or

http://localhost:56000/mjpeg

You can also use apps like ffplay or vlc:

ffplay -i http://localhost:56000/mjpeg

Requirements

Build tags

  • cv2 - build with OpenCV 2.x (go-opencv)
  • cv4 - build with OpenCV 4.x (gocv)
  • jpeg - build with native Go image/jpeg instead of libjpeg-turbo

Download

Binaries are compiled with static OpenCV/libjpeg-turbo libraries, they should just work:

Installation

go get -v github.com/gen2brain/cam2ip/cmd/cam2ip

This will install app in $GOPATH/bin/cam2ip.

Run in Docker container

docker run --device=/dev/video0:/dev/video0 -p56000:56000 -it gen2brain/cam2ip # on RPi use gen2brain/cam2ip:arm

Usage

Usage of cam2ip:
  -bind-addr string
	Bind address [CAM2IP_BIND_ADDR] (default ":56000")
  -delay int
	Delay between frames, in milliseconds [CAM2IP_DELAY] (default 10)
  -height float
	Frame height [CAM2IP_HEIGHT] (default 480)
  -htpasswd-file string
	Path to htpasswd file, if empty auth is disabled [CAM2IP_HTPASSWD_FILE]
  -index int
	Camera index [CAM2IP_INDEX]
  -nowebgl
	Disable WebGL drawing of images (html handler) [CAM2IP_NOWEBGL]
  -rotate int
	Rotate image, valid values are 90, 180, 270 [CAM2IP_ROTATE]
  -timestamp
	Draws timestamp on images [CAM2IP_TIMESTAMP]
  -video-file string
	Use video file instead of camera [CAM2IP_VIDEO_FILE]
  -width float
	Frame width [CAM2IP_WIDTH] (default 640)

Handlers

  • /html: HTML handler, frames are pushed to canvas over websocket
  • /jpeg: Static JPEG handler
  • /mjpeg: Motion JPEG, supported natively in major web browsers
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].