Skip to content

Instantly share code, notes, and snippets.

View luigipacheco's full-sized avatar

Luis Arturo Pacheco luigipacheco

View GitHub Profile
Download and extract comfy UI from github https://github.com/comfyanonymous/ComfyUI
Install comfy UI manager https://github.com/ltdrdata/ComfyUI-Manager
Install models
from pygame.locals import KEYDOWN, K_ESCAPE, K_q
import pygame
import cv2
import sys
camera = cv2.VideoCapture(1)
pygame.init()
pygame.display.set_caption("OpenCV camera stream on Pygame")
screen = pygame.display.set_mode([1280, 720])
@luigipacheco
luigipacheco / NodeTree.001
Created March 10, 2023 19:57
Sverchok.v1.2.0-alpha (12e6d6c) | Blender.3.4.1 | NodeTree.001 | 2023.03.10 | 14:57 | license: CC BY-SA
{
"export_version": "1.0",
"main_tree": {
"nodes": {
"Frame": {
"attributes": {
"location": [
-1413.2568359375,
654.8114013671875
],
@luigipacheco
luigipacheco / README.md
Created August 14, 2022 23:29
SCRIPT-8
@luigipacheco
luigipacheco / kivy_cv.py
Created May 20, 2019 14:52 — 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):