{"id":17222941,"url":"https://github.com/cheind/image-babble","last_synced_at":"2025-07-28T13:32:57.574Z","repository":{"id":28815716,"uuid":"32338981","full_name":"cheind/image-babble","owner":"cheind","description":"ImageBabble is a lightweight C++ library to send and receive images","archived":false,"fork":false,"pushed_at":"2015-03-16T16:50:06.000Z","size":396,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-16T04:06:47.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cheind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-16T16:44:46.000Z","updated_at":"2024-07-26T18:49:55.000Z","dependencies_parsed_at":"2022-09-05T02:21:52.553Z","dependency_job_id":null,"html_url":"https://github.com/cheind/image-babble","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheind%2Fimage-babble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheind%2Fimage-babble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheind%2Fimage-babble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheind%2Fimage-babble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cheind","download_url":"https://codeload.github.com/cheind/image-babble/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227915879,"owners_count":17839498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T04:06:45.756Z","updated_at":"2024-12-03T12:22:35.966Z","avatar_url":"https://github.com/cheind.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"ImageBabble is a lightweight C++ library to send and receive images via networks. It provides implementations of fast and reliable communication protocols.\n\nThe minimum example below shows the essence of an image streaming server. It uses OpenCV for image and device handling. ImageBabble itself does not dependent on OpenCV, but its design allows smooth interaction between libraries.\n\n```\n// Image streaming server\n\nnamespace ib = ::imagebabble;\n\nib::fast_server\u003c ib::image \u003e is;\nis.startup(\"tcp://*:6000\");\n\ncv::VideoCapture vc(0);\ncv::Mat cv_img;\n\nwhile (vc.grab() \u0026\u0026 vc.retrieve(cv_img)) \n{\n  ib::image ib_img;\n  ib::cvt_image(cv_img, ib_img, ib::copy_mem());\n\n  is.publish(ib_img);\n}\n```\n\nThe following snippet shows the client implementation\n\n```\n// Image streaming client\n\nnamespace ib = ::imagebabble;\n\nib::fast_client\u003c ib::image \u003e ic;\nic.startup(\"tcp://127.0.0.1:6000\");\n\nib::image ib_image;\nwhile (ic.receive(ib_image, 5000)) {\n\n  cv::Mat cv_img;\n  ib::cvt_image(ib_image, cv_img, ib::copy_mem());\n\n  cv::imshow(\"image\", cv_img);\n  cv::waitKey(1);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheind%2Fimage-babble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheind%2Fimage-babble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheind%2Fimage-babble/lists"}