All Projects → vdechenaux → PhpWebcam

vdechenaux / PhpWebcam

Licence: MIT License
This is a PHP library to capture webcam frames

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to PhpWebcam

pony-sodium
Safe Pony FFI wrapper for the libsodium cryptography library. 🐴 🔐
Stars: ✭ 24 (-27.27%)
Mutual labels:  ffi
php-rdkafka-ffi
PHP Kafka client - binding librdkafka via FFI
Stars: ✭ 49 (+48.48%)
Mutual labels:  ffi
purescript-ffi-utils
A utility library for the purescript foreign function interface
Stars: ✭ 22 (-33.33%)
Mutual labels:  ffi
MTG-Card-Reader-Web
MTG-Card-Reader 2.0, built as a webpage.
Stars: ✭ 21 (-36.36%)
Mutual labels:  webcam
lonlat bng
A multithreaded Rust library with FFI for converting WGS84 longitude and latitude coordinates into BNG (OSGB36) Eastings and Northings and vice versa (using OSTN15)
Stars: ✭ 20 (-39.39%)
Mutual labels:  ffi
pybluemonday
pybluemonday is a library for sanitizing HTML very quickly via bluemonday.
Stars: ✭ 25 (-24.24%)
Mutual labels:  ffi
VideoRecognition-realtime-autotrainer-alerts
State of the art object detection in real-time using YOLOV3 algorithm. Augmented with a process that allows easy training of the classifier as a plug & play solution . Provides alert if an item in an alert list is detected.
Stars: ✭ 36 (+9.09%)
Mutual labels:  webcam
cffi
Safe* C foreign function interface for Rust, using proc macros and marshaling types.
Stars: ✭ 15 (-54.55%)
Mutual labels:  ffi
PointerScript
Scripting language with pointers and native library access.
Stars: ✭ 26 (-21.21%)
Mutual labels:  ffi
eta-ffi
A command line tool to automate the generation of ffi import code for the bindings of various Java libraries.
Stars: ✭ 19 (-42.42%)
Mutual labels:  ffi
buke
full text search manpages
Stars: ✭ 27 (-18.18%)
Mutual labels:  ffi
windigo
Windows API and GUI in idiomatic Go.
Stars: ✭ 187 (+466.67%)
Mutual labels:  ffi
generic-linked-in-driver
A generic non-blocking linked-in driver for interfacing Erlang and C
Stars: ✭ 46 (+39.39%)
Mutual labels:  ffi
idris-ffi-example
A minimal example of the Idris C FFI
Stars: ✭ 14 (-57.58%)
Mutual labels:  ffi
swift-bridge
swift-bridge facilitates Rust and Swift interop.
Stars: ✭ 260 (+687.88%)
Mutual labels:  ffi
cargo-valgrind
A cargo subcommand, that runs valgrind and displays its output in a helpful manner.
Stars: ✭ 66 (+100%)
Mutual labels:  ffi
winsafe
Windows API and GUI in safe, idiomatic Rust.
Stars: ✭ 110 (+233.33%)
Mutual labels:  ffi
getting-started
List of ideas for getting started with TimVideos projects
Stars: ✭ 50 (+51.52%)
Mutual labels:  webcam
libserialport.dart
Serial Port for Dart
Stars: ✭ 51 (+54.55%)
Mutual labels:  ffi
asciisciit
ASCII Art, Video, and Plotting Toolbox
Stars: ✭ 71 (+115.15%)
Mutual labels:  webcam

Php Webcam

This is a PHP library to capture webcam frames.

Demo

You can see this library in action here with a simple Mjpeg stream implementation.

Requirements

  • PHP > 7.4

  • Ext FFI

  • OpenCV (e.g. libopencv-videoio-dev on APT based systems)

Installation

composer require vdechenaux/webcam

Usage

$webcam = new \VDX\Webcam\Webcam();

// It can produce an other size if your webcam does not support the provided size
$webcam->setDesiredSize(1280, 720);

if ($webcam->open()) {
    $webcam->saveFrame('/tmp/test.jpg'/*, true*/); // It accepts a second parameter to mirror the image
    $webcam->close();
}
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].