Skip to content

darknet crop layer missing implementation #22747

@ne555

Description

@ne555

System Information

OpenCV python version: 4.6.0
Python version: 3.10.8
Operating System / Platform: Archlinux 6.0.2-arch1-1

Detailed description

Can't create the Vgg-16 net from DarkNet

Error: Unknown layer type: crop in function 'ReadDarknetFromCfgStream'

Steps to reproduce

cv2.dnn.readNetFromDarknet('vgg-16.cfg', '') # model is not needed to reproduce the issue

vgg-16.cfg

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions