绑定网站,江门网站制作案例,重新建网站需要转域名吗,太原最新建设在使用 OpenCvSharp 结合深度学习进行机器视觉开发时#xff0c;有许多现成的模型可以使用。以下是一些常用的深度学习模型#xff0c;适用于不同的机器视觉任务#xff0c;包括物体检测、图像分类和分割等。
使用示例
在 OpenCvSharp 中加载和使用这些模型的基本示例有许多现成的模型可以使用。以下是一些常用的深度学习模型适用于不同的机器视觉任务包括物体检测、图像分类和分割等。
使用示例
在 OpenCvSharp 中加载和使用这些模型的基本示例
using OpenCvSharp; using OpenCvSharp.Dnn;
// 加载模型 var net CvDnn.ReadNetFromDarknet(yolov4.cfg, yolov4.weights);
// 读取图像 var image Cv2.ImRead(image.jpg);
// 预处理图像 var blob CvDnn.BlobFromImage(image, 1 / 255.0, new Size(416, 416), new Scalar(0, 0, 0), true, false); net.SetInput(blob);
// 进行推理 var output net.Forward(); 每个模型都附有详细说明和下载地址。
1. HED (Holistically-Nested Edge Detection)
功能边缘检测模型文件 deploy.prototxt模型结构文件hed_pretrained_bsds.caffemodel预训练权重文件下载地址 HED GitHub Repository直接下载链接 deploy.prototxthed_pretrained_bsds.caffemodel
2. MobileNet SSD
功能物体检测模型文件 MobileNetSSD_deploy.prototxt模型结构文件MobileNetSSD_deploy.caffemodel预训练权重文件下载地址 MobileNet SSD GitHub直接下载链接 MobileNetSSD_deploy.prototxtMobileNetSSD_deploy.caffemodel
3. Faster R-CNN
功能物体检测模型文件 faster_rcnn_test.prototxt模型结构文件faster_rcnn_final.caffemodel预训练权重文件下载地址 Faster R-CNN Caffe Model直接下载链接 faster_rcnn_test.prototxtfaster_rcnn_final.caffemodel
4. U-Net
功能图像分割模型文件 unet.prototxt模型结构文件需要自己定义unet.caffemodel预训练权重文件需要自己训练或找到预训练模型下载地址 U-Net GitHub直接下载链接需要自行训练或查找 U-Net Caffe Model权重文件需要自行训练或查找。
5. OpenPose
功能姿态估计模型文件 pose_deploy.prototxt模型结构文件pose_iter_440000.caffemodel预训练权重文件下载地址 OpenPose GitHub直接下载链接 pose_deploy.prototxtpose_iter_440000.caffemodel
6. DNN Module in OpenCV (Pre-trained Models)
功能多种任务如物体检测、图像分类等模型文件 OpenCV DNN 模块支持多种预训练模型如 MobileNet、ResNet、SqueezeNet 等。下载地址 OpenCV DNN Model Zoo直接下载链接示例 MobileNet V2ResNet
7. SegNet
功能图像分割模型文件 deploy.prototxt模型结构文件segnet_weights.caffemodel预训练权重文件下载地址 SegNet GitHub直接下载链接 deploy.prototxtsegnet_weights.caffemodel
8. DeepLabV3
功能图像分割模型文件 deploy.prototxt模型结构文件deeplabv3.caffemodel预训练权重文件下载地址 DeepLab GitHub直接下载链接 deploy.prototxtdeeplabv3.caffemodel
9. SqueezeNet
功能图像分类模型文件 deploy.prototxt模型结构文件squeezenet_v1.1.caffemodel预训练权重文件下载地址 SqueezeNet GitHub直接下载链接 deploy.prototxtsqueezenet_v1.1.caffemodel
10. Inception v3
功能图像分类模型文件 deploy.prototxt模型结构文件inception_v3.caffemodel预训练权重文件下载地址 Inception GitHub直接下载链接 deploy.prototxtinception_v3.caffemodel
11. ResNet50
功能图像分类模型文件 ResNet-50-deploy.prototxt模型结构文件ResNet-50.caffemodel预训练权重文件下载地址 ResNet GitHub直接下载链接 ResNet-50-deploy.prototxtResNet-50.caffemodel
12. OpenVINO Models
功能多种任务如物体检测、图像分类等模型文件 OpenVINO 提供了多种预训练模型支持多种任务。下载地址 OpenVINO Model Zoo直接下载链接示例 OpenVINO Models
13. Face Detection (Caffe)
功能人脸检测模型文件 deploy.prototxt模型结构文件res10_300x300_ssd_iter_140000.caffemodel预训练权重文件下载地址 Face Detection GitHub直接下载链接 deploy.prototxtres10_300x300_ssd_iter_140000.caffemodel
14. OpenCV DNN Pre-trained Models
功能多种任务如物体检测、图像分类等模型文件 OpenCV DNN 模块支持多种预训练模型如 YOLO、MobileNet、ResNet 等。下载地址 OpenCV DNN Model Zoo直接下载链接示例 YOLOv3YOLOv3.weights
15. DenseNet
功能图像分类模型文件 densenet.prototxt模型结构文件densenet.caffemodel预训练权重文件下载地址 DenseNet GitHub直接下载链接 densenet.prototxt权重文件需要自行训练或查找。
16. FCN (Fully Convolutional Networks)
功能图像分割模型文件 fcn8s-deploy.prototxt模型结构文件fcn8s-heavy-pascal.caffemodel预训练权重文件下载地址 FCN GitHub直接下载链接 fcn8s-deploy.prototxtfcn8s-heavy-pascal.caffemodel
17. Mask R-CNN
功能实例分割模型文件 mask_rcnn_inception_v2_coco_2017_11_08.pbtxt模型结构文件frozen_inference_graph.pb预训练权重文件下载地址 Mask R-CNN GitHub直接下载链接 mask_rcnn_inception_v2_coco_2017_11_08.pbtxtfrozen_inference_graph.pb
18. RetinaNet
功能物体检测模型文件 retinanet50_coco.h5预训练权重文件Keras 格式下载地址 RetinaNet GitHub直接下载链接 retinanet50_coco.h5
19. EfficientNet
功能图像分类模型文件 efficientnet-b0.pb预训练权重文件下载地址 EfficientNet GitHub直接下载链接 efficientnet-b0.pb
20. OpenVINO Face Detection
功能人脸检测模型文件 face-detection-adas-0001.xml模型结构文件face-detection-adas-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 face-detection-adas-0001.xmlface-detection-adas-0001.bin
21. YOLOv4-tiny
功能物体检测模型文件 yolov4-tiny.cfg模型结构文件yolov4-tiny.weights预训练权重文件下载地址 YOLOv4 GitHub直接下载链接 yolov4-tiny.cfgyolov4-tiny.weights
22. OpenPose Hand Model
功能手部姿态估计模型文件 hand/pose_deploy.prototxt模型结构文件hand/pose_iter_102000.caffemodel预训练权重文件下载地址 OpenPose GitHub直接下载链接 pose_deploy.prototxtpose_iter_102000.caffemodel
23. DPT (Dense Prediction Transformer)
功能深度估计模型文件 dpt_hybrid-midas-501f0c75.pt预训练权重文件下载地址 DPT GitHub直接下载链接 dpt_hybrid-midas-501f0c75.pt
24. OpenVINO Object Detection
功能物体检测模型文件 object-detection-ssd.xml模型结构文件object-detection-ssd.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 object-detection-ssd.xmlobject-detection-ssd.bin
25. Style Transfer Models
功能风格迁移模型文件 style_transfer.prototxt模型结构文件style_transfer.caffemodel预训练权重文件下载地址 Style Transfer GitHub直接下载链接 style_transfer.prototxt权重文件需要自行训练或查找。
26. PeleeNet
功能图像分类模型文件 pelee.prototxt模型结构文件pelee.caffemodel预训练权重文件下载地址 PeleeNet GitHub直接下载链接 pelee.prototxtpelee.caffemodel
27. DenseNet121
功能图像分类模型文件 densenet121.prototxt模型结构文件densenet121.caffemodel预训练权重文件下载地址 DenseNet GitHub直接下载链接 densenet121.prototxtdensenet121.caffemodel
28. OpenVINO Person Detection
功能人检测模型文件 person-detection-retail-0013.xml模型结构文件person-detection-retail-0013.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 person-detection-retail-0013.xmlperson-detection-retail-0013.bin
29. OpenVINO Vehicle Detection
功能车辆检测模型文件 vehicle-detection-adas-0002.xml模型结构文件vehicle-detection-adas-0002.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 vehicle-detection-adas-0002.xmlvehicle-detection-adas-0002.bin
30. OpenVINO Action Recognition
功能动作识别模型文件 action-recognition-0001.xml模型结构文件action-recognition-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 action-recognition-0001.xmlaction-recognition-0001.bin
31. OpenVINO Text Detection
功能文本检测模型文件 text-detection-0001.xml模型结构文件text-detection-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 text-detection-0001.xmltext-detection-0001.bin
32. OpenVINO Semantic Segmentation
功能语义分割模型文件 semantic-segmentation-adas-0001.xml模型结构文件semantic-segmentation-adas-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 semantic-segmentation-adas-0001.xmlsemantic-segmentation-adas-0001.bin
33. OpenVINO Image Classification
功能图像分类模型文件 image-classification-resnet-50.xml模型结构文件image-classification-resnet-50.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 image-classification-resnet-50.xmlimage-classification-resnet-50.bin
34. OpenVINO Hand Detection
功能手部检测模型文件 hand-detection-adas-0001.xml模型结构文件hand-detection-adas-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 hand-detection-adas-0001.xmlhand-detection-adas-0001.bin
35. OpenVINO Age Gender Recognition
功能年龄和性别识别模型文件 age-gender-recognition-retail-0013.xml模型结构文件age-gender-recognition-retail-0013.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 age-gender-recognition-retail-0013.xmlage-gender-recognition-retail-0013.bin
36. OpenVINO Emotion Recognition
功能情感识别模型文件 emotion-recognition-retail-0003.xml模型结构文件emotion-recognition-retail-0003.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 emotion-recognition-retail-0003.xmlemotion-recognition-retail-0003.bin
37. OpenVINO Speech Recognition
功能语音识别模型文件 speech-recognition-0001.xml模型结构文件speech-recognition-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 speech-recognition-0001.xmlspeech-recognition-0001.bin
38. OpenVINO Text Recognition
功能文本识别模型文件 text-recognition-0001.xml模型结构文件text-recognition-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 text-recognition-0001.xmltext-recognition-0001.bin
39. OpenVINO Object Tracking
功能物体跟踪模型文件 object-tracking-0001.xml模型结构文件object-tracking-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 object-tracking-0001.xmlobject-tracking-0001.bin
40. OpenVINO Gesture Recognition
功能手势识别模型文件 gesture-recognition-0001.xml模型结构文件gesture-recognition-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 gesture-recognition-0001.xmlgesture-recognition-0001.bin
41. OpenVINO Face Recognition
功能人脸识别模型文件 face-recognition-retail-0005.xml模型结构文件face-recognition-retail-0005.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 face-recognition-retail-0005.xmlface-recognition-retail-0005.bin
42. OpenVINO Object Detection with YOLOv3
功能物体检测模型文件 yolov3.xml模型结构文件yolov3.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 yolov3.xmlyolov3.bin
43. OpenVINO Super Resolution
功能图像超分辨率模型文件 super-resolution-0001.xml模型结构文件super-resolution-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 super-resolution-0001.xmlsuper-resolution-0001.bin
44. OpenVINO Image Segmentation
功能图像分割模型文件 image-segmentation-adas-0001.xml模型结构文件image-segmentation-adas-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 image-segmentation-adas-0001.xmlimage-segmentation-adas-0001.bin
45. OpenVINO Semantic Segmentation with DeepLab
功能语义分割模型文件 deeplabv3.xml模型结构文件deeplabv3.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 deeplabv3.xmldeeplabv3.bin
46. OpenVINO Pose Estimation
功能姿态估计模型文件 pose-estimation-0001.xml模型结构文件pose-estimation-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 pose-estimation-0001.xmlpose-estimation-0001.bin
47. OpenVINO Hand Gesture Recognition
功能手势识别模型文件 hand-gesture-recognition-0001.xml模型结构文件hand-gesture-recognition-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 hand-gesture-recognition-0001.xmlhand-gesture-recognition-0001.bin
48. OpenVINO Speech Emotion Recognition
功能语音情感识别模型文件 speech-emotion-recognition-0001.xml模型结构文件speech-emotion-recognition-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 speech-emotion-recognition-0001.xmlspeech-emotion-recognition-0001.bin
49. OpenVINO Image Captioning
功能图像描述生成模型文件 image-captioning-0001.xml模型结构文件image-captioning-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 image-captioning-0001.xmlimage-captioning-0001.bin
50. OpenVINO Video Action Recognition
功能视频动作识别模型文件 video-action-recognition-0001.xml模型结构文件video-action-recognition-0001.bin预训练权重文件下载地址 OpenVINO Model Zoo直接下载链接 video-action-recognition-0001.xmlvideo-action-recognition-0001.bin 总结
以上是一些适合机器视觉任务的现成深度学习模型及其下载地址。根据你的具体需求如物体检测、图像分类或分割可以选择合适的模型进行开发。