Skip to content

luigigargioni/go_cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📷 GO_CAM

GO_CAM is a Go application that allows controlling a webcam via API calls. Its primary purpose is to enable starting and stopping video recordings without audio through simple HTTP requests.

🎯 Requirements

  • SO: Windows

  • Go HTTP Server Library: Echo

  • Go Vision Library: GoCV

  • Record without audio

  • Endpoints:

    • startRecord → GET start_record
      • parameter device: Camera to use. Default 0
      • parameter path: Path where to save video. Default ""
      • parameter prefix: Prefix for video filename. Default ""
      • parameter format: Video format. Default mp4
      • registration name: <prefix>_<timestamp>.<format>
      • respond with generated name: e.g. prefix_20230208145236.mp4
    • stopRecord → GET stop_record
      • parameter device: Camera to stop. Default 0

🔧 Start dev-server

  • Default Port: 1323
go run server.go

For Hot Reload (Air):

air

🔨 Implementation


🔃 Other solutions

1️⃣ Camtron

  • Electron port: 8080

2️⃣ Linux libraries

3️⃣ Frontend Vue.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages