Skip to content

Instantly share code, notes, and snippets.

View felipebastosweb's full-sized avatar
🏠
Working from home

felipe bastos felipebastosweb

🏠
Working from home
View GitHub Profile
@felipebastosweb
felipebastosweb / kivy_cv.py
Created September 16, 2020 13:15 — forked from ExpandOcean/kivy_cv.py
kivy and opencv work together demo
# coding:utf-8
from kivy.app import App
from kivy.uix.image import Image
from kivy.clock import Clock
from kivy.graphics.texture import Texture
import cv2
class KivyCamera(Image):
def __init__(self, capture, fps, **kwargs):
@felipebastosweb
felipebastosweb / tabela_fipe.py
Created July 19, 2019 13:40 — forked from aipi/tabela_fipe.py
Consultar Tabela FIPE com Python
import requests
r = requests.post(
'http://veiculos.fipe.org.br/api/veiculos/ConsultarMarcas',
json=payload,
headers={
'Host': 'veiculos.fipe.org.br',
'Referer': 'http://veiculos.fipe.org.br/'
}
)