1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-03-28 13:38:42 +00:00

1 Commits

Author SHA1 Message Date
George Psimenos
beee17f9ff Implemented visual state detection functionality for revent workloads
- Added statedetect.py in utils which is a standalone module that
    contains all the methods needed for state detection

  - Modified the setup() and run() methods of the GameWorkload class
    in common/android/workload.py to have a parameter that enables
    state checks and run the check after setup and run if requested.

  - Modified angrybirds workload to enable state detection for
    testing purposes

State detection uses the template matching method available in
OpenCV to determine the state of the workload by detecting
predefined unique elements on a screenshot from the device.
2016-07-21 15:36:17 +01:00