Translate image segmentation data into an array/ list

159
May 06, 2018, at 8:09 PM

I have such an image:

What would be the possible ways of generating three arrays/ lists (say a, b, c) in which a[x] would be 0 if the circle is empty and a[x] would be 1 if circle is filled?

I would be using open-cv with python.

Rent Charter Buses Company
READ ALSO
Web scraping Python Shell Not Responding

Web scraping Python Shell Not Responding

I am trying to run this basic code but even after waiting for long, Python shell simply get stuck and i always find myself facing 'Python 36

217
Code works with Jupyter(Anaconda) but not with normal Python - WHY

Code works with Jupyter(Anaconda) but not with normal Python - WHY

this code works perfect with Jupyter (Anaconda) but doesnt work with normal python IDE or the python console: it just creates a logtxt file nothing more

187
pyglet.gl.lib.GLException: b'invalid enumerant'

pyglet.gl.lib.GLException: b'invalid enumerant'

I tried to realize the code to draw a molecule and met this problemWhat does it mean and maybe there are some ways to solve it?

510