I'm having a problem using numpy's fft function.
When rotating it, the answer is giving different from the Fourier transform that I implemented manually and by the tests I did the manual seems correct. I think I'm using fft the wrong way.
impo...
I have an array that looks like this
training_set = [['03/11/2017' '16,94']
['01/11/2017' '16,90']
['31/10/2017' '16,77']
...
However, I can not manipulate the numbers because they are in the form of string . How do I clean the data and...
Objective: To make a neuron using the load of weights and inputs from an xlsx
The scalar product was calculated in several ways as an exercise, but when I try to use the dot it gives an error.
the input:
Home page
-1,00
7,00
5.00
t...
How do I display the amount of blinks of people currently detected.
The code below detects against haar cascade, where it displays a face counter.
from __future__ import print_function #importa a funcao da biblioteca future
import cv2
cap =...
For example I have array arr1 and I want to take a row range of this array as below, what function can I use?
arr1:
array([[ 1, 1, 1],
[ 2, 2, 2],
[ 3, 3, 3],
[ 4, 4, 4],
[ 5, 5, 5],
[ 6, 6, 6],...
For the solution of linear systems: how to concatenate an array A, an array (vector column) b, so that we have the "augmented" matrix of the system, A ~ = [A b] , using numpy?
How to install a library in python using Windows 7.
I try to download Numpy and it appears at the prompt:
libraries f77blas,cblas,atlas not found in C:\Python33\lib
libraries lapack_atlas not found in C:\Python33\lib
.
.
.
Atlas libraries not...
I am resizing images from a folder and am encountering the following error: module 'cv2.cv2' has no attribute 'COLOR_BRG2GRAY'
Code:
pathC = './cityscape/'
dirs = os.listdir(pathC)
#Resize para o pathC np.array
def resize():
path = pathC...