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 socket | |
import time | |
import datetime | |
from daqmx import NIDAQmxInstrument | |
# Proxy server that triggers a NiDAQ stimulation based on a label sent from OpenVibe over a TCP connection. The | |
# stimulation mechanism is time-based, no more than stimulation can occur in every rolling STIMULATION_WINDOW_SECONDS | |
# Tested with OpenVibe 2.2.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 cv2 | |
import numpy as np | |
# The RGB image array | |
input_image = cv2.imread('lion.jpg') | |
def show_image(image, source): | |
cv2.imshow(source, image) | |