Friday, 18 March 2016

Summary of March 2nd – Problem: some of the red paper can’t be detected

Logbook noting:

3.2
There appear a problem when I keep on going to get pixel width of red blocks. Sometimes the App tells me there is no red colour in a picture even if I take a picture of a red paper. Or only a few red points are detected of a red paper. Just like this:
2016-03-01 22:33:42.090 watchahead[9093:3083668] There are 40 red colour points.
2016-03-01 22:33:51.591 watchahead[9093:3083668] Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
2016-03-01 22:33:51.598 watchahead[9093:3083668] Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
2016-03-01 22:33:58.669 watchahead[9093:3083668] the position of this red point is ( 5, 4)
2016-03-01 22:33:58.670 watchahead[9093:3083668] the position of this red point is ( 5, 5)
2016-03-01 22:33:58.671 watchahead[9093:3083668] the position of this red point is ( 5, 6)
2016-03-01 22:33:58.677 watchahead[9093:3083668] 
(
        63,
        76,
        44,
        255
    ),
        (
        61,
        62,
        55,
        255
  ),


The result of detecting red points in this picture is 3 which is definitely wrong. I tried several times and get similar answer. But if I change the angle of taking photo, the results go well. So I think it might be the reflection of white light who made those mistakes.


No comments:

Post a Comment