detectParking icon indicating copy to clipboard operation
detectParking copied to clipboard

Python: Operand broadcast between laplacian and parking_mask arrays

Open dtumacder1 opened this issue 7 years ago • 1 comments

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?

dtumacder1 avatar Nov 09 '17 14:11 dtumacder1

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?

dtumacder1 avatar Nov 09 '17 18:11 dtumacder1