Ir para conteúdo
Fórum Script Brasil

michellpinheiro

Membros
  • Total de itens

    7
  • Registro em

  • Última visita

Tudo que michellpinheiro postou

  1. boas pessoal Desde já peço desculpa se não estou no separador correto para formular esta duvida. Estou a fazer uma aplicação em android (java) para comunicar em Bluetooth low energy com o RN4871 mas nem sei por por começar alguém me pode dar uma ajuda?
  2. boas pessoal estou a trabalhar em python com as bibliotecas dlib e opencv e quero excutar um codigo simples mas aparece-me um erro, o codigo é o seguinte: # import the necessary packages from imutils import face_utils import dlib import cv2 # initialize dlib's face detector (HOG-based) and then create # the facial landmark predictor p = "shape_predictor_68_face_landmarks.dat" detector = dlib.get_frontal_face_detector() predictor = dlib.shape_predictor(p) # load the input image and convert it to grayscale image = cv2.imread("example.jpg") gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) # detect faces in the grayscale image rects = detector(gray, 0) # loop over the face detections for (i, rect) in enumerate(rects): # determine the facial landmarks for the face region, then # convert the facial landmark (x, y)-coordinates to a NumPy # array shape = predictor(gray, rect) shape = face_utils.shape_to_np(shape) # loop over the (x, y)-coordinates for the facial landmarks # and draw them on the image for (x, y) in shape: cv2.circle(image, (x, y), 2, (0, 255, 0), -1) # show the output image with the face detections + facial landmarks cv2.imshow("Output", image) cv2.waitKey(0) e da-me erro quando introduzi predictor = dlib.shape_predictor(p) aparece Unable to open shape_predictor_68_face_landmarks.dat alguém me pode ajudar??
  3. boas pessoal estou a trabalhar em python com as bibliotecas dlib e opencv e quero excutar um codigo simples mas aparece-me um erro, o codigo é o seguinte: # import the necessary packages from imutils import face_utils import dlib import cv2 # initialize dlib's face detector (HOG-based) and then create # the facial landmark predictor p = "shape_predictor_68_face_landmarks.dat" detector = dlib.get_frontal_face_detector() predictor = dlib.shape_predictor(p) # load the input image and convert it to grayscale image = cv2.imread("example.jpg") gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) # detect faces in the grayscale image rects = detector(gray, 0) # loop over the face detections for (i, rect) in enumerate(rects): # determine the facial landmarks for the face region, then # convert the facial landmark (x, y)-coordinates to a NumPy # array shape = predictor(gray, rect) shape = face_utils.shape_to_np(shape) # loop over the (x, y)-coordinates for the facial landmarks # and draw them on the image for (x, y) in shape: cv2.circle(image, (x, y), 2, (0, 255, 0), -1) # show the output image with the face detections + facial landmarks cv2.imshow("Output", image) cv2.waitKey(0) e da-me erro quando introduzi predictor = dlib.shape_predictor(p) aparece Unable to open shape_predictor_68_face_landmarks.dat alguém me pode ajudar??
  4. boas pessoal já encontrei a documentação que precisava aqui a deixo para partilhar conhecimento https://s3-eu-west-1.amazonaws.com/ur-support-site/32554/scriptManual-3.5.2.pdf
  5. boas pessoal Estou comecando o meu projeto de final de licenciatura e estou a usar o robot UR3. Para controlar o robot estou a usar a libraria URX mas estou com serias dificuldades para controlar o robo alguém poderia ajudar-me? Obrigado pela Atenção
  6. Boas pessoal Estou a realzar uma trabalho para a universidade na área da robótica, em que tenho de reconhecer sinais de transito com uma web ou com um ipcam usando matlab . alguém de pode ajudar como fazer a aquisição de imagem em tempo real? Desde já agradeço a vossa disponibilidade
×
×
  • Criar Novo...