jupyter-notebook

OpenCV Contours. having trouble finding the desired contour of a given image

OpenCV Contours. having trouble finding the desired contour of a given image Question: [ This is the image I need to do contour detection on. I need to contour the characters inside and outside the rectangle, but not the rectangle itself. The Second image I attached is the desired output. Now this is the approach …

Total answers: 1

geodataframe is not defined

geodataframe is not defined Question: I’m working with Jupiter and ipywidgets and Ipyleaflet , trying to draw polygons on a map and saving to a geodataframe. I have the following in a notebook cell: zoom = 15 from ipywidgets import Output, interact import ipywidgets from __future__ import print_function import ipyleaflet import geopandas as gpd import …

Total answers: 2

Trying to write an edited string into a file in python, but nothing happens

Trying to write an edited string into a file in python, but nothing happens Question: I am trying to create a program that copies a file, makes a cipher for the copied file and writes the ciphered text back into the copied file. I have tested the cipher and the final string and it works …

Total answers: 1

Can't open jupyter notebook at all

Can't open jupyter notebook at all Question: Last weeks everything was ok. But all of a sudden I can’t run jupyter notebook (if i run it from the start menu it wont open / if i run it from anaconda navigator or dataspell it wont run and give me the following error: Jupyter server process …

Total answers: 2

IPython.display doesn't show long wav files

IPython.display doesn't show long wav files Question: I use IPython.display for listening audio file in Jupyter notebook. I have a long file(30 min). import IPython.display as dis import numpy y = numpy.zeros(30*60*48000) This code work as fluidly for 5 seconds dis.display(dis.Audio(y[:5*48000], rate=48000)) but for 30 minutes the code hangs and there are no errors. dis.display(dis.Audio(y, …

Total answers: 1

Jupyter Notebook doesn’t recognise Anaconda installation

Jupyter Notebook doesn’t recognise Anaconda installation Question: For some reason Jupyter won’t recognise the Anaconda installation import os result = os.popen(‘conda list anaconda$’).read() print(‘nAnaconda Version:n’, result) Result: Anaconda Version: packages in environment at C:UsersAndyanaconda3: Name Version Build Channel I’ve updated the Windows Path variables as follows C:UsersAndyanaconda3; C:UsersAndyanaconda3Scripts The conda.exe application is in the Scripts …

Total answers: 1

my ipywidgets work in jupyter notebook, but not in html file after exporting

my ipywidgets work in jupyter notebook, but not in html file after exporting Question: i can press a button and get it to trigger events within the notebook, but when i export a html file, they no longer work. import ipywidgets as widgets from IPython.display import HTML from ipywidgets import interactive from ipywidgets import interact …

Total answers: 1