Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CV #2

Open
VictorDeon opened this issue Nov 25, 2019 · 1 comment
Open

CV #2

VictorDeon opened this issue Nov 25, 2019 · 1 comment

Comments

@VictorDeon
Copy link
Owner

VictorDeon commented Nov 25, 2019

No description provided.

@VictorDeon
Copy link
Owner Author

from matplotlib import pyplot as plt
import cv2


def show(img, title=""):
    """
    Redimensionar a imagem e mostrar no codigo.
    """

    img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
    plt.rcParams['figure.figsize'] = (50, 50)
    plt.title(title, fontdict={"fontsize": 100})
    plt.imshow(img)
    plt.axis("off")
    plt.show()

@VictorDeon VictorDeon changed the title Arrumar CV Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant