Coder Social home page Coder Social logo

jtcass01 / digicam Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 6.0 95 KB

A python class for controlling DSLR cameras. Requires DigiCamControl to be installed. Please see: http://digicamcontrol.com/ for more information.

License: GNU General Public License v3.0

Python 100.00%
digicamcontrol camera-control dslr-camera dslr-camera-control cameracontrol python

digicam's Introduction


Logo

DigiCam

A python library for controlling DSLR cameras using the open source program DigiCamControl. Please see: http://digicamcontrol.com/ for more information.
Explore the docs �

Report BugRequest Feature

Table of Contents

  1. Getting Started
  2. Usage
  3. Contributing
  4. License
  5. Contact

Getting Started

To get a local copy up and running, follow these simple steps.

Prequisites

digiCamControl can be downloaded here. Please select 'digiCamControl Stable Version'.

Installation

Download the DigiCam source code from here or using the following git system call.

git clone https://github.com/jtcass01/DigiCam.git

Locate the DigiCam directory. Run build.py from this directory with the following system call.

python build.py

Usage

Note: digiCamControl should locate the cpu port connected to a camera automatically.

from DigiCam.Camera import Camera

# Replace the below path with the absolute or relative path to your CameraControlCmd executable.
camera_control_cmd_path = 'C:\\Program Files (x86)\\digiCamControl\\CameraControlCmd.exe'

test_camera = Camera(control_cmd_location=camera_control_cmd_path)

test_camera.capture_single_image(autofocus=True)

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GPL-3.0 License. See LICENSE for more information.

Contact

Jacob Taylor Cassady - [email protected]

Project Link: https://github.com/jtcass01/DigiCam

digicam's People

Contributors

jtcass01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

digicam's Issues

setup.py silently fails at find_packages, posibly missing __init__?

Hi, first, thank you for the nice package!
I had problems installing it though. I got no error message while installing but an ModuleNotFoundError: No module named DigiCam when I try importing it. A closer inspection with pip install . -vvv reveals that no Camera.py file was being added.
After a uninstall I changed in the setup.py the line packages=find_packages() to packages=['DigiCam']. This made it work.
One possible cause is the lack of an __innit__.py file in the DigiCam folder, see: https://stackoverflow.com/a/61504665

Sytem:
Windows 10
Python 3.10.9 (in an venv)

Multiple camera setup

I know that DigiCamControl has the option for using multiple cameras, is this also possible using DigiCam library?

I have looked thoroughly into the documentation available and investigated the source and couldn't find much. Apologies if this is not considered an issue? I am working on a research project and in need to use multiple DSRL sensors.

Looking forward to hearing back from you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.