'list' object has n...
 
Notifications
Clear all

'list' object has no attribute 'point_within_zone'

6 Posts
2 Users
1 Likes
349 Views
Posts: 7
Member
Topic starter
(@markv)
Active Member
Joined: 6 months ago

Just a correction regarding my above code. The resolution and zones should have been declared on the zone_count_node not on the zones_draw_node. Like this

 

    zone_count_node = zone_count.Node(
        resolution=[1280, 720],
        zones=[
            [[0, 0], [0.2, 0], [0.2, 1], [0, 1]],
            [[0.8, 0], [1, 0], [1, 1], [0.8, 1]],
        ],
    )
    zones_draw_node = zones.Node()
Reply
Page 2 / 2
Share: