<< return to Pixycam.com

User Tools

Site Tools


wiki:v1:pixy_lego_block

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:v1:pixy_lego_block [2018/06/29 20:54]
pixycam [Parameters]
wiki:v1:pixy_lego_block [2018/06/29 20:56] (current)
pixycam [Parameters]
Line 61: Line 61:
 ===== Parameters ===== ===== Parameters =====
  
-  ​**Signature**:​ selects the signature or [[wiki:​v1:​Using_Color_Codes|color code]] you'd like Pixy to search for. +  ​1. **Signature**:​ selects the signature or [[wiki:​v1:​Using_Color_Codes|color code]] you'd like Pixy to search for. 
-  ​**Compare Type**: selects the comare operation you would like to use. +  ​2. **Compare Type**: selects the comare operation you would like to use. 
-  ​**Threshold Value**: the value you wish to compare against the number of detected objects that match the specified signature. +  ​3. **Threshold Value**: the value you wish to compare against the number of detected objects that match the specified signature. 
-  ​**Compare Result**: outputs the result of the compare operation. +  ​4. **Compare Result**: outputs the result of the compare operation. 
-  ​**Number of Blocks**: outputs the number of detected objects that match the specified signature.+  ​5. **Number of Blocks**: outputs the number of detected objects that match the specified signature.
  
 Compare Signature mode compares the number of detected objects to the Threshold Value (3) using the selected Compare Type (2). The True/False result is output in Compare Result (4), and the number of signatures is output in Number of Blocks (5) output. Compare Signature mode compares the number of detected objects to the Threshold Value (3) using the selected Compare Type (2). The True/False result is output in Compare Result (4), and the number of signatures is output in Number of Blocks (5) output.
Line 88: Line 88:
 ===== Parameters ===== ===== Parameters =====
  
-  ​**Signature**:​ selects the signature or [[wiki:​v1:​Using_Color_Codes|color code]] you'd like Pixy to search for. +  ​1. **Signature**:​ selects the signature or [[wiki:​v1:​Using_Color_Codes|color code]] you'd like Pixy to search for. 
-  ​**Compare Type**: selects the compare operation you would like to use. +  ​2. **Compare Type**: selects the compare operation you would like to use. 
-  ​**Threshold Value**: the value you wish to compare against the number of detected objects that match the specified signature. +  ​3. **Threshold Value**: the value you wish to compare against the number of detected objects that match the specified signature. 
-  ​**Number of Blocks**: outputs the number of detected objects that match the specified signature.+  ​4. **Number of Blocks**: outputs the number of detected objects that match the specified signature.
  
 The Wait Signature Compare block compares the number of detected objects to the Threshold Value (3) using the selected Compare Type (2). If the result is false, the program will be paused. If the result is true, the program will resume execution, and the number of detected objects is output in Number of Blocks (4). The Wait Signature Compare block compares the number of detected objects to the Threshold Value (3) using the selected Compare Type (2). If the result is false, the program will be paused. If the result is true, the program will resume execution, and the number of detected objects is output in Number of Blocks (4).
Line 109: Line 109:
 ===== Parameters ===== ===== Parameters =====
  
-  ​**Signature**:​ selects the signature or color code you'd like Pixy to search for. +  ​1. **Signature**:​ selects the signature or color code you'd like Pixy to search for. 
-  ​**Amount**: selects the amount of change in the number of objects detected. +  ​2. **Amount**: selects the amount of change in the number of objects detected. 
-  ​**Number of Blocks**: outputs the number of detected objects that match the specified signature.+  ​3. **Number of Blocks**: outputs the number of detected objects that match the specified signature.
  
 The Wait Change Signature block waits for a change in the number of specified objects detected by Pixy. If the number of objects that match the signature specified in the Signature input (1) changes by the number indicated in the Amount (2) input, the block returns, and the number of detected objects is output in Number of Blocks (3). The Wait Change Signature block waits for a change in the number of specified objects detected by Pixy. If the number of objects that match the signature specified in the Signature input (1) changes by the number indicated in the Amount (2) input, the block returns, and the number of detected objects is output in Number of Blocks (3).
Line 129: Line 129:
 ===== Parameters ===== ===== Parameters =====
  
-  ​**Signature**:​ selects the signature or color code you'd like Pixy to search for. +  ​1. **Signature**:​ selects the signature or color code you'd like Pixy to search for. 
-  ​**Compare Type**: selects the compare operation you would like to use. +  ​2. **Compare Type**: selects the compare operation you would like to use. 
-  ​**Threshold Value**: the value you wish to compare against the number of detected objects that match the specified signature.+  ​3. **Threshold Value**: the value you wish to compare against the number of detected objects that match the specified signature.
  
 The Loop Pixy Compare block compares the number of detected objects to the Threshold Value (3) using the selected Compare Type (2). If the result is false, the loop will be continue looping. If the result is true, the loop will exit. The Loop Pixy Compare block compares the number of detected objects to the Threshold Value (3) using the selected Compare Type (2). If the result is false, the loop will be continue looping. If the result is true, the loop will exit.
Line 149: Line 149:
 ===== Parameters ===== ===== Parameters =====
  
-  ​**Signature**:​ selects the signature or color code you'd like Pixy to search for. +  ​1. **Signature**:​ selects the signature or color code you'd like Pixy to search for. 
-  ​**Compare Type**: selects the compare operation you would like to use. +  ​2. **Compare Type**: selects the compare operation you would like to use. 
-  ​**Threshold Value**: the value you wish to compare against the number of detected objects that match the specified signature.+  ​3. **Threshold Value**: the value you wish to compare against the number of detected objects that match the specified signature.
  
 The Switch Pixy Compare block compares the number of detected objects to the Threshold Value (3) using the selected Compare Type (2). If the result is false, the false case is executed. If the result is true, the true case is executed. The Switch Pixy Compare block compares the number of detected objects to the Threshold Value (3) using the selected Compare Type (2). If the result is false, the false case is executed. If the result is true, the true case is executed.
wiki/v1/pixy_lego_block.1530305662.txt.gz · Last modified: 2018/06/29 20:54 by pixycam