Skip to content

Commit 8589dff

Browse files
committed
This is the completion of the fork.
* complete the transition to camera2 * remove old camera.py parts and ballast * remove old qx/qt ui parts * remove old broken examples and tests * update documentation * cleanup __all__, recommend direct import from pydc1394
1 parent c42dd20 commit 8589dff

34 files changed

+306
-3535
lines changed

.gitignore

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
*.pyc
2-
.bzr-repo
3-
.bzr
1+
/*.egg-info
2+
/build
3+
/dist
4+
/doc/build

AUTHORS

+5-19
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
The library has seen contributions by the following persons:
2-
3-
Holger Rapp (KIT Karlsruhe, Germany)
4-
5-
user: sirver
6-
Project starter, maintainer
7-
8-
Olvier Roulet (SINTEF, Norway)
9-
user: olivier-roulet
10-
Support for white balancing and color cameras
11-
12-
Tamas Haraszti (University of Heidelberg and
13-
Max-Planck Institute for Metals Research, Germany)
14-
user: tomio2009
15-
Support for triggers. More type safe wrapping of c-calls.
16-
17-
Robert Jordens
18-
user: jordens
19-
Design and most of the implementation of Mode classes and Format 7 handling.
1+
Robert Jordens <[email protected]>
2+
Holger Rapp <[email protected]>
3+
Olvier Roulet (SINTEF, Norway)
4+
Tamas Haraszti (University of Heidelberg and
5+
Max-Planck Institute for Metals Research, Germany)

README

-32
This file was deleted.

README.rst

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This is a pythonic wrapper around the libdc1394 Version 2 for FireWire Cameras.
2+
(http://damien.douxchamps.net/ieee1394/libdc1394/)

RecentChanges.txt

-54
This file was deleted.

doc/source/api.rst

+1-43
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@ API Documentation
44
The :mod:`pydc1394._dc1394core` Module
55
--------------------------------------
66

7-
.. automodule:: pydc1394._dc1394core
8-
:members:
9-
10-
11-
The :mod:`pydc1394.camera` Module
12-
---------------------------------
13-
14-
.. automodule:: pydc1394.camera
7+
.. automodule:: pydc1394.dc1394
158
:members:
169

1710

@@ -27,38 +20,3 @@ The :mod:`pydc1394.frame` Module
2720

2821
.. automodule:: pydc1394.frame
2922
:members:
30-
31-
32-
The :mod:`pydc1394.cmdline` Module
33-
----------------------------------
34-
35-
.. automodule:: pydc1394.cmdline
36-
:members:
37-
38-
39-
The :mod:`pydc1394.capture` Module
40-
----------------------------------
41-
42-
.. automodule:: pydc1394.capture
43-
:members:
44-
45-
46-
The :mod:`pydc1394.ui.qt.display` Module
47-
----------------------------------------
48-
49-
.. automodule:: pydc1394.ui.qt.display
50-
:members:
51-
52-
53-
The :mod:`pydc1394.ui.wx.LiveImageDisplay` Module
54-
-------------------------------------------------
55-
56-
.. automodule:: pydc1394.ui.wx.LiveImageDisplay
57-
:members:
58-
59-
60-
The :mod:`pydc1394.ui.wx.LiveCameraDisplay` Module
61-
--------------------------------------------------
62-
63-
.. automodule:: pydc1394.ui.wx.LiveCameraDisplay
64-
:members:

examples/acquire_pics.py

-63
This file was deleted.

examples/dc1394.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
#!/usr/bin/python
22

3-
from pydc1394.camera2 import Camera
3+
from __future__ import (print_function, unicode_literals, division,
4+
absolute_import)
5+
6+
7+
from pydc1394 import Camera
48
import time
59

10+
611
def setup(cam, mode, gain, bright, shutter):
712
cam.mode = cam.modes[mode]
813
#cam.mode = cam.modes[-1]
@@ -34,7 +39,7 @@ def capture(cam, n):
3439
t = time.time()
3540
for i in range(n):
3641
im = cam.dequeue()
37-
print i, (time.time()-t)/(i+1), im.frames_behind, im.frame_id
42+
print(i, (time.time()-t)/(i+1), im.frames_behind, im.frame_id)
3843
im.enqueue()
3944
cam.stop_multi_shot()
4045
cam.stop_capture()

examples/display_format7_qt4.py

-68
This file was deleted.

examples/display_qt.py

-51
This file was deleted.

0 commit comments

Comments
 (0)