日時: | 2024-02-01 |
---|---|
作: | 時雨堂 |
資料 バージョン: | 2024.1 |
GitHub URL: | https://github.com/shiguredo/momo |
製品 URL: | https://momo.shiguredo.jp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import evdev | |
from evdev import * | |
from azure.storage.queue import QueueService, QueueMessageFormat | |
import threading | |
import time | |
from queue import * | |
import datetime | |
# responsible for uploading the barcodes to the azure storage queue. | |
class BarcodeUploader: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express') | |
var router = express.Router() | |
var qs = require('qs') | |
function login (req, res) { | |
const query = qs.parse(req.query) | |
req.session.alexa = query // store the variables for the redirect URI after successful login | |
res.render('login') | |
} |
日時: | 2016-01-23 |
---|---|
作: | @voluntas |
バージョン: | 0.1.2 |
url: | https://voluntas.github.io/ |
更新: | 2024-05-20 |
---|---|
作者: | @voluntas |
バージョン: | 2024.1 |
URL: | https://voluntas.github.io/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from SimpleCV import Camera, VideoStream, Color, Display, Image, VirtualCamera | |
import cv2 | |
import numpy as np | |
import time | |
# build the mapping | |
def buildMap(Ws,Hs,Wd,Hd,R1,R2,Cx,Cy): | |
map_x = np.zeros((Hd,Wd),np.float32) | |
map_y = np.zeros((Hd,Wd),np.float32) | |
for y in range(0,int(Hd-1)): |