detectParking
detectParking copied to clipboard
Python: Operand broadcast between laplacian and parking_mask arrays
Greetings,
We are currently looking at your code to use the python prototype for a parking detection script. We are running into an issue where numpy is running into a broadcast error. The laplacian array has a (34, 51) shape and the parking_mask has a (35, 51) shape. Both pull from the same array that is generated by the park[points] data. But they result in two different shapes. Can you give us any help with this?
Discovered through debugging each array shape and line, that the roi is calculated differently for each array. Is there someway to calculate both of them differently so they produce the same shape while providing the intended functionality of each?