Esempio n. 1
0
def test_Vimba_threaded_getImage():
    printPrettyHeader("Test Vimba_threaded_getImage")
    c = VimbaCamera(threaded=True)
    time.sleep(0.2)
    img = c.getImage()
    img.save("vimba.png")

    time.sleep(0.2)

    c.shutdown()
Esempio n. 2
0
def test_Vimba_threaded_getImage():
    printPrettyHeader("Test Vimba_threaded_getImage")
    c = VimbaCamera(threaded=True)
    time.sleep(0.2)
    img = c.getImage()
    img.save("vimba.png")

    time.sleep(0.2)

    c.shutdown()
def test_oneShot():
    c = VimbaCamera()
    printPrettyHeader("Test oneShot")

    img = c.getImage()
    img.save("test_oneShot.png")
def test_oneGrayShot():
    c = VimbaCamera(properties={"mode": "gray"})
    printPrettyHeader("Test oneGrayShot")

    img = c.getImage()
    img.save("test_oneGrayShot.png")
Esempio n. 5
0
def test_oneShot():
    c = VimbaCamera()
    printPrettyHeader("Test oneShot")

    img = c.getImage()
    img.save("test_oneShot.png")
Esempio n. 6
0
def test_oneGrayShot():
    c = VimbaCamera(properties={"mode":"gray"})
    printPrettyHeader("Test oneGrayShot")

    img = c.getImage()
    img.save("test_oneGrayShot.png")