Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "indexes": [
- {
- "displayName": "Screen Diff Block",
- "indexer": [
- {
- "action": "indexHSV",
- "options": {
- "tolerance": 0.05
- }
- },
- {
- "action": "sharpen",
- "options": {
- "sharpness": 4.0
- }
- },
- {
- "action": "crop",
- "options": {
- "color": "$block.colors",
- "x1": "$block.bounding_box.x1",
- "x2": "$block.bounding_box.x2",
- "y1": "$block.bounding_box.y1",
- "y2": "$block.bounding_box.y2"
- }
- },
- {
- "action": "createIndex",
- "options": {}
- }
- ],
- "name": "diff_block",
- "ocr": [
- {
- "action": "indexHSV",
- "options": {
- "tolerance": 0.05
- }
- },
- {
- "action": "sharpen",
- "options": {
- "sharpness": 4.0
- }
- },
- {
- "action": "findShortlistByIndex"
- },
- {
- "action": "expandShortlist"
- },
- {
- "action": "crop",
- "options": {
- "color": "$block.colors",
- "x1": "$block.bounding_box.x1",
- "x2": "$block.bounding_box.x2",
- "y1": "$block.bounding_box.y1",
- "y2": "$block.bounding_box.y2"
- }
- },
- {
- "action": "diffImage",
- "options": {
- "image": "$block.index_image"
- }
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement