Skip to content

Process finished with exit code 134 (interrupted by signal 6: SIGABRT) #226

@bathicodes

Description

@bathicodes

I am using a MacBook Pro (os : Mojave) and Pycharm IDE for python. I was tried to open my web cam using OpenCV and python with the below code

import numpy as np
import cv2

cap = cv2.VideoCapture(0)

while True:
    ret, frame = cap.read()

    cv2.imshow('frame',frame)
    if cv2.waitKey(20) & 0xFF == ord('q'):
        break

But it all ways gives following error

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

What are the solutions for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions