轻量级Mat和imread()/ imwrite()/ imshow()-C/C++开发

上传者: 42165980 | 上传时间: 2022-09-25 17:48:51 | 文件大小: 37.63MB | 文件类型: ZIP
轻量级Mat和imread()/ imwrite()/ imshow()SmallCV轻量级Mat和imread()/ imwrite()/ imshow()。 基本用法:#include #include“ smallcv.hpp” int main(){std :: string image_path =“ mingren.jpg”; sv :: Mat image = sv :: imread(image_path); sv :: rgb_bgr_swap_inplace(image); sv :: imwrite(“ mingren_swap.jpg”,image); sv :: imshow(“ mingren”,image); sv :: waitKey(0); sv :: imwrite(“ mingren_swap.bmp”,图片); 返回0; }示例屏幕截图:

文件下载

资源详情

[{"title":"( 43 个子文件 37.63MB ) 轻量级Mat和imread()/ imwrite()/ imshow()-C/C++开发","children":[{"title":"smallcv-master","children":[{"title":"CMakeLists.txt <span style='color:#111;'> 5.45KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"example.cpp <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":"ncnn","children":[{"title":"shufflenetv2.cpp <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"simplepose.cpp <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"squeezenet_c_api.cpp <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"squeezenet.cpp <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"deps","children":[{"title":"imshow","children":[{"title":"KHR","children":[{"title":"khrplatform.h <span style='color:#111;'> 9.79KB </span>","children":null,"spread":false}],"spread":true},{"title":"glad","children":[{"title":"glad.c <span style='color:#111;'> 83.36KB </span>","children":null,"spread":false},{"title":"glad.h <span style='color:#111;'> 170.85KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"stb","children":[{"title":"stb_image.h <span style='color:#111;'> 266.75KB </span>","children":null,"spread":false},{"title":"stb_image_write.h <span style='color:#111;'> 67.93KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"assets","children":[{"title":"shufflenet_v2_x0.5-opt.param <span style='color:#111;'> 16.28KB </span>","children":null,"spread":false},{"title":"squeezenet_v1.1.prototxt <span style='color:#111;'> 9.17KB </span>","children":null,"spread":false},{"title":"000017.jpg <span style='color:#111;'> 93.41KB </span>","children":null,"spread":false},{"title":"squeezenet_v1.1.param.bin <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"squeezenet_v1.1.param <span style='color:#111;'> 8.67KB </span>","children":null,"spread":false},{"title":"ncnn_simplepose_result.png <span style='color:#111;'> 506.44KB </span>","children":null,"spread":false},{"title":"shufflenet_v2_x0.5-opt.bin <span style='color:#111;'> 5.20MB </span>","children":null,"spread":false},{"title":"squeezenet_v1.1.bin <span style='color:#111;'> 4.71MB </span>","children":null,"spread":false},{"title":"pose.bin <span style='color:#111;'> 29.33MB </span>","children":null,"spread":false},{"title":"pose.param <span style='color:#111;'> 7.29KB </span>","children":null,"spread":false},{"title":"mingren.jpg <span style='color:#111;'> 21.98KB </span>","children":null,"spread":false},{"title":"000017.bmp <span style='color:#111;'> 511.93KB </span>","children":null,"spread":false}],"spread":false},{"title":"build","children":[{"title":"vs2019-x64.cmd <span style='color:#111;'> 178B </span>","children":null,"spread":false},{"title":"linux-x64.cache.cmake <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"vs2019-x64.cache.cmake <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"linux-x64.sh <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"Xcode.sh <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"Xcode.cache.cmake <span style='color:#111;'> 190B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 589B </span>","children":null,"spread":false},{"title":"smallcv","children":[{"title":"imdraw.hpp <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":"imshow.hpp <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"improc_private.cpp <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"mat.hpp <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false},{"title":"smallcv.cpp <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"imshow.cpp <span style='color:#111;'> 9.29KB </span>","children":null,"spread":false},{"title":"smallcv.hpp <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"fc_log.h <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"fc_log.c <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"improc_private.hpp <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":"imdraw.cpp <span style='color:#111;'> 7.69KB </span>","children":null,"spread":false}],"spread":false},{"title":".editorconfig <span style='color:#111;'> 461B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 162B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明