Giter Club home page Giter Club logo

Comments (3)

nogayama avatar nogayama commented on September 9, 2024

pip install opencv-python fixes this problem.

$ pip install opencv-python
Collecting opencv-python
  Using cached opencv_python-4.5.1.48-cp39-cp39-macosx_10_13_x86_64.whl (40.3 MB)
Collecting numpy>=1.19.3
  Downloading numpy-1.20.2-cp39-cp39-macosx_10_9_x86_64.whl (16.1 MB)
     |████████████████████████████████| 16.1 MB 2.7 MB/s 
Installing collected packages: numpy, opencv-python
Successfully installed numpy-1.20.2 opencv-python-4.5.1.48


mbp2019:vision-tools_nogayama nogayama1$ vision deployed-models infer /tmp/hoge.JPG  --modelid=e1a90034-7fa0-469a-b81e-9e7b6f6fc082
{
  "webAPIId": "e1a90034-7fa0-469a-b81e-9e7b6f6fc082",
  "imageUrl": "http://vision-ny-service:9080/vision-ny-api/uploads/temp/e1a90034-7fa0-469a-b81e-9e7b6f6fc082/cdee6576-fcc7-4b19-b4ef-17cc212081df.JPG",
  "imageMd5": "69afa2d1c283a303413d8a43fe945665",
  "classified": [
    {
      "confidence": 0.9999998807907104,
      "ymax": 2993,
      "label": "human",
      "xmax": 1494,
      "xmin": 634,
      "ymin": 472
    },
    {
      "confidence": 0.9999139308929443,
      "ymax": 1394,
      "label": "neck_strap",
      "xmax": 1127,
      "xmin": 898,
      "ymin": 901
    },
    {
      "confidence": 0.9999920129776001,
      "ymax": 1579,
      "label": "ID_card",
      "xmax": 1047,
      "xmin": 948,
      "ymin": 1390
    }
  ],
  "result": "success"
}

from vision-tools.

nogayama avatar nogayama commented on September 9, 2024

I have fixed this on a pull request #39

from vision-tools.

nogayama avatar nogayama commented on September 9, 2024

@bcarld Thanks!

from vision-tools.

Related Issues (2)

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.