converted cli to pwsh
This commit is contained in:
14
README.md
14
README.md
@@ -19,13 +19,13 @@ GStreamer plugins for IDS uEye cameras with frame analysis capabilities.
|
||||
## Usage Examples
|
||||
|
||||
### Basic capture from IDS uEye camera
|
||||
```bash
|
||||
```powershell
|
||||
gst-launch-1.0 idsueyesrc config-file=ini/whole-presacler64_autoexp-binningx2.ini exposure=0.5 ! queue ! autovideosink
|
||||
```
|
||||
|
||||
### Frame filtering based on column analysis
|
||||
Drop frames when column mean deviates from rolling baseline by more than 0.5:
|
||||
```bash
|
||||
```powershell
|
||||
gst-launch-1.0 idsueyesrc config-file=ini/whole-presacler64_autoexp-binningx2.ini exposure=0.5 ! videoconvert ! video/x-raw,format=GRAY8 ! rollingsum window-size=1000 column-index=1 threshold=0.5 ! queue ! autovideosink
|
||||
```
|
||||
|
||||
@@ -34,17 +34,17 @@ gst-launch-1.0 idsueyesrc config-file=ini/whole-presacler64_autoexp-binningx2.in
|
||||
### Additional rollingsum examples
|
||||
|
||||
Analyze column 320 with larger window:
|
||||
```bash
|
||||
```powershell
|
||||
gst-launch-1.0 idsueyesrc config-file=ini/whole-presacler64_autoexp-binningx2.ini exposure=0.5 ! videoconvert ! video/x-raw,format=GRAY8 ! rollingsum window-size=5000 column-index=320 threshold=0.3 ! queue ! autovideosink
|
||||
```
|
||||
|
||||
Use stride for faster processing (sample every 2 rows):
|
||||
```bash
|
||||
```powershell
|
||||
gst-launch-1.0 idsueyesrc config-file=ini/whole-presacler64_autoexp-binningx2.ini exposure=0.5 ! videoconvert ! video/x-raw,format=GRAY8 ! rollingsum window-size=1000 column-index=1 stride=2 threshold=0.5 ! queue ! autovideosink
|
||||
```
|
||||
|
||||
Lower threshold for more sensitive detection:
|
||||
```bash
|
||||
```powershell
|
||||
gst-launch-1.0 idsueyesrc config-file=ini/whole-presacler64_autoexp-binningx2.ini exposure=0.5 ! videoconvert ! video/x-raw,format=GRAY8 ! rollingsum threshold=0.2 ! queue ! autovideosink
|
||||
```
|
||||
|
||||
@@ -81,7 +81,7 @@ If you prefer to build manually:
|
||||
3. Install [IDS uEye SDK](https://www.ids-imaging.com) (default path: `C:\Program Files\IDS\uEye\Develop`)
|
||||
4. Run:
|
||||
|
||||
```bash
|
||||
```powershell
|
||||
git clone https://github.com/joshdoe/gst-plugins-vision.git
|
||||
cd gst-plugins-vision
|
||||
mkdir build
|
||||
@@ -101,7 +101,7 @@ The `build.ps1` script automatically copies plugins to `$env:GST_PLUGIN_PATH` if
|
||||
|
||||
### Verify Installation
|
||||
|
||||
```bash
|
||||
```powershell
|
||||
gst-inspect-1.0 idsueyesrc
|
||||
gst-inspect-1.0 rollingsum
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user