Code Monkey home page Code Monkey logo

Comments (3)

AlejandroDiazD avatar AlejandroDiazD commented on July 17, 2024

Update: I almost solved the issue (@Corallo ).

The problem was related to the image rotation of the camera. To solve it I changed the rotation from the web interface in /video/installation.

Now the only problem is the color representation, we can see how the blue parts of the image are seen as brown.

The original image:

imagen

The obtained image:

train_mod_results_0

Do you know how can I solve it?

Thanks!

from acap-computer-vision-sdk-examples.

Corallo avatar Corallo commented on July 17, 2024

Hi @AlejandroDiazD

Good that you solved the issue by yourself, I guess if you want to keep the image flipped, you can try to flip also the resolution (960x1280). I am keeping this issue open until we document this behavior.

Regarding the color problem, I think it is just that cv2 expects the color format in bgr when you save the image, while your frame is in rgb.
try
bgr_img = cv2.cvtColor(frame, cv2.COLOR_RGB2BGR)

from acap-computer-vision-sdk-examples.

AlejandroDiazD avatar AlejandroDiazD commented on July 17, 2024

It worked! :)

Thank you @Corallo, feel free to mark the issue as solved when you consider.

We keep in contact.

from acap-computer-vision-sdk-examples.

Related Issues (20)

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.