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 flask import Flask, jsonify, request | |
from pyzbar.pyzbar import decode | |
from pyzbar.pyzbar import ZBarSymbol | |
import cv2 | |
import numpy as np | |
import base64 | |
import urllib | |
import pdf2image |
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 doobie._ | |
import doobie.implicits._ | |
import cats.data.NonEmptyList | |
import cats.implicits._ | |
sealed abstract class UnexpectedResultSetSize(msg: String) extends Exception(msg) | |
final case object UnexpectedOptionalContinuation | |
extends UnexpectedResultSetSize(s"Expected ResultSet with zero or one row, but more rows were available.") |
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
#!/usr/bin/env node | |
const fs = require('fs'); | |
const path = require('path'); | |
const https = require('https'); | |
const yargs = require('yargs'); | |
const fetch = require('node-fetch'); | |
const { parse, execute, buildSchema } = require('graphql'); | |
const { makeExecutableSchema } = require('graphql-tools'); |