forked from sjvasquez/handwriting-synthesis
-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f58984
commit ee8315f
Showing
70 changed files
with
1,127 additions
and
2,149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
data/raw/ascii | ||
data/raw/lineStrokes | ||
data/raw/original | ||
data/processed | ||
|
||
logs | ||
predictions | ||
/target | ||
/release | ||
*.dll | ||
*.exe |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[package] | ||
name = "calligrapher-ai" | ||
version = "0.1.0" | ||
authors = ["GirkovArpa <[email protected]>"] | ||
edition = "2018" | ||
|
||
[dependencies] | ||
libc ="*" | ||
libloading = "*" | ||
sciter-rs = "*" | ||
|
||
[target.'cfg(windows)'.build-dependencies] | ||
winres = "0.1" | ||
|
||
[package.metadata.winres] | ||
OriginalFilename = "https://calligrapher.ai" | ||
LegalCopyright = "Copyright © girkovarpa 2021, sjvasquez 2020" | ||
FileDescription = "Realistic handwriting generator. Convert text to handwriting using a recurrent neural network. Choose from various print and cursive styles. Customize the outputs and download as SVG." | ||
ProductName = "Calligrapher AI" | ||
ProductVersion = "0.1.0" | ||
|
||
[profile.release] | ||
opt-level = "z" # Optimize for size. | ||
panic = "abort" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
html { | ||
font: system; | ||
width: max-content; | ||
height: min-content; | ||
overflow: none; | ||
background-color: threedface; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
#content { | ||
background-color: threedhighlight; | ||
padding-left: 40dip; | ||
padding-right: 10dip; | ||
vertical-align: top; | ||
foreground-repeat: no-repeat; | ||
foreground-position: 16dip 50%; | ||
background-repeat: no-repeat; | ||
background-position: 10dip 50%; | ||
background-size: 64dip 64dip; | ||
min-width: 160dip; | ||
min-height: 88dip; | ||
width: *; | ||
height: *; | ||
white-space: pre; | ||
text-align: center; | ||
font-size: 1.3em; | ||
line-height: 1.3em; | ||
} | ||
|
||
shift { | ||
transform: translate(-1em, 0); | ||
} | ||
|
||
v { | ||
color: rgba(0, 0, 0, 0.8); | ||
font-size: .75em; | ||
} | ||
|
||
#content { | ||
background-image: url(this://app/png/logo.png); | ||
} | ||
|
||
div#info { | ||
background-color: threedhighlight; | ||
border-bottom: 1px solid threedshadow; | ||
padding: 0 10dip 10dip 10dip; | ||
size: *; | ||
margin: 0; | ||
vertical-align: middle; | ||
text-align: center; | ||
} | ||
|
||
a { | ||
cursor: pointer; | ||
text-decoration: underline; | ||
color: blue; | ||
} | ||
|
||
a:active { | ||
color: red; | ||
} | ||
|
||
img { | ||
transform: translate(0, 25%); | ||
} | ||
|
||
#button-bar { | ||
flow: horizontal; | ||
padding: 10dip; | ||
border-spacing: 10dip; | ||
margin: 0; | ||
flow: horizontal; | ||
horizontal-align: right; | ||
} | ||
|
||
label { | ||
line-height: 1.4em; | ||
} | ||
|
||
#button-bar button { | ||
display: block; | ||
text-shadow: #FFF 0px 1px; | ||
min-width: 4em; | ||
line-height: 2em; | ||
vertical-align: middle; | ||
width: min-intrinsic; | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html window-resizable="false"> | ||
|
||
<head> | ||
<title>About Calligrapher AI</title> | ||
<link href="this://app/about/about.css" rel="stylesheet"> | ||
<script src="this://app/about/about.js" type="module"></script> | ||
</head> | ||
|
||
<body> | ||
<section #content> | ||
<shift><b>Calligrapher AI</b></shift> | ||
<v>v0.1.0</v> | ||
|
||
</section> | ||
<div #info> | ||
<div .row> | ||
This application uses <img src="this://app/png/sciter.png" /><a #sciter>Sciter</a> Engine, | ||
</div> | ||
<div .row> | ||
© <a #terra-informatica>Terra Informatica Software</a>, Inc., | ||
</div> | ||
<div .row> | ||
and is © <a #girkov-arpa>girkovarpa</a> 2021, <a #sjvasquez>sjvasquez</a> 2020. | ||
</div> | ||
<div .row> | ||
This is a port of <a #calligrapher-ai>https://calligrapher.ai</a>. | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<footer #button-bar> | ||
<button>Ok</button> | ||
</footer> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { $, $$ } from '@sciter'; | ||
import { launch } from '@env'; | ||
import { cwd } from '@sys'; | ||
|
||
$('#sciter').on('click', () => { | ||
launch('https://sciter.com'); | ||
}); | ||
|
||
$('#terra-informatica').on('click', () => { | ||
launch('https://terrainformatica.com'); | ||
}); | ||
|
||
$('#girkov-arpa').on('click', () => { | ||
launch('https://github.com/girkovarpa/'); | ||
}); | ||
|
||
$('#sjvasquez').on('click', () => { | ||
launch('https://github.com/sjvasquez/'); | ||
}); | ||
|
||
$('#calligrapher-ai').on('click', () => { | ||
launch('https://calligrapher.ai'); | ||
}); | ||
|
||
$('button').on('click', () => Window.this.close()); |
Oops, something went wrong.