This file contains hidden or 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
# get OpenCL driver automated installer (installs kernel 4.7) | |
curl https://software.intel.com/sites/default/files/managed/f6/77/install_OCL_driver.sh_.txt > install_OCL_driver.sh | |
chmod +x install_OCL_driver.sh | |
# install OpenCL driver | |
sudo ./install_OCL_driver.sh install | |
# check | |
ls /boot/vmlinuz-*intel* |
This file contains hidden or 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: |