title
| title |
| MaixVision Workstation Official Website |
<script src="/static/js/tailwind.js"></script>
<style>
#page_wrapper {
background-color: #1f2022;
}
.md_page #page_content > div {
width: 100%;
max-width: 100%;
}
#file_list_wrapper {
display: none;
position: fixed;
width: 100vw;
height: 100vh;
background-color: #000000cc;
z-index: 1000;
top: 0;
left: 0;
}
#file_list {
background-color: #FAFAFA;
border-radius: 3px;
max-width: 80%;
min-width: 400px;
max-height: 80%;
min-height: 200px;
overflow-y: auto;
}
#maixvision_video {
height: 35rem;
}
@media (max-width: 1670px) {
#maixvision_video {
height: 30rem;
}
}
@media (max-width: 1280px) {
#maixvision_video {
height: 20rem;
}
}
@media (max-width: 1024px) {
#maixvision_video {
width: 100%;
height: auto;
}
}
.btn, #page_content .btn, #content_body .btn {
background: #005af2;
box-shadow: 0px 0px 2px 0px #005af2;
}
.btn, #page_content .btn:hover, #content_body .btn:hover {
background: #005af2;
box-shadow: 0px 0px 10px 0px #005af2;
}
</style>
MaixVision
Empower edge AI projects
<script>
async function getLatestVersion(filename) {
const timestamp = new Date().getTime();
const url = `
https://cdn.sipeed.com/maixvision/${filename}.json?t=${timestamp}`;
const response = await fetch(url);
const data = await response.json();
if(data.error) {
showMsgInfo("load data failed: " + data.error);
return;
}
return data;
}
var win_download = document.getElementById('win_download');
var linux_download = document.getElementById('linux_download');
var macos_download = document.getElementById('macos_download');
var file_list_wrapper = document.getElementById('file_list_wrapper');
var file_list = document.getElementById('file_list');
var win_info = undefined;
var linux_info = undefined;
var macos_info = undefined;
function showMsgInfo(msg) {
file_list_wrapper.style.display = 'flex';
let file_list = document.getElementById('file_list');
file_list.innerHTML = '';
var p = document.createElement('p');
p.innerText = msg;
file_list.appendChild(p);
}
function showList(files) {
file_list_wrapper.style.display = 'flex';
file_list.innerHTML = '';
for (let i = files.length - 1; i >= 0; i--) {
var a = document.createElement('a');
a.href = '
https://cdn.sipeed.com/maixvision/' + win_info.version + '/' + files[i].url;
a.innerText = files[i].url;
a.className = 'p-4 bg-blue-700 text-lg rounded-md shadow hover:bg-blue-800 hover:shadow-xl';
a.style = 'color: #FFFFFF';
a.addEventListener('click', function () {
file_list_wrapper.style.display = 'none';
})
file_list.appendChild(a);
};
}
file_list_wrapper.addEventListener('click', function () {
file_list_wrapper.style.display = 'none';
});
// listen to the click event
win_download.addEventListener('click', async function () {
if (win_info === undefined) {
showMsgInfo('Loading, please wait for a moment');
return;
}
// if (win_info.files.length === 1) {
// window.location.href = '
https://cdn.sipeed.com/maixvision/' + win_info.version + '/' + win_info.files[0].url;
// } else {
// showList(win_info.files);
// }
showList(win_info.files);
});
linux_download.addEventListener('click', async function () {
if (linux_info === undefined) {
showMsgInfo('Loading, please wait for a moment');
return;
}
// if (linux_info.files.length === 1) {
// window.location.href = '
https://cdn.sipeed.com/maixvision/' + linux_info.version + '/' + linux_info.files[0].url;
// } else {
// showList(linux_info.files);
// }
showList(linux_info.files);
});
macos_download.addEventListener('click', async function () {
if (macos_info === undefined) {
showMsgInfo('Loading, please wait for a moment');
return;
}
// if (macos_info.files.length === 1) {
// window.location.href = '
https://cdn.sipeed.com/maixvision/' + macos_info.version + '/' + macos_info.files[0].url;
// } else {
// showList(macos_info.files);
// }
showList(macos_info.files);
});
getLatestVersion("latest").then(function (data) {
win_info = data;
});
getLatestVersion("latest-linux").then(function (data) {
linux_info = data;
});
getLatestVersion("latest-macos").then(function (data) {
macos_info = data;
});
</script>