A Go-based server for managing computer vision activities across multiple cameras. This service provides API endpoints for camera management, video processing, and observation data collection.
- Multi-camera support
- RESTful API endpoints
- Structured logging
- Real-time camera status monitoring
- Go 1.21 or later
- Git
- Clone the repository:
git clone [repository-url]
cd force-observations-server- Install dependencies:
go mod download- Run the server:
go run main.goThe server will start on port 8080 by default.
GET /health- Service health checkGET /cameras- List all connected camerasGET /cameras/{id}- Get specific camera detailsPOST /observations- Create a new observation
.
├── internal/
│ ├── api/
│ ├── camera/
│ └── logging/
├── pkg/
├── main.go
├── go.mod
└── README.md
- Create new packages in the
internaldirectory - Add corresponding tests in the same package
- Update the API endpoints in
internal/api