public domain art nouveau image data
Project description
Art Nouveau Design Data
Public domain lazy-downloading data samples.
Mucha
https://www.wikiart.org/en/alphonse-mucha/
Morris
This is a collection of designs by the famous Morris company artists of the 1800s.
Format
- image: image in numpy array or PyTorch tensor format
- name: a common name for the design
- year: initial year of design
Example Use
import nouveau
morris = nouveau.Morris()
mucha = nouveau.Mucha()
# pandas index of metadata
morris.index.head()
>> shows pandas dataframe head with year, name, filename columns
# iterate as PIL Images (aligned with index by position)
for i, img in enumerate(morris):
print(morris.index.iloc[i]['name'], img.size)
# access a single item by position (returns dict with numpy image)
morris[0]
>> {'year': 1862,
>> 'name': 'Fruit-Blue',
>> 'filename': '1862-Fruit-Blue.jpg',
>> 'image': array([[[254, 253, 249], ...
# display by index or name
morris.show(1)
>> <pyplot image>
morris.show('Fruit-Blue')
>> <pyplot image>
# get a PIL Image by index or name
morris.toPIL(0)
>> <PIL Image>
# PyTorch dataset (returns [tensor, name, year] per item)
tensors = morris.to_torch()
tensors[0][0].shape
>> torch.Size([3, 1987, 1586])
license: unlicense task_categories:
- image-classification pretty_name: Morris Co. Public Domain Art size_categories:
- n<1K
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nouveau-0.1.0.tar.gz
(6.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nouveau-0.1.0.tar.gz.
File metadata
- Download URL: nouveau-0.1.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
620328ecb667849cdbf0df9fa961c50bf1fecd443a1c343cdc57c51e1a087ad1
|
|
| MD5 |
7b912966df99e6fb7f03aee550a41392
|
|
| BLAKE2b-256 |
f75b7d66a7084db5707edf802a11aee0b9c258ceb6e2be68687a01512286a6db
|
File details
Details for the file nouveau-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nouveau-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72edc297e5886f3f9323e193ac7e7d9f9af6614e8196fbd196e4af0b4780b9dc
|
|
| MD5 |
70f6a84de65fc92774bf147bc9b1a64f
|
|
| BLAKE2b-256 |
1aba7c9e9c5f20beb95c9510d0087dab633b3c1fd4429834cbc088aefc580b7b
|