Coder Social home page Coder Social logo

lamnguyenkhoa / container-code-recognition Goto Github PK

View Code? Open in Web Editor NEW
22.0 1.0 7.0 90.57 MB

Detect and extract containers code in a video.

Python 100.00%
computer-vision opencv-python pytesseract-ocr recognition yolov4 object-detection darknet truck pycharm deep-learning

container-code-recognition's Introduction

Hi there ๐Ÿ‘‹

container-code-recognition's People

Contributors

lamnguyenkhoa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

container-code-recognition's Issues

Module error when run

Hello lamnguyenkhoa,

Im getting error when run:

python single_frame_process.py -i images\container1.png -c yolov4.cfg -w yolov4.weights -cl yolov4.txt

Error:
code_region_detector/build_model(): loading YOLO from disk... Traceback (most recent call last): File "C:\Users\brgus\Downloads\container-code-recognition-main\single_frame_process.py", line 86, in <module> main(argument) File "C:\Users\brgus\Downloads\container-code-recognition-main\single_frame_process.py", line 73, in main net, classes, output_layers = build_model(args['classes'], args['weights'], args['config']) File "C:\Users\brgus\Downloads\container-code-recognition-main\src\code_region_detector.py", line 32, in build_model output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()] # Get the yolo layer File "C:\Users\brgus\Downloads\container-code-recognition-main\src\code_region_detector.py", line 32, in <listcomp> output_layers = [layer_names[i[0] - 1] for i in net.getUnconnectedOutLayers()] # Get the yolo layer IndexError: invalid index to scalar variable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.