GithubHelp home page GithubHelp logo

tw1ddle / geometrize Goto Github PK

View Code? Open in Web Editor NEW
1.9K 20.0 123.0 90.69 MB

:white_square_button: Geometrize is a desktop app that geometrizes images into geometric primitives

Home Page: https://www.geometrize.co.uk

License: Other

QMake 0.64% C++ 98.27% C 0.30% Python 0.79%
art geometry-processing cpp chaiscript geometrize

geometrize's People

Contributors

tw1ddle avatar wickedsmoke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geometrize's Issues

Installer license problems

Hello @Tw1ddle,

I have downloaded Geometrize and I have found a problem.

The license in Installer is already checked "I accept the license.", can you change to "I do not accept the license." by default?
The user must valided it.

Can you change the text (dot removal)
"I accept the license." to "I accept the license"
"I do not accept the license." to "I do not accept the license"

Can you update the license year too?
"2017" to "2017-2024"

Can you update the license links too?
http://samcodes.co.uk/ to https://samcodes.co.uk/
http://www.gnu.org/licenses/ to https://www.gnu.org/licenses/

Thanks in advance.

Exporting a LOT of objects as a GIF

  1. I generated 61K shapes (it looked beautiful :D)
  2. Luckily, I saved it as JSON, SVG and JPG first.
  3. I've started exporting it as an animated GIF.
  4. The app's become unresponsive, but the file was created and it's size has been gradually increasing.

That's what happened 3 days ago, and the app is still exporting it with breaks every night (I'm doing it on my laptop, so I just hibernate it). It's 15GiB large at this moment, any idea how long will it probably take to finish the exportation? Here's the generated JSON:
YALPAP4-61K.json

Enable GPU

Well the Title says it all. Please do something with OpenCL or whatever Nvidia GPUs use. My CPU is at constant 80% - 90% while running the Program with standart settings. Picture is at 1000x488 and it draws with lines only. With OpenCl, it could be way faster (I think).

run shape finding algorithm in non UI blocking thread

Hi, it's probably harder to solve. In the mac app I experienced difficulty operating the UI, especially the STOP button since it was busy.
I suppose one need to run the shape finding in a separate thread so that QT itself can handle all the UI elements.

Bad installer folder installation

Hello @Tw1ddle,

I have downloaded Geometrize and I have found a problem.

The default folder is not C:\Program Files\Geometrize, it is C:\Users\USERNAME\Geometrize.

It is possible to change it?

Thanks in advance.

Development state

Hello,
i don't know if you still work on this project, but why on the web demo, we can choose the numbers of shapes, but not on the software ?
and can you add the hardware acceleration ?
thx.

Batch processing

is there any way to run a batch on a folder of images using the GUI app?

json exporting with chaiscript

so with chaiscript i made loop that geometrizes all images in chosen directory and works fine, but only thing i didnt figure out is exporting to json, i see there is exportShapeJson() but what do i feed it with?

Max Threads

What aspect of the system are the threads based on?

Do you have an example of a safe number of threads you can go up to based on a CPU/GPU?

Low Dimensions

When I import a high resolution image, it always reduces it to a very low resolution.

How do you increase the size?

Is the C++ lib faster than the Go lib?

Hey Sam, it's me again. I appreciate you implementing the batch feature, but I couldn't get it to work. I downloaded the test macOS build and the option didn't come up.

Right now, I am running the Go lib via CLI on an i7-8700K. I was just wondering if there is a faster way to run this script in Parallel?

I basically want to use the library for video. Right now, I'm extracting the frames from the video, then running the script on all the frame images, then repackaging the new frames as a new video.

let's say a 5 second video has 150 frames, the i7 manages to get ~15 frames done a minute. You can imagine the problems I would have scaling this out.

Just wondering if speed improvements can be made across threads, or actually distributed PC approach has to be used.

Thank you my guy

Installer no icon in taskbar

Hello @Tw1ddle,

I have downloaded Geometrize and I have found a problem.

The Installer icon in taskbar is not here, can you solve it?

Thanks in advance.

how to use focus area script?

i try lot of different scripts to focus to a specific area...and all the times is crashing. do you have any documentation how to use it? thank you

AppImage missing packages for Linux Mint 18.1

Tried running the AppImage on my Linux Mint box and got the following complaints:

./geometrize_237.1_linux_g.-7.AppImage: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.11' not found (required by ./geometrize_237.1_linux_g.-7.AppImage) ./geometrize_237.1_linux_g.-7.AppImage: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.22' not found (required by ./geometrize_237.1_linux_g.-7.AppImage)

garbage

Hello,
i play and test the software for some hours now.
And i noticed, when i change the shapes, after some test with other shapes, the shapes per second rate is smaller than when i restart the software.

Can you solve that ?

Remove or set my own background color?

I'm using a transparent PNG soruce image, is it possible to disable Geometrize from adding a background color altogether, not just change it?

Thank you in advance for your response, and for making this app!

A CLI would be appreciated

I would like to do some tooling to integrate several things.

If your software offered a CLI, this would be much easier.

Do you think this would be practical? I'd really appreciate it ๐Ÿ˜„

rotated non-rectangle

geometrize snaps(ish) rotated rectangle corners to pixel corners, which often results in non-rectangle

this is not very noticable with big rotated (non-)rectangles but very noticable with small rotated (non-)rectangles:

here is the image:

New Builds

Hi,

Why are there no new builds available here? The last one was in 2018. There are 133 commits since that build!

Thank you.

extremely high cpu load after

i dont know much, and i recognise that high cpu load may be something that is expected of this program, but i basically put a png file in [attached]
stareintocamerapfp

this lead to a much higher cpu load than normally happens the other times ive used this program
these were the settings i had at the time but it seems to work with other settings too
image

i clicked start, it seemed to generate one object although i could not see it
my pc became extremely loud, i closed out of the window, it stayed loud, i opened task manager and closed the whole thing.

it was using 90% of my cpu, which is an AMD Ryzen 5 5600X 3.7 GHz

8mb.video-FzV-ricw78Rv.mp4

6-Core Processor
here is a video of me replicating it. i installed the program today.

Different blend-modes

It would be really practical if there were different blend modes to choose from, like add, subtract, multiply etc.

Random Desktop Icon

This has been happening on 3 machines, with both windows 7 and 8, on every startup: The icon of the program always is completely random. Both as the shortcut on the desktop and also in the taskbar. This ranges from the GIMP icon, to games or even to the task manager.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.