GRIP icon indicating copy to clipboard operation
GRIP copied to clipboard

Add UI support for custom Python operations

Open SamCarlberg opened this issue 8 years ago • 12 comments

Screenshot

screen shot 2016-07-26 at 3 16 41 pm

Issues

  • The text 'editor' is just a TextArea, might want to make it more full-featured
  • Poor layout for the Create New button
  • Need to add something to the wiki explaining how to make sockets (after PR gets merged)

SamCarlberg avatar Jul 26 '16 17:07 SamCarlberg

Current coverage is 53.19% (diff: 18.21%)

Merging #640 into master will decrease coverage by 1.38%

@@             master       #640   diff @@
==========================================
  Files           209        213     +4   
  Lines          6715       6961   +246   
  Methods           0          0          
  Messages          0          0          
  Branches        656        693    +37   
==========================================
+ Hits           3665       3703    +38   
- Misses         2882       3089   +207   
- Partials        168        169     +1   

Sunburst

Powered by Codecov. Last update 765dd48...81a60b7

codecov-io avatar Jul 26 '16 19:07 codecov-io

I think the "Create New" button needs a margin.

When searching for operations, what do you think about getting rid of the categories and just showing operations?

AustinShalit avatar Jul 26 '16 19:07 AustinShalit

Also: https://github.com/TomasMikula/RichTextFX

AustinShalit avatar Jul 26 '16 19:07 AustinShalit

I think it's good to keep search results separate, it makes it easier to know what category the operations belong to. Unless if it turns out that people use the search bar for the majority of the time.

SamCarlberg avatar Jul 27 '16 13:07 SamCarlberg

closes #470

AustinShalit avatar Jul 29 '16 17:07 AustinShalit

I think we're going to need to use the official OpenCV python libraries instead of accessing the Java bindings through python.

SamCarlberg avatar Aug 01 '16 15:08 SamCarlberg

Are we waiting on this for the opencv library change?

JLLeitschuh avatar Aug 09 '16 01:08 JLLeitschuh

Haven't had the time to figure out how to deal with the OpenCV python libraries

SamCarlberg avatar Aug 09 '16 02:08 SamCarlberg

So this is going to be interesting. We don't need to include python bindings for OpenCV (you can just use pip install opencv-python). But we will need a way of converting the JavaCV mats to and from numpy arrays

SamCarlberg avatar Oct 31 '16 15:10 SamCarlberg

Write a library to emulate numpy in jython

JLLeitschuh avatar Oct 31 '16 16:10 JLLeitschuh

I like this feature: was thinking how to dynamically add OpenCV2 calls into the tool, amd import/export the custom library for sharing

ianfinlay-aus avatar Apr 13 '23 01:04 ianfinlay-aus

Wow, this is an old PR. IIRC it never moved forward because it's really just a python wrapper around the java libraries (which are wrappers around the C++ library...), and wouldn't support the normal python libraries people would use to interface with OpenCV like numpy or opencv2

SamCarlberg avatar Apr 13 '23 03:04 SamCarlberg