feat: rewrite project in C++ [closes #7] - #8
Draft
robotyaga-gigachain[bot] wants to merge 1 commit into
Draft
Conversation
Port the ZeroMQ video-analytics pipeline (cameras -> broker -> workers -> gui) from Python to C++17, preserving the architecture and wire protocol. Detection now runs YOLOv8 ONNX models through OpenCV's DNN module; PSNR and the meanframe tool are reimplemented with OpenCV. Builds with CMake. Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Rewrites the video-analytics project from Python to C++17 as requested in #7, keeping the same
cameras -> broker -> workers -> guiarchitecture and ZeroMQ wire protocol. Detection runs YOLOv8 ONNX models through OpenCV's DNN module (export.pt->.onnxonce with Ultralytics); PSNR and the meanframe tool are reimplemented with OpenCV. A singlevideoanalyticsbinary runs the full pipeline or any individual component. Built with CMake; verified to compile against OpenCV 4, libzmq/cppzmq and nlohmann/json.Release Note
The project is now a C++17 application built with CMake; YOLO models must be provided in ONNX format.
Test Plan
cmake .. && make -jbuilds thevideoanalyticsbinary./build/videoanalytics psnr <video>produces a_meanframe.jpgMade by Open SWE