intelligent_scissors_5421spring2018's People
Forkers
zilipengintelligent_scissors_5421spring2018's Issues
Python & OpenCV version
I'm using Python 3.4.3 and OpenCV 3.4.0, I guess the code should be working on Python 3.6.3 and OpenCV 3.1.0 too.
error when generating path tree the second time
......generating path tree......
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.4/tkinter/__init__.py", line 1536, in __call__
return self.func(*args)
File "gui.py", line 462, in show_path_tree
obj.path_tree_generation()
File "/home/hao/HKUST/5421_spring_18/intelligent_scissors_5421spring2018/intelligent_scissor.py", line 160, in path_tree_generation
self.path_tree = np.concatenate([self.path_tree, self.path_tree, np.zeros((self.height*3, self.width*3,1), dtype=np.uint8)],axis=2 )
ValueError: all the input arrays must have same number of dimensions
artifact idea
I'd like to have a picture of robot from my company, a picture of robot in your lab, and insert them into a famous movie scene such as Matrix / Chappie / Pacific Rim / Wall E . How about that? @onlytailei
trailing white space
@onlytailei can you avoid introducing trailing white spaces? Currently newline definitely introduce trailing white space, among other cases.
Your editor should support that function, usually. If you are using vim then %s/\s\+\$//g
will do. Otherwise, IDLE have that capability as well.
I rendered trailing white spaces in vim so that you can see:
GUI functional requirements
- Ctrl + left click : first seed
- left click : following seed
- moving cursor in sissor mode: keep a stack for previous seeds in sequence shared between GUI and algorithm. The top element is the current seed. GUI keep sending current cursor coordinates to algorithm, and algorithm keeps computing the path, send it back to GUI, where GUI visuializes it.
- Enter : finish the current contour
- Ctrl + Enter: close current contour and fish
- Ctrl + '+' : zoom in
- Ctrl + '-' : zoom out
- Arrow key : navigate
- Backspace: when scissoring, delete the last seed; otherwise, delete selected contour. Select a contour by moving onto it. Selected contour is red, un-selected ones are green.
ipynb v.s. json
what is .ipynb used for?
And, since it seems like it's just json, why not use json directly? @onlytailei
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.