dvd_generation/filters/spatial_constraint_filters.py [304:322]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    for i, params in constraint['params']:
        i = state['input_map'].get(i, None)
        if i is not None:
            output = outputs[i]
            # if object are referred objects, exclude from this constraint 
            if output == template['prior_unique_obj']:
                continue
            if output == template['earlier_unique_obj']:
                #pdb.set_trace()
                # TODO
                continue
            curr_identifier = get_identifier(params, state, param_name_to_type)
            # In case of 2 identical objects in video
            if identifiers[output] is None:
                continue
            # if current identifier can identify unique object, skip
            if curr_identifier in identifiers[output]: 
                return True 
    return False  
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



dvd_generation/filters/temporal_constraint_filters.py [103:121]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    for i, params in constraint['params']:
        i = state['input_map'].get(i, None)
        if i is not None:
            output = outputs[i]
            # if object are referred objects, exclude from this constraint 
            if output == template['prior_unique_obj']:
                continue
            if output == template['earlier_unique_obj']:
                #pdb.set_trace()
                #TODO
                continue
            curr_identifier = get_identifier(params, state, param_name_to_type)
            # In case of 2 identical objects in video
            if identifiers[output] is None:
                continue
            # if current identifier can identify unique object, skip
            if curr_identifier in identifiers[output]: 
                return True 
    return False 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



