Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. {
  2. "indexes": [
  3. {
  4. "displayName": "Screen Diff Block",
  5. "indexer": [
  6. {
  7. "action": "indexHSV",
  8. "options": {
  9. "tolerance": 0.05
  10. }
  11. },
  12. {
  13. "action": "sharpen",
  14. "options": {
  15. "sharpness": 4.0
  16. }
  17. },
  18. {
  19. "action": "crop",
  20. "options": {
  21. "color": "$block.colors",
  22. "x1": "$block.bounding_box.x1",
  23. "x2": "$block.bounding_box.x2",
  24. "y1": "$block.bounding_box.y1",
  25. "y2": "$block.bounding_box.y2"
  26. }
  27. },
  28. {
  29. "action": "createIndex",
  30. "options": {}
  31. }
  32. ],
  33. "name": "diff_block",
  34. "ocr": [
  35. {
  36. "action": "indexHSV",
  37. "options": {
  38. "tolerance": 0.05
  39. }
  40. },
  41. {
  42. "action": "sharpen",
  43. "options": {
  44. "sharpness": 4.0
  45. }
  46. },
  47. {
  48. "action": "findShortlistByIndex"
  49. },
  50. {
  51. "action": "expandShortlist"
  52. },
  53. {
  54. "action": "crop",
  55. "options": {
  56. "color": "$block.colors",
  57. "x1": "$block.bounding_box.x1",
  58. "x2": "$block.bounding_box.x2",
  59. "y1": "$block.bounding_box.y1",
  60. "y2": "$block.bounding_box.y2"
  61. }
  62. },
  63. {
  64. "action": "diffImage",
  65. "options": {
  66. "image": "$block.index_image"
  67. }
  68. }
  69. ]
  70. }
  71. ]
  72. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement