Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seanpm2001/hyperslice

✂️⚡️🔪️💾️ HyperSlice is an AI powered tool for rapidly cutting elements out of digital media, and saving them to various output files.
https://github.com/seanpm2001/hyperslice

ai ai-2001 ai2001 artificial-intelligence export export-tool hyperslice hyperslice-development hyperslice-project hypersnip hypersnip-development hypersnip-project julia julia-lang julia-language

Last synced: 1 day ago
JSON representation

✂️⚡️🔪️💾️ HyperSlice is an AI powered tool for rapidly cutting elements out of digital media, and saving them to various output files.

Awesome Lists containing this project

README

        

***

Click/tap here to expand/collapse the project logo

HyperSlice logo

Click/tap here to expand/collapse this article

# [HyperSlice](#HyperSlice)

Click/tap here to expand/collapse the title/lead section

`✂️⚡️🔪️💾️ HyperSlice is an AI powered tool for rapidly cutting elements out of digital media, and saving them to various output files.`

***

## [Targets](#Targets)

Click/tap here to expand/collapse the targets section

The logo of HyperSlice gives a basic example of functionality. HyperSlice can snip out different parts of the image and place them in separate files. The first challenge is to fix the HyperSlice logo using only HyperSlice.

A better example is webpages. HyperSlice can read document source code, and can snip out only content placed in specific tags (such as `

` `` `` `
  • ` and more) it can do this either by reading the source code, or selecting content it sees as being in its own section. It can also do this multiple times at once throughout the page, and saving them to output files.

    This functionality also applies to images and videos, but not audio. Videos can be sliced through recorded playback of up to 24 hours, although processing time and needed RAM multiplies with every second, which is something to keep in mind.

    ***

    ## [Technical](#Technical)

    Click/tap here to expand/collapse the technical section

    This project is written in Julia, and relies on the [:octocat: `AI2001 framework`](https://github.com/seanpm2001/AI2001/) although it is not directly a part of the AI2001 project.

    ***

    ## [.hypslyce](#-hypslyce)

    Click/tap here to expand/collapse the .hypslyce section

    A hypslyce file is a project file containing instructions for snipping/slicing and output. It is an XML file.

    Here is an example of a simple `.hypslyce` file that grabs all `

    ` HTML elements and exports it into an SVG image:

    ```xml




    " && "

    ">






    ```

    When `overWrite` is set to `False`, any additional images that are generated are placed in a separate file in the target folder with the same name, with a number appended to it.

    In this example, Bob is the username, and the system is UNIX-like. An HTML file is the input, where its first 999 lines are read, and all `

    ` elements are sent to a file called `DIV.svg` if more than 1 `
    ` element is selected, additional output files will go like `DIV-1.svg` `DIV-2.svg` and so on.

    ***

    ## [Alternative name](#Alternative-name)

    Click/tap here to expand/collapse the alternative name section

    The secondary name for this project is HyperSnip, which is intended to be used for small snippets.

    ***

    ## [Additional-documentation](#Additional-documentation)

    Click/tap here to expand/collapse the additional documentation section

    Additional documentation is located [:octocat: `in a separate repository`](https://github.com/seanpm2001/HyperSlice_Docs/)

    ***

    ## [Original draft](#Original-draft)

    Click/tap here to expand/collapse the original draft section

    ```plain-text
    HyperSlice

    AI powered tool to cut various elements out of an image, and save them to various files (such as: each

    detected in a screenshot) give it other targets via a .hypslyce file with instructions.
    ```

    ***

    # [File info](#File-info)

    Click/tap here to expand/collapse the file info section

    **File type:** `Markdown (*.md *.mkd *.mdown *.markdown)`

    **File version:** `2 (2023, Wednesday, July 5th at 01:26 pm PST)`

    **Line count (including blank lines and compiler line):** `213`

    **Word count:** `1,161`

    **Character count (including spaces):** `7,666`

    **Character count (excluding spaces):** `6,542`

    **Size (in bytes):** `7,684`

    **Current article language:** `English (EN_USA)` / `Markdown (CommonMark)` / `HTML5 (HyperText Markup Language 5.3)`

    **Encoding:** `UTF-8 (Emoji 12.0 or higher recommended)`

    **All times are UTC-7 (PDT/Pacific Time)** `(Please also account for DST (Daylight Savings Time) for older/newer entries up until it is abolished/no longer followed)`

    > **Note** _On 2022, Sunday, March 13th at 2:00 am PST, the time jumped ahead 1 hour to 3:00 am._

    > **Note** **You may need special rendering support for the `` HTML tag being used in this document**

    ***

    # [File history](#File-history)

    Click/tap here to expand/collapse the file history section

    ## Version 1 (2023, Monday, July 3rd at 11:20 pm PST)

    Click/tap here to expand/collapse the file history entry for version 1 section

    - This release was made by: [:octocat: `@seanpm2001`](https://github.com/seanpm2001/)

    > Changes

    - [x] Started the file
    - [x] Added the title section
    - [x] Referenced the project logo
    - [x] Added the `Targets` section
    - [x] Added the `Technical` section
    - [x] Added the `.hypslyce` section
    - [x] Added the `Alternative name` section
    - [x] Added the `Additonal documentation` section
    - [x] Added the `Original draft` section
    - [x] Added the `File info` section
    - [x] Added the `Footer` section
    - [ ] No other changes in version 1

    ## Version 2 (2023, Wednesday, July 5th at 01:26 pm PST)

    Click/tap here to expand/collapse the file history entry for version 2 section

    - This release was made by: [:octocat: `@seanpm2001`](https://github.com/seanpm2001/)

    > **Note** _This release was delayed by 1 day due to time issues._

    > Changes

    - [x] Converted all sections into dropdown sections
    - [x] Updated the `.hypslyce` section to include an example
    - [x] Updated the `Additional documentation section` to fix a typo
    - [x] Updated the `Technical` section to clarify that this is not part of the AI2001 project
    - [x] Updated the `File info` section
    - [x] Added the `File history` section
    - - [x] Added an entry for version 1
    - - [x] Added an entry for version 2
    - [ ] No other changes in version 2

    ***

    # [Footer](#Footer)

    Click/tap here to expand/collapse the footer

    You have reached the end of this page.

    ###### [EOF](#EOF)

    ***