Closed zzmicer closed 3 years ago
Hi @KastusKalinovski, Is it an Instant motion tracking solution you are referring above. Can you provide more details to understand this better. Thanks!
Hi @sgowroji, not exactly, it is more about Motion Analysis Calculator visualization, I want to visualize motion saliency bounding box(blue one on the following gif) I am referring to https://developers.googleblog.com/2019/12/object-detection-and-tracking-using-mediapipe.html
Hi, @mcclanahoochie, @hadon, Did you get a chance to go through my issue?
I believe you need to add a SALIENCY stream output to capture the results
@mcclanahoochie, actually, it was the first thing I've tried, the problem remains(nothing happens)
related: https://github.com/google/mediapipe/issues/1857
on second thought, the "SALIENCY" stream is only for custom visualization.
i tried modifying the box_tracking_cpu graph to test the visualization, based on what you have above.
setting these other two flags for motion analysis will unfreeze things
compute_motion_saliency:true
select_saliency_inliers:false
filter_saliency:false
but i think these settings are only if you output the VIZ
stream from the motion analysis calc (i didn't test this), and not needed for the box tracker (just the saliency output).
setting options
visualize_tracking_data: true
visualize_state: true
visualize_internal_state: true
in the box tracker calc, and adding both the input VIDEO
and output VIZ
streams, should enable the visualization (based on reading the calculator code), but i also didn't see any extra/debug trails. :/
I would try and see if you are getting these Render* functions correctly triggered https://github.com/google/mediapipe/blob/ecb5b5f44ab23ea620ef97a479407c699e424aa7/mediapipe/calculators/video/box_tracker_calculator.cc#L827
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
Hello, I'm trying to visualize motion saliency points using MotionAnalysisCalculator. When I set compute_motion_saliency:true, running process get stuck at first frame processing(LOG is attached). How can I fix this error or bug?
Graph config:
LOG: