ai-server
Our standalone open-source AI server
500K+
A standalone, self-hosted, fast, free and Open Source Artificial Intelligence microserver for any platform, any language. It can be installed locally, required no off-device or out of network data transfer, and is easy to use.
For a full rundown of how to use this image, please read the docs
docker pull codeproject/ai-serverThe Docker GPU version is specific to nVidia's CUDA enabled cards with compute capability >= 6.0. In order to ensure the Docker image has access to the GPU hardware, you need to use the -gpus all flag:
docker run --name CodeProject.AI-Server -d -p 32168:32168 --gpus all ^
--mount type=bind,source=C:\ProgramData\CodeProject\AI\docker\data,target=/etc/codeproject/ai ^
--mount type=bind,source=C:\ProgramData\CodeProject\AI\docker\modules,target=/app/modules ^
codeproject/ai-server:gpu
There is also a native Windows Native installer which runs as a Windows Service and includes GPU support.

AI programming is something every single developer should be aware of. We wanted a fun project we could use to help teach developers and get them involved in AI. We'll be using SenseAI as a focus for articles and exploration to make it fun and painless to learn AI programming.
We got sick of fighting versions and libraries and models and being blocked by tiny annoying things every step of the way. So we put put this together so we could save you the frustration. We'll take care of the housekeeping, you focus on the code.
We also got sick of needing to sign up to potentially expensive services for AI functionality. This is something we need, and by sharing maybe you can use it too, and hopefully add your own modules and improvements along the way.
Here's an example of using the API for scene detection using a simple JavaScript call:
<html>
<body>
Detect the scene in this file: <input id="image" type="file" />
<input type="button" value="Detect Scene" onclick="detectScene(image)" />
<script>
function detectScene(fileChooser) {
var formData = new FormData();
formData.append('image', fileChooser.files[0]);
fetch('http://localhost:5000/v1/vision/detect/scene', {
method: "POST",
body: formData
})
.then(response => {
if (response.ok) response.json().then(data => {
console.log(`Scene is ${data.label}, ${data.confidence} confidence`)
});
});
}
</script>
</body>
</html>
You can include the CodeProject AI installer (or just a link to the latest version of the installer) in your own apps and installers and voila, you have an AI enabled app.
CodeProject AI includes
It can detect stuff!
This CodeProject AI container can
The development version of CodeProject.AI includes other modules including further image processing, text processing and demo modules to help you understand how to add your own modules and to explore the possibilities. We will be constantly expanding the feature list.
This current release works in Visual Studio 2019+ on Windows 10+, and Visual Studio Code on Windows 10+. Ubuntu and macOS (both Intel and Apple Silicon). The current release focuses solely on CPU support, but future releases will include GPU support.
Content type
Image
Digest
sha256:fff2c957f…
Size
2.5 GB
Last updated
over 1 year ago
Requires Docker Desktop 4.37.1 or later.