ユーザ用ツール

サイト用ツール


cameras88

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
cameras88 [2015/01/04 11:02] yaasancameras88 [2015/01/04 11:36] (現在) – [Place web cam on the visible point of layout. Connect web cam to PC] yaasan
行 31: 行 31:
 You need to check the visible point of your layout. Of course, you can select the monitor area which you want to sense the locomotive. You need to check the visible point of your layout. Of course, you can select the monitor area which you want to sense the locomotive.
  
-{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/WebCamPosition-thumbnail2.jpg}} +[[http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/WebCamPosition.jpg|{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/WebCamPosition-thumbnail2.jpg}}]]
 ===== Prepare DSmain or DCC/MM2 shield (assembled with Arduino). ===== ===== Prepare DSmain or DCC/MM2 shield (assembled with Arduino). =====
  
行 55: 行 54:
 Register S88 areas. Drag the image on the window, you can add new sensor areas. When double click the area, you can adjust the position and size. Registering requires a virtual S88 address. Please assign S88 address. Please watch the following instruction video.  Register S88 areas. Drag the image on the window, you can add new sensor areas. When double click the area, you can adjust the position and size. Registering requires a virtual S88 address. Please assign S88 address. Please watch the following instruction video. 
  
-{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/CameraS88_config.mp4}}+{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/CameraS88_config.mp4|480x360}} 
 + 
 +===== Check the area ===== 
 + 
 +Please check the registered area. When the background color is like the locomotives, the recognition may not failure. Yellow box means recognized area. Red box means selected area. 
 + 
 +===== Place your locomotives ===== 
 + 
 +Keeo CameraS88 software and run Desktop Station. Please click start button and provide power on the track. 
 +Desktop Station can communicate with CameraS88 automatically. When CameraS88 doesn't run, Desktop Station priors S88 decoder signals.  
 + 
 +===== Check the recognition of locomotives ===== 
 + 
 +Please check the recognition of the locomotives. Then, you need to check the S88 sensor status in the event script window on the Desktop station.  
 + 
 +When the locomotive is on the Address 3 area on the CameraS88, the address 3 shows green on the Desktop Station. 
 +[[http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/TutorialCS88_05.jpg|{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/TutorialCS88_05-thumbnail2.jpg}}]] 
 + 
 +When the locomotive is on the Address 1 area on the CameraS88, the address 1 shows green on the Desktop Station. 
 +[[http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/TutorialCS88_04.jpg|{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/TutorialCS88_04-thumbnail2.jpg}}]] 
 + 
 +===== Edit an event script with Desktop Station ===== 
 + 
 +You can edit an event script which controls your locomotives and turnouts triggered by S88 sensor. 
 +Please see the following instruction video. 
 + 
 +{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/DS_EditEvents.mp4video.mp4}} 
 + 
 +[[http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/TutorialCS88_06.png|{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/TutorialCS88_06-thumbnail2.png}}]] 
 + 
 +===== Example scripts ===== 
 + 
 +Sensor 1 (STATION-1): 
 +DESKTOPSTATION,SCRIPT,2013 
 +SPEED,0,64,
 +WAIT,2,,0 
 +SPEED,0,64,
 +WAIT,2,,0 
 +DIRECTION,0,2,
 +WAIT,20,,
 +SPEED,0,128,
 + 
 +Sensor 2 (STATION-2): 
 +DESKTOPSTATION,SCRIPT,2013 
 +SPEED,0,128,
 +WAIT,2,,0 
 +SPEED,0,64,
 +WAIT,2,,0 
 +ACCESSORY,6,0,
 +DIRECTION,0,1,
 +WAIT,20,,
 +SPEED,0,128,
 + 
 + 
 +Sensor 3 (STATION-3): 
 +DESKTOPSTATION,SCRIPT,2013 
 +SPEED,0,128,
 +WAIT,2,,0 
 +SPEED,0,64,
 +ACCESSORY,6,1,
 +WAIT,2,,0 
 +DIRECTION,0,1,
 +WAIT,20,,
 +SPEED,0,128,0
  
 +{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/MVI_7307.mp4video.psp.mp4}}
  
 +{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/CameraS88_working.mp4}}
  
 +===== Technical issue about recognition =====
  
 +You can adjust the reaction level of CameraS88's recognition. Use 2 parameters of Threshold box. 
  
 +[[http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/TutorialCS88_07.png|{{http://buin2gou.sakura.ne.jp/sblo_files/powerele/image/TutorialCS88_07-thumbnail2.png}}]]
  
 +Matching value:
 +This value means the threshold of color difference between registered image and present image. Default value is 32. This value means the threshold of color difference is 12.5%. This value can set 0 to 255. When the value is more bigger than default value, the recognition area will be decreased.
  
 +Block value:
 +This value means the recognized border line of the blocks. The block is showed box on the window. You can set it 0 to 255. 128 means that the 50% of the box is reacted.
cameras88.1420336977.txt.gz · 最終更新: 2015/01/04 11:02 by yaasan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki