Description of changes: changed DETECTION class in darknet_custom.py to match the the new structure as per https://github.com/AlexeyAB/darknet/blob/master/darknet.py#L56-L68. Old DETECTION class was causing segfaults on PersonDetector.detect(), leading to the failure of distance_assistant_node.py.
To reproduce, make sure you clone AlexeyAB/darknet again as per instructions in the README and rebuild libdarknet.so; rebuilding the container from scratch (--no-cache) should have the same effect.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #4
Description of changes: changed DETECTION class in darknet_custom.py to match the the new structure as per https://github.com/AlexeyAB/darknet/blob/master/darknet.py#L56-L68. Old DETECTION class was causing segfaults on
PersonDetector.detect()
, leading to the failure ofdistance_assistant_node.py
.To reproduce, make sure you clone
AlexeyAB/darknet
again as per instructions in the README and rebuildlibdarknet.so
; rebuilding the container from scratch (--no-cache) should have the same effect.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.