Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point tracking, exe execution bug! #429

Open
weihongwei-zg opened this issue Sep 18, 2023 · 2 comments
Open

Point tracking, exe execution bug! #429

weihongwei-zg opened this issue Sep 18, 2023 · 2 comments
Assignees
Labels

Comments

@weihongwei-zg
Copy link

root@4a48baf3e279:/home/radar_calibration_track/track_cpp/Multitarget-tracker/build# ./MultitargetTracker -e=0 -o=res_mouse.mp4

Examples of the Multitarget tracking algorithm
Usage:
./MultitargetTracker [--example]=<number of example 0..7> [--start_frame]= [--end_frame]= [--end_delay]= [--out]= [--show_logs]= [--async]= [--res]= [--settings]= [--batch_size=]

Press:
'm' key for change mode: play|pause. When video is paused you can press any key for get next frame.

Press Esc to exit from video

Usage: MultitargetTracker [params] 1

    -a, --async (value:1)
            Use 2 theads for processing pipeline
    --batch_size, --bs (value:1)
            Batch size - frames count for processing
    --cvat_res
            Path to the xml file in cvat format with tracking result
    -e, --example (value:0)
            number of example 0 - MouseTracking, 1 - MotionDetector, 2 - FaceDetector, 3 - PedestrianDetector, 4 - OpenCV dnn objects detector, 5 - YOLO Darknet detector, 6 - YOLO TensorRT Detector, 7 - Cars counting
    --ed, --end_delay (value:0)
            Delay in milliseconds after video ending
    --ef, --end_frame (value:0)
            Play a video to this position (if 0 then played to the end of file)
    -g, --gpu (value:0)
            Use OpenCL acceleration
    --geo_bind (value:geo_bind.ini)
            For CarsCounting: ini file with geographical binding
    --heat_map, --hm (value:0)
            For CarsCounting: Draw heat map
    --log_res, -r
            Path to the csv file with tracking result
    -o, --out (value:res_mouse.mp4)
            Name of result video file
    -s, --settings
            Path to the ini file with tracking settings
    --sf, --start_frame (value:0)
            Start a video from this position
    --show_logs, --sl (value:1)
            Show Trackers logs
    --wf, --write_n_frame (value:1)
            Write logs on each N frame: 1 for writing each frame

    1 (value:../data/atrium.avi)
            movie file

OpenCL not used
OpenCV: FFMPEG: tag 0x314d4950/'PIM1' is not supported with codec id 1 and format 'mp4 / MP4 (MPEG-4 Part 14)'
OpenCV: FFMPEG: fallback to use tag 0x7634706d/'mp4v'
4
MultitargetTracker: /home/radar_calibration_track/track_cpp/Multitarget-tracker/src/Tracker/Ctracker.cpp:574: void CTracker::CreateDistaceMatrix(const regions_t&, const std::vector&, distMatrix_t&, track_t, track_t&): Assertion `0' failed.
Aborted

@weihongwei-zg
Copy link
Author

May I ask how to solve it?

@Nuzhny007 Nuzhny007 self-assigned this Oct 6, 2023
@Nuzhny007 Nuzhny007 added the bug label Oct 6, 2023
@Nuzhny007
Copy link
Collaborator

Sorry for the long answer, fixed: #431

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants