• Stars
    star
    112
  • Rank 310,533 (Top 7 %)
  • Language
    C++
  • Created about 11 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The CameraControlerApi is an attempt to control a DSLR via REST functionality.

CameraControllerApi

The CameraControlerApi is an attempt to control a DSLR via REST functionality. At the moment is it possible to change the camera settings (ISO, aperture, time), take pictures and stream the live view of the camera (only tested with a Nikon D90).

###Web-Interface###

http://device_ip:port/webif/

###Demonstration###

a demonstration for the CameraControlerApi

How to use

You will get all valid data for a command from the "list" action.

###Settings###

List the configuration with validate values

http://device_ip:port/settings?action=list

ISO

http://device_ip:port/settings?action=iso&value=200

Aperture

http://device_ip:port/settings?action=aperture&value=f/22

Shutter Speed

http://device_ip:port/settings?action=speed&value=1/1000

Whitebalance

http://device_ip:port/settings?action=whitebalance&value=Cloudy

###Capture###

take a picture

http://device_ip:port/capture?action=shot

autofocus

http://device_ip:port/capture?action=autofocus

###File system###

list of the available images on camera

http://device_ip:port/fs?action=list

get an image

http://device_ip:port/fs?action=get&value=filename.jpg&path=/path/to/file

Each method will response with a JSON file. If you want a XML response you have to put the command "&type=xml" on the end of the upper commands

####Live View live view will be generated as mjpeg-stream. you can easy implement this stream in html inside an image tag e.g:

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Live View</title>
</head>

<body>
<img src="http://localhost:8888/liveview" />
</body>

</html>

##Dependencies## apt-get install libboost-dev libboost-system-dev libmicrohttpd-dev libgphoto2-dev libexiv2-dev

  • libgphoto
  • libboost
  • libboost-system
  • libmicrohttpd
  • libexiv2

More Repositories

1

keras-shufflenet

ShuffleNet Implementation using Keras Functional Framework 2.0
Python
77
star
2

photils-cli

photils-cli is an application that passes an image through a neural network, classifies it, and extracts the suggested tags. Everything happens offline without the need that your data are sent over the internet.
C++
42
star
3

centernet-uda

This repository holds a small framework to evaluate unsupervised domain adaptation methods in combination with a CenterNet object detection network.
Python
26
star
4

cgp-cnn-design

Using Cartesian Genetic Programming to find an efficient Convolutional Neural Network architecture
Python
25
star
5

photils-dt

A darktable plugin that tries to predict keywords based on the selected image. This plugin uses photils-cli to handle this task. Photils-cli is an application that passes the image through a neural network, classifies it, and extracts the suggested tags. Everything happens offline without the need that your data are sent over the internet.
Lua
21
star
6

ImageMosaicWall

This application allows you to create an image based on a bunch of other images. It looks like a mosaic effect.
C++
20
star
7

photils-android

Android application that tries to predict keywords based on the selected image. The application passes a selected image through a neural network, classifies it, and extracts the suggested tags. Everything happens offline without the need that your data are sent over the internet.
Java
6
star
8

RoomPlanner

Room planner app for iOS implementing ground and vanishing point detection supported by OpenCV
Swift
5
star
9

Flickr-Dataset-Creator

A UI for a flickr image search with the aim to create datasets for machine learning task.
Java
4
star
10

photils-api

Python
1
star
11

RemoteDslrApi

The RemoteDslrApi is an attempt with Python to control a DSLR via REST functionality.
Python
1
star