forked from rsdlab/WebCamera
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.WebCamera
181 lines (142 loc) · 4.7 KB
/
README.WebCamera
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
======================================================================
RTComponent: WebCamera specificatioin
OpenRTM-aist-1.0.0
Date: $Date$
This file is generated by rtc-template with the following argments.
# rtc-template -bcxx --module-name=WebCamera
# --module-desc='Web Camera RTC with common camera interface version 2.0' --module-version=2.0.0 --module-vendor=Kenichi Ohara, Meijo University
# --module-category=ImageProcessing --module-comp-type=STATIC
# --module-act-type=PERIODIC --module-max-inst=1
# --config=camera_id:int:0 --config=output_color_format:string:RGB --config=camera_param_filename:string:..\..\camera.yml --config=undistortion_flag:string:false --config=cap_continuous_flag:string:false --config=compression_ratio:int:75
# --outport=CameraImage:Img::TimedCameraImage
# --service-idl=C:\Program Files\OpenRTM-aist\1.1\rtm\idl\Img.idl
# --service=CameraCaptureService:CameraCaptureService:Img::CameraCaptureService
======================================================================
Basic Information
======================================================================
# <rtc-template block="module">
Module Name: WebCamera
Description: Web Camera RTC with common camera interface version 2.0
Version: 2.0.0
Vendor: Kenichi Ohara, Meijo University
Category: ImageProcessing
Kind: DataFlowComponent
Comp. Type: STATIC
Act. Type: PERIODIC
MAX Inst.: 1
Lang: C++
Lang Type:
# </rtc-template>
======================================================================
Activity definition
======================================================================
[on_initialize] implemented
[on_finalize]
[on_startup]
[on_shutdown]
[on_activated] implemented
[on_deactivated] implemented
[on_execute] implemented
[on_aborting] implemented
[on_error]
[on_reset]
[on_state_update]
[on_rate_changed]
======================================================================
InPorts definition
======================================================================
# <rtc-template block="inport">
# </rtc-template>
======================================================================
OutPorts definition
======================================================================
# <rtc-template block="outport">
Name: CameraImage
PortNumber: 0
Description:
PortType:
DataType: Img::TimedCameraImage
MaxOut:
[Data Elements]
Name:
Type:
Number:
Semantics:
Unit:
Frequency:
Operation Cycle:
RangeLow:
RangeHigh:
DefaultValue:
# </rtc-template>
======================================================================
Service Port definition
======================================================================
# <rtc-template block="serviceport">
PortName: CameraCaptureService
Description:
Interface:
[Service Provider Interfaces]
Name: CameraCaptureService
Type: Img::CameraCaptureService
Description:
Argument:
Return Value:
Exception:
PreCondition:
PostCondition:
# </rtc-template>
======================================================================
Configuration definition
======================================================================
# <rtc-template block="configuration">
Configuration:
Name: camera_id
Description:
Type: int
DefaultValue: 0
Unit:
Range:
Constraint:
Name: output_color_format
Description:
Type: string
DefaultValue: RGB
Unit:
Range:
Constraint:
Name: camera_param_filename
Description:
Type: string
DefaultValue: ..\..\camera.yml
Unit:
Range:
Constraint:
Name: undistortion_flag
Description:
Type: string
DefaultValue: false
Unit:
Range:
Constraint:
Name: cap_continuous_flag
Description:
Type: string
DefaultValue: false
Unit:
Range:
Constraint:
Name: compression_ratio
Description: This parameter can control the compression
ratio for JPEG and PNG color format.
Type: int
DefaultValue: 75
Unit:
Range:
Constraint:
# </rtc-template>
This software is developed at the National Institute of Advanced
Industrial Science and Technology. Approval number H23PRO-????. This
software is licensed under the Lesser General Public License. See
COPYING.LESSER.
This area is reserved for future OpenRTM.