assets.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. from module.atom.image import RuleImage
  2. from module.atom.click import RuleClick
  3. from module.atom.long_click import RuleLongClick
  4. from module.atom.swipe import RuleSwipe
  5. # This file was automatically generated by module/dev_tools/assets_extract.py.
  6. # Don't modify it manually.
  7. class Assets:
  8. # Image Rule Assets
  9. # description
  10. I_NEW1 = RuleImage(roi_front=(157,240,70,79), roi_back=(41,185,279,207), threshold=0.8, method="Template matching", file="./tasks/CoinChallenge/res/res_new1.png")
  11. # description
  12. I_NEW2 = RuleImage(roi_front=(362,243,100,100), roi_back=(803,101,100,100), threshold=0.8, method="Template matching", file="./tasks/CoinChallenge/res/res_new2.png")
  13. # desc55
  14. I_NEW3 = RuleImage(roi_front=(568,212,240,220), roi_back=(0,0,100,100), threshold=0.9, method="Template matching", file="./tasks/CoinChallenge/res/res_new3.png")
  15. # Click Rule Assets
  16. # description
  17. C_NEW1 = RuleClick(roi_front=(268,268,100,100), roi_back=(614,214,100,100))
  18. # description
  19. C_NEW2 = RuleClick(roi_front=(171,236,100,100), roi_back=(554,225,100,100))
  20. # desc444n
  21. C_NEW3 = RuleClick(roi_front=(180,150,100,100), roi_back=(596,247,100,100))
  22. # Long Click Rule Assets
  23. # description
  24. L_NEW1 = RuleLongClick(roi_front=(208,151,100,100), roi_back=(542,279,100,100), duration=1500)
  25. # description
  26. L_NEW2 = RuleLongClick(roi_front=(355,191,100,100), roi_back=(526,323,100,100), duration=1500)
  27. # de66666n
  28. L_NEW3 = RuleLongClick(roi_front=(112,156,100,100), roi_back=(469,200,100,100), duration=1000)
  29. # Swipe Rule Assets
  30. # description
  31. S_NEW1 = RuleSwipe(roi_front=(253,212,100,100), roi_back=(652,292,100,100), mode="default")
  32. # description
  33. S_NEW2 = RuleSwipe(roi_front=(265,272,100,100), roi_back=(622,338,100,100), mode="default")
  34. # description
  35. S_NEW3 = RuleSwipe(roi_front=(198,160,100,100), roi_back=(626,305,100,100), mode="default")
  36. # description
  37. S_NEW4 = RuleSwipe(roi_front=(150,145,100,100), roi_back=(535,199,100,100), mode="vector")