Commit Graph

220 Commits

Author SHA1 Message Date
Theelgirl 018c86711f 4x speed of 2 bottleneck lines by removing numpy
Also double the speed of one more bottleneck line by removing numpy. tuple(map()) is amazing!
2020-10-09 16:45:14 +00:00
Theelgirl ff226db1fc
Major optimization by removing calls to tuple()
This brought the time taken by get_bits_from_image from 6.35 seconds to 4.9 seconds on my processor!
2020-10-08 14:45:08 +00:00
Theelgirl b9eee98a25 Major optimization by removing calls to tuple()
This brought the time taken by get_bits_from_image from 6.35 seconds to 4.9 seconds on my processor!
2020-10-08 14:45:08 +00:00
Theelgirl 744ad0bbb0
Make pixel_bin_rep a string with literals
That way we don't have to call str() on pixel_bin_rep when adding bits, as literal constructions are faster than function calls iirc.
2020-10-08 13:59:24 +00:00
Theelgirl 83084dc456 Make pixel_bin_rep a string with literals
That way we don't have to call str() on pixel_bin_rep when adding bits, as literal constructions are faster than function calls iirc.
2020-10-08 13:59:24 +00:00
AlfredoSequeida d953e363b4
Merge pull request #12 from Theelgirl/patch-2
Allow a user to set framerate for encoding with -f
2020-10-08 06:49:54 -07:00
AlfredoSequeida 832effad59 Merge pull request #12 from Theelgirl/patch-2
Allow a user to set framerate for encoding with -f
2020-10-08 06:49:54 -07:00
Theelgirl 38aad1cc7e
Fix type error 2020-10-08 13:38:31 +00:00
Theelgirl 1b76e8115b Fix type error 2020-10-08 13:38:31 +00:00
Theelgirl 9e5f902222
Merge branch 'master' into patch-2 2020-10-08 13:26:17 +00:00
Theelgirl d656ae8ac1 Merge branch 'master' into patch-2 2020-10-08 13:26:17 +00:00
AlfredoSequeida 02900aee3c
Merge pull request #10 from dtaivpp/master
fixed output file naming issue
2020-10-08 05:33:01 -07:00
AlfredoSequeida ae1e53a899 Merge pull request #10 from dtaivpp/master
fixed output file naming issue
2020-10-08 05:33:01 -07:00
AlfredoSequeida 6540fc5404 Added demo video 2020-10-07 18:04:57 -07:00
AlfredoSequeida 951605a8f4 Added demo video 2020-10-07 18:04:57 -07:00
David Tippett 50904e477f
Updated function definition for save bits to file 2020-10-07 19:47:50 -04:00
David Tippett b8c751186a Updated function definition for save bits to file 2020-10-07 19:47:50 -04:00
Alfredo 5037c074e6 updated installation instructions 2020-10-07 13:42:01 -07:00
Alfredo bfb7f125fc updated installation instructions 2020-10-07 13:42:01 -07:00
Theelgirl 3b9de67fde
Prevent negative fractions also 2020-10-07 18:19:58 +00:00
Theelgirl e3a17d5263 Prevent negative fractions also 2020-10-07 18:19:58 +00:00
Theelgirl 3e4e2802a3
Prevent negative and decimal framerates 2020-10-07 18:13:52 +00:00
Theelgirl 306436886b Prevent negative and decimal framerates 2020-10-07 18:13:52 +00:00
Theelgirl 64b01d45a7
Allow a user to set framerate for encoding with -f
You might want to format line 203 over two lines. Also I made make_video's new framerate argument default to 1/5 in case it's ever called by a function besides main.
2020-10-07 16:05:21 +00:00
Theelgirl d56f957ce7 Allow a user to set framerate for encoding with -f
You might want to format line 203 over two lines. Also I made make_video's new framerate argument default to 1/5 in case it's ever called by a function besides main.
2020-10-07 16:05:21 +00:00
David Tippett 65746ef1d3
Delete requirements.txt 2020-10-07 11:25:10 -04:00
David Tippett 312bff2836 Delete requirements.txt 2020-10-07 11:25:10 -04:00
AlfredoSequeida 6aa533ae19
Merge pull request #11 from Theelgirl/patch-1
Define white and black outside the loops
2020-10-07 08:08:43 -07:00
AlfredoSequeida 196822fd88 Merge pull request #11 from Theelgirl/patch-1
Define white and black outside the loops
2020-10-07 08:08:43 -07:00
AlfredoSequeida f63a1230ee updated version 2020-10-07 07:59:32 -07:00
AlfredoSequeida 03b941fb6a updated version 2020-10-07 07:59:32 -07:00
AlfredoSequeida 420788f35e updated required python version for fstring usage 2020-10-07 07:56:16 -07:00
AlfredoSequeida d2fe49d51a updated required python version for fstring usage 2020-10-07 07:56:16 -07:00
Theelgirl f828dbf0f9
Define white and black outside the loops 2020-10-07 14:56:09 +00:00
Theelgirl da69b90dc8 Define white and black outside the loops 2020-10-07 14:56:09 +00:00
AlfredoSequeida b58ab710dd updated README 2020-10-07 07:41:35 -07:00
AlfredoSequeida deb427ca31 updated README 2020-10-07 07:41:35 -07:00
AlfredoSequeida ffbf629d9b updated README 2020-10-07 07:38:37 -07:00
AlfredoSequeida 5964c88d5a updated README 2020-10-07 07:38:37 -07:00
AlfredoSequeida 6d335f2cfc updated README 2020-10-07 07:31:29 -07:00
AlfredoSequeida 778262936a updated README 2020-10-07 07:31:29 -07:00
David Tippett 3be8f6b7a5 Merge remote-tracking branch 'upstream/master' 2020-10-07 10:24:31 -04:00
David Tippett 69f634fa6a Merge remote-tracking branch 'upstream/master' 2020-10-07 10:24:31 -04:00
David Tippett 186845ea37 Fixed #8 Output file naming not working correctly 2020-10-07 10:19:45 -04:00
David Tippett ee078031e0 Fixed #8 Output file naming not working correctly 2020-10-07 10:19:45 -04:00
AlfredoSequeida 31a63fc5c1 structured setup.py 2020-10-07 07:14:32 -07:00
AlfredoSequeida e4478d4c11 structured setup.py 2020-10-07 07:14:32 -07:00
AlfredoSequeida 17ad3a601e add license 2020-10-07 07:06:25 -07:00
AlfredoSequeida d60a28e813 add license 2020-10-07 07:06:25 -07:00
David Tippett 4d02061576 Merge remote-tracking branch 'upstream/master' 2020-10-07 09:51:07 -04:00